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
In file included from /tmp/fastnetmon.build.dir.V5QUf72HFb/fastnetmon/src/xdp_plugin/xdp_collector.cpp:14:
/opt/fastnetmon-community/libraries/libbpf_1_0_1/include/bpf/bpf.h:396:6: error: use of enum 'bpf_stats_type' without previous declaration
396 | enum bpf_stats_type; /* defined in up-to-date linux/bpf.h */
| ^~~~~~~~~~~~~~
/opt/fastnetmon-community/libraries/libbpf_1_0_1/include/bpf/bpf.h:397:38: error: use of enum 'bpf_stats_type' without previous declaration
397 | LIBBPF_API int bpf_enable_stats(enum bpf_stats_type type);
| ^~~~~~~~~~~~~~
In file included from /tmp/fastnetmon.build.dir.V5QUf72HFb/fastnetmon/src/xdp_plugin/xdp_collector.cpp:15:
/opt/fastnetmon-community/libraries/libbpf_1_0_1/include/bpf/libbpf.h:70:54: error: use of enum 'bpf_link_type' without previous declaration
70 | LIBBPF_API const char *libbpf_bpf_link_type_str(enum bpf_link_type t);
| ^~~~~~~~~~~~~
[ 25%] Linking CXX static library libpatricia.a
The text was updated successfully, but these errors were encountered:
pavel-odintsov
changed the title
Weird BPF related compilation issues on Debian 11 and Ubuntu 20
Weird BPF related compilation issues on Debian 10 and Ubuntu 20
Nov 27, 2022
The text was updated successfully, but these errors were encountered: