-
Notifications
You must be signed in to change notification settings - Fork 747
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
Getting flags undefined errors. #357
Comments
Which version of golang are you using? These constants are defined in https://github.com/golang/sys/blob/master/unix/linux/types.go |
i am using 1.6.2 go version go1.6.2 linux/amd64 |
So please upgrade to more recent version. |
I hit this as well - this is because the Makefile gets dependencies via I will update this when I find a version of |
I am also seeing this issue. Interestingly it happens when I use However, my project also uses the Kubernetes edit: this may be because the Kube folks have pinned a specific commit for |
I ran into this as well. For what it's worth, this got me past the error to a successful build in my Docker container (using
YMMV of course. I'm not really certain why this worked correctly, but at this point I've spent too much time on it to care much beyond documenting it here for the next person. 😸 |
Thanks @trevrosen that helped me out! Here's a glide version for those who might be using it for k8s client:
|
Was trying to play with it but go get gives following errors
go get github.com/vishvananda/netlink
github.com/vishvananda/netlink
vishvananda/netlink/bridge_linux.go:22:27: undefined: unix.IFLA_EXT_MASK
vishvananda/netlink/bridge_linux.go:38:9: undefined: unix.IFLA_AF_SPEC
vishvananda/netlink/bridge_linux.go:90:21: undefined: unix.IFLA_AF_SPEC
vishvananda/netlink/link_linux.go:424:23: undefined: unix.IFLA_VFINFO_LIST
vishvananda/netlink/link_linux.go:454:23: undefined: unix.IFLA_VFINFO_LIST
vishvananda/netlink/link_linux.go:484:23: undefined: unix.IFLA_VFINFO_LIST
vishvananda/netlink/link_linux.go:515:23: undefined: unix.IFLA_VFINFO_LIST
vishvananda/netlink/link_linux.go:549:23: undefined: unix.IFLA_VFINFO_LIST
vishvananda/netlink/link_linux.go:596:23: undefined: unix.IFLA_VFINFO_LIST
vishvananda/netlink/link_linux.go:720:23: undefined: unix.IFLA_NET_NS_FD
vishvananda/netlink/link_linux.go:720:23: too many errors
The text was updated successfully, but these errors were encountered: