xdp-project / xdp-tutorial

XDP tutorial
2.33k stars 562 forks source link

configure error in Ubuntu 20.04.6 LTS #368

Open MarsYYP opened 10 months ago

MarsYYP commented 10 months ago

Hi! I am using Ubuntu 20.04.6 LTS , and I set up my enviroment by doing erver step in setup_dependencies.org I use sudo apt install linux-tools-common linux-tools-generic to install bpftool however, after i use ./configure, it give an error message "bpftool doesn't support skeleton generation" It tasks a long time for me to find out that the bpftool installed by apt is v5.4.235 which is fairly old so i download the bpftool v7.2 on bpftool repositories and fix the problem I hope somebody could update the setup_dependencies.org and this issue can help somebody face the same problem Good Luck~

LuisLoureiro2000 commented 10 months ago

Hello,

I have the exact same problem. But how did you download the version v7.2?

I am so stuck on this

greycodee commented 9 months ago

thanks, ubuntu 20.10 same to,this good for me

yangyu66 commented 8 months ago

Thanks, on my 20.04.3 LTS (Focal Fossa) 5.4.0-81-generic have same issue, install bpftool v7.2 on bpftool repositories fixed the issue. @LuisLoureiro2000 just download the binary and replace bpftool (which bpftool) on your machine.

quiver commented 8 months ago

Same here on 22.04. The solution by @yangyu66 fixed the problem.

cwmos commented 5 months ago

As a first time user, it was not clear to me weather this was a fatal error or not. The configure script exited with status code 0. So it would have been nice if it was shown it was fatal.

vaibhavranjith commented 1 month ago

Hey, I was using an AWS EC2 instance. The problem is with the linux tools that are installed, I had to reinstall the headers based on the comments given by the 'bgftool gen' command. It worked for me after I installed linux-tools-6.5.0-1017-aws. Hope this helps.