Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

../../iovisor/iomodules/hover/bpf/bpf_module.go:32:28: fatal error: bcc/bpf_common.h: No such file or directory #24

Open
mnshrr opened this issue May 12, 2020 · 0 comments

Comments

@mnshrr
Copy link

mnshrr commented May 12, 2020

ebpf@ebpf-VirtualBox:~/go/src/github.com/vishvananda/netlink$ go get github.com/iovisor/iomodules/hover

github.com/iovisor/iomodules/hover/bpf

../../iovisor/iomodules/hover/bpf/bpf_module.go:32:28: fatal error: bcc/bpf_common.h: No such file or directory
compilation terminated.
ebpf@ebpf-VirtualBox:~/go/src/github.com/vishvananda/netlink$

Any idea on this error, changing to #include <bcc/bcc_common.h> leads to errors like:
ebpf@ebpf-VirtualBox:~/go/src/github.com/vishvananda/netlink$ go get github.com/iovisor/iomodules/hover

github.com/iovisor/iomodules/hover/bpf

../../iovisor/iomodules/hover/bpf/bpf_module.go:188:8: could not determine kind of name for C.bpf_prog_load

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant