xdp-project / xdp-tools

Utilities and example programs for use with XDP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An error occurred when compiling xdp-tools on debian11

a783706 opened this issue · comments

1

debian11
5.19.0-0.deb11.2-amd64
bpftool v7.2.0
using libbpf v1.2
features: llvm, skeletons

Thanks.

Which version of xdp-tools? And could you please post the output of ./configure?

2
is the latest xdp-tools,hello

Erm, you said you are using libbpf 1.2, but the configure script says 0.3.0; how are you using libbpf 1.2?

7BA2B55E-B0AE-457F-8DB2-F3264D7CCE78

hello,
I'm indeed using libbpf v1.2, I don't know why the configure script shows version 0.3.0

I did "apt install libbpf-dev" a long time ago, does that have something to do with it?

Ah. That's just the version of libbpf that bpftool is built against; the xdp-tools configure is picking up the system version (from the libbpf-dev package). It's a bit weird that compilation fails, then, though... How did you install libbpf 1.2 / bpftool?