Compile example failed
Open
- Dominant language
- C
- Stars
- 2.2k
- Forks
- 308
- PR merge metrics
- No merged PRs in 30d
Description
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/gobpf@v0.0.0-20180826141936-4ece6c56f936/bcc/module.go:32:10: fatal error: bcc/
bpf_common.h: No such file or directory
#include
^~~~~~~~~~~~~~~~~~
compilation terminated.
```
Contributor guide
Research direction
Start with the Docker environment and the `go build` command that produces the error, then inspect the referenced `bcc/module.go` include and how the BCC headers are made available. Done means the examples build successfully in the stated Docker setup without the missing `bcc/bpf_common.h` error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100