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

Ubuntu 22.04 #370

Open
06063004 opened this issue Oct 10, 2023 · 2 comments
Open

Ubuntu 22.04 #370

06063004 opened this issue Oct 10, 2023 · 2 comments

Comments

@06063004
Copy link

06063004 commented Oct 10, 2023

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#

@tohojo
Copy link
Member

tohojo commented Oct 11, 2023

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

@pettai
Copy link

pettai commented Oct 11, 2023

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))

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

3 participants