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

Tests failure: identifier may conflict with identifiers generated by cgo #32

Open
eclipseo opened this issue May 28, 2019 · 0 comments
Open

Comments

@eclipseo
Copy link

With Go 1.12.5 on Fedora Rawhide x86_64, commit 00e1103:

Testing    in: /builddir/build/BUILD/gopcap-00e11033259acb75598ba416495bb708d864a010/_build/src
         PATH: /builddir/build/BUILD/gopcap-00e11033259acb75598ba416495bb708d864a010/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/gopcap-00e11033259acb75598ba416495bb708d864a010/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags "-X github.com/akrennmair/gopcap/version=0 -X github.com/akrennmair/gopcap/version.commit=00e11033259acb75598ba416495bb708d864a010 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
      testing: github.com/akrennmair/gopcap
github.com/akrennmair/gopcap
# github.com/akrennmair/gopcap
./pcap.go:129:13: identifier "_Ctype_struct_pcap_stat" may conflict with identifiers generated by cgo
./pcap.go:142:10: identifier "_Ctype_struct_bpf_program" may conflict with identifiers generated by cgo
./pcap.go:216:34: identifier "_Ctype_struct_pcap_addr" may conflict with identifiers generated by cgo
./pcap.go:219:56: identifier "_Ctype_struct_pcap_addr" may conflict with identifiers generated by cgo
FAIL	github.com/akrennmair/gopcap [build failed]
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

Successfully merging a pull request may close this issue.

1 participant