You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto generated libbpf_version.h could be causing build issue like:
$ make
CC [U] kernel/bpf/preload/iterators/iterators.o
In file included from ../tools/lib/bpf/libbpf.h:20,
from ../kernel/bpf/preload/iterators/iterators.c:10:
../tools/lib/bpf/libbpf_common.h:13:10: fatal error: libbpf_version.h: No such file or directory
13 | #include "libbpf_version.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [../scripts/Makefile.userprogs:43: kernel/bpf/preload/iterators/iterators.o] Error 1
Fix it by force rebuilding libbpf.
Fixes: 0b46b75 ("libbpf: Add LIBBPF_DEPRECATED_SINCE macro for scheduling API deprecations")
Suggested-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
0 commit comments