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

Compile example failed #286

Open
qiffang opened this issue Mar 28, 2021 · 1 comment
Open

Compile example failed #286

qiffang opened this issue Mar 28, 2021 · 1 comment

Comments

@qiffang
Copy link

qiffang commented Mar 28, 2021

I want to build examples by go build command in docker which the docker was installed bcc

# github.com/iovisor/gobpf/bcc
/root/go/pkg/mod/github.com/iovisor/[email protected]/bcc/module.go:32:10: fatal error: bcc/
bpf_common.h: No such file or directory
 #include <bcc/bpf_common.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
@chenhengqi
Copy link

You need to install libbcc.

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