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

Ubuntu 22.04

Open 06063004 opened this issue 2 years ago • 2 comments

root@R730XD:/xdp-tools# make install sh configure Found clang binary 'clang' with version 14 (from 'Ubuntu clang version 14.0.0-1ubuntu1.1') bpftool doesn't support skeleton generation make: *** [Makefile:49: config.mk] Error 1 root@R730XD:~/xdp-tools#

06063004 avatar Oct 10 '23 23:10 06063004

As the error message says, bpftool doesn't support the features required - you'll need to install a newer bpftool version...

tohojo avatar Oct 11 '23 10:10 tohojo

Hi, I think it could be another Ubuntu -related issue, that configure fails to recognize. Installing bpftool isn't enough:

# bpftool
WARNING: bpftool not found for kernel 5.15.0-86

  You may need to install the following packages for this specific kernel:
    linux-tools-5.15.0-86-generic
    linux-cloud-tools-5.15.0-86-generic

  You may also want to install one of the following packages to keep up to date:
    linux-tools-generic
    linux-cloud-tools-generic

(after installing the mentioned dependencies, it works as expected (gen is supported))

pettai avatar Oct 11 '23 11:10 pettai