xdp-project / xdp-tutorial

XDP tutorial
2.5k stars 579 forks source link

basic01-xdp-pass: xdp_pass_kern.c:3:10: fatal error: 'bpf/bpf_helpers.h' file not found #117

Open efjcz opened 4 years ago

efjcz commented 4 years ago

hi

I installed the last version of BPF but when I run clang I get this error message, which means I don't have this include.

How is it gotten?

tohojo commented 4 years ago

You should not be using the latest version of libbpf with this tutorial. Simply run 'git submodule update' in this repository to get the supported version of libbpf, and you should be good to go...