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

fatal error: bcc/bcc_common.h: No such file or directory #306

Open
dafu-wu opened this issue Dec 19, 2021 · 2 comments
Open

fatal error: bcc/bcc_common.h: No such file or directory #306

dafu-wu opened this issue Dec 19, 2021 · 2 comments

Comments

@dafu-wu
Copy link

dafu-wu commented Dec 19, 2021

go
module bash_readline

github.com/iovisor/gobpf/bcc

../../../../go/pkg/mod/github.com/iovisor/gobpf@v0.2.0/bcc/module.go:32:10: fatal error: bcc/bcc_common.h: No such file or directory
#include <bcc/bcc_common.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.

other info:
vagrant@vagrant:~/gobpf/examples/bcc/bash_readline$ uname -a
Linux vagrant 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

I'm a newbie,could someone help me?

@marceloamaral
Copy link

Is there any solution for this error?

@alexcmms
Copy link

I've never used this package before so am no expert, but yum install bcc-devel has at least gotten me past the above error.

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

3 participants