Skip to content
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

Compilation failure with go 1.6 #94

Closed
erectcrested opened this issue Dec 20, 2018 · 4 comments
Closed

Compilation failure with go 1.6 #94

erectcrested opened this issue Dec 20, 2018 · 4 comments
Assignees

Comments

@erectcrested
Copy link

Building on x86-64 ubuntu server 16.04.04 with fails:


nanovms@nanovms:~/ops$ make deps
go get github.com/spf13/cobra
go get github.com/vishvananda/netlink
# golang.org/x/sys/unix
../go/src/golang.org/x/sys/unix/ioctl.go:18: undefined: runtime.KeepAlive
../go/src/golang.org/x/sys/unix/ioctl.go:28: undefined: runtime.KeepAlive
Makefile:22: recipe for target 'deps' failed
make: *** [deps] Error 2


nanovms@nanovms:~/ops$ go version
go version go1.6.2 linux/amd64

@eyberg
Copy link
Contributor

eyberg commented Dec 20, 2018

i asked him to open this issue for documentation reasons - we should throw this in the docs that chad is writing up - make a note that as of right now you need at least go 1.10 or go 1.11 cause of the 'x' packages

@eyberg
Copy link
Contributor

eyberg commented Dec 20, 2018

looks like it's go 1.7 and above golang/go#26576

@eyberg
Copy link
Contributor

eyberg commented Dec 20, 2018

@cbarraford might just make a note in docs that if building from source min. go requirement is 1.7

@cbarraford
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants