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 error ARM64 #60

Open
dh1tw opened this issue Sep 10, 2017 · 1 comment
Open

compilation error ARM64 #60

dh1tw opened this issue Sep 10, 2017 · 1 comment

Comments

@dh1tw
Copy link

dh1tw commented Sep 10, 2017

Hi,

when I compile my project (using hashicorp/mdns) on ARM64 I get the following compilation error:

[...]

# github.com/hashicorp/go.net/ipv4
../../hashicorp/go.net/ipv4/sockopt_asmreqn_unix.go:20:12: undefined: getsockopt
../../hashicorp/go.net/ipv4/sockopt_asmreqn_unix.go:41:42: undefined: setsockopt
../../hashicorp/go.net/ipv4/sockopt_unix.go:29:12: undefined: getsockopt
../../hashicorp/go.net/ipv4/sockopt_unix.go:51:42: undefined: setsockopt
# github.com/hashicorp/go.net/ipv6
../../hashicorp/go.net/ipv6/sockopt_rfc3493_unix.go:105:42: undefined: setsockopt
../../hashicorp/go.net/ipv6/sockopt_rfc3493_unix.go:114:42: undefined: setsockopt
../../hashicorp/go.net/ipv6/sockopt_rfc3542_unix.go:54:12: undefined: getsockopt
../../hashicorp/go.net/ipv6/sockopt_rfc3542_unix.go:75:12: undefined: getsockopt
../../hashicorp/go.net/ipv6/sockopt_rfc3542_unix.go:82:42: undefined: setsockopt

[...]
@nolotz
Copy link

nolotz commented Jan 11, 2025

Same here! In my case, the problem was caused by using an older version. I fixed it by temporarily forking the project and updating the module file to use the latest Go version.

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

2 participants