-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wont compile #28
Comments
What version of Go are you using? Sent from my iPhone
|
go version go1.2.1 linux/amd64 |
sync.Pool was introduced in Go 1.3. The simplest solution is to upgrade to the latest version of Go. Which is 1.4.2.
|
I had this same problem and then i upgraded to 1.5.1and now i have the following error. anyone have some insight? ../../stretchr/codecs/msgpack/msgpack_codec.go:5: import /root/go/pkg/linux_386/github.com/stretchr/codecs/constants.a: object is [linux 386 go1.2.1 X:none] expected [linux 386 go1.5.1 X:none] followup: after downgrading to 1.3.1, i'm still getting the error. so im currently choosing from this compile error, or OP's compile error! 2nd followup: i am completely avoiding these problems by using "go build -a" . |
Every time I try to compile I get this issue. I am not using the below package but it looks like you are.
github.com/ugorji/go/codec
../../ugorji/go/codec/encode.go:533: undefined: sync.Pool
../../ugorji/go/codec/encode.go:1219: undefined: sync.Pool
The text was updated successfully, but these errors were encountered: