xdp-tutorial icon indicating copy to clipboard operation
xdp-tutorial copied to clipboard

configure error in Ubuntu 20.04.6 LTS

Open MarsYYP opened this issue 1 year ago • 6 comments

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~

MarsYYP avatar Aug 12 '23 08:08 MarsYYP

Hello,

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

I am so stuck on this

LuisLoureiro2000 avatar Aug 20 '23 16:08 LuisLoureiro2000

thanks, ubuntu 20.10 same to,this good for me

greycodee avatar Sep 16 '23 09:09 greycodee

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.

yangyu66 avatar Oct 22 '23 20:10 yangyu66

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

quiver avatar Oct 26 '23 08:10 quiver

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.

cwmos avatar Jan 18 '24 11:01 cwmos

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.

vaibhavranjith avatar May 21 '24 14:05 vaibhavranjith