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

build problem GOARCH=mipsle #26

Open
areqq opened this issue Mar 21, 2021 · 1 comment
Open

build problem GOARCH=mipsle #26

areqq opened this issue Mar 21, 2021 · 1 comment

Comments

@areqq
Copy link

areqq commented Mar 21, 2021

GOOS=linux GOARCH=mipsle go build -ldflags '-w -s -X github.com/barnybug/go-cast.Version=' -o release/cast-linux-mipsle ./cmd/cast

github.com/hashicorp/go.net/ipv6

../../work/pkg/mod/github.com/hashicorp/[email protected]/ipv6/sockopt_rfc3493_unix.go:105:42: undefined: setsockopt
../../work/pkg/mod/github.com/hashicorp/[email protected]/ipv6/sockopt_rfc3493_unix.go:114:42: undefined: setsockopt
../../work/pkg/mod/github.com/hashicorp/[email protected]/ipv6/sockopt_rfc3542_unix.go:54:12: undefined: getsockopt
../../work/pkg/mod/github.com/hashicorp/[email protected]/ipv6/sockopt_rfc3542_unix.go:75:12: undefined: getsockopt
../../work/pkg/mod/github.com/hashicorp/[email protected]/ipv6/sockopt_rfc3542_unix.go:82:42: undefined: setsockopt

github.com/hashicorp/go.net/ipv4

../../work/pkg/mod/github.com/hashicorp/[email protected]/ipv4/sockopt_asmreqn_unix.go:20:12: undefined: getsockopt
../../work/pkg/mod/github.com/hashicorp/[email protected]/ipv4/sockopt_asmreqn_unix.go:41:42: undefined: setsockopt
../../work/pkg/mod/github.com/hashicorp/[email protected]/ipv4/sockopt_unix.go:29:12: undefined: getsockopt
../../work/pkg/mod/github.com/hashicorp/[email protected]/ipv4/sockopt_unix.go:51:42: undefined: setsockopt

@areqq
Copy link
Author

areqq commented Mar 21, 2021

You should do this change:
go.mod

- github.com/hashicorp/go.net v0.0.0-20151006203346-104dcad90073
- github.com/hashicorp/mdns v0.0.0-20151206042412-9d85cf22f9f8
- github.com/miekg/dns v0.0.0-20161006100029-fc4e1e2843d8
+ github.com/hashicorp/mdns v1.0.3
+ github.com/miekg/dns v1.1.27
- golang.org/x/net v0.0.0-20161013035702-8b4af36cd21a
+ golang.org/x/net v0.0.0-20190923162816-aa69164e4478

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

1 participant