xdp-tutorial
xdp-tutorial copied to clipboard
configure error in Ubuntu 20.04.6 LTS
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~
Hello,
I have the exact same problem. But how did you download the version v7.2?
I am so stuck on this
thanks, ubuntu 20.10 same to,this good for me
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.
Same here on 22.04. The solution by @yangyu66 fixed the problem.
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.
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.