Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred when compiling xdp-tools on debian11 #321

Open
a783706 opened this issue May 10, 2023 · 6 comments
Open

An error occurred when compiling xdp-tools on debian11 #321

a783706 opened this issue May 10, 2023 · 6 comments

Comments

@a783706
Copy link

a783706 commented May 10, 2023

1

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

Thanks.

@tohojo
Copy link
Member

tohojo commented May 10, 2023

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

@a783706
Copy link
Author

a783706 commented May 10, 2023

2
is the latest xdp-tools,hello

@a783706
Copy link
Author

a783706 commented May 10, 2023

9B7E03B0-A610-4290-87D8-7EA1B909A23C

@tohojo
Copy link
Member

tohojo commented May 10, 2023

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

@a783706
Copy link
Author

a783706 commented May 11, 2023

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?

@tohojo
Copy link
Member

tohojo commented May 11, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants