xdp-tutorial icon indicating copy to clipboard operation
xdp-tutorial copied to clipboard

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

Open efjcz opened this issue 5 years ago • 1 comments

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?

efjcz avatar Apr 06 '20 18:04 efjcz

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...

tohojo avatar Apr 06 '20 20:04 tohojo