We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
system platform: macos 10.14 go version: go1.11.2 darwin/amd64 when run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o netgrap problem: ./ng.go:71:14: undefined: pcap.FindAllDevs ./ng.go:101:18: undefined: pcap.OpenOffline ./ng.go:116:17: undefined: pcap.OpenLive ./ng.go:116:57: undefined: pcap.BlockForever
The text was updated successfully, but these errors were encountered:
Cross compilation is not tested. So, you'd better compile it in a linux platform instead of cross compile it in a mac.
Sorry, something went wrong.
No branches or pull requests
system platform: macos 10.14
go version: go1.11.2 darwin/amd64
when run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o netgrap
problem:
./ng.go:71:14: undefined: pcap.FindAllDevs
./ng.go:101:18: undefined: pcap.OpenOffline
./ng.go:116:17: undefined: pcap.OpenLive
./ng.go:116:57: undefined: pcap.BlockForever
The text was updated successfully, but these errors were encountered: