make error
- Dominant language
- C
- Stars
- 2.5k
- Forks
- 239
- PR merge metrics
- No merged PRs in 30d
Description
[root@glb-director-xdp]# make
make -C xdp-root-shim/
make[1]: Entering directory `/root/glb-director/src/glb-director-xdp/xdp-root-shim'
cc xdp-root-shim.c -o xdp-root-shim -lbpf -lsystemd
xdp-root-shim.c:36:21: fatal error: bpf/bpf.h: No such file or directory
#include
^
compilation terminated.
make[1]: *** [xdp-root-shim] Error 1
make[1]: Leaving directory `/root/glb-director/src/glb-director-xdp/xdp-root-shim'
make: *** [all] Error 2
Contributor guide
Research direction
Start by running make and inspect xdp-root-shim/xdp-root-shim.c, especially its bpf/bpf.h include. Determine why the required header is unavailable in the build environment, then verify that make completes successfully for xdp-root-shim.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system, networking
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100