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

ebpf obj isn't compatible with libbpf v1.0+ #913

Open
q9good opened this issue Mar 28, 2024 · 0 comments
Open

ebpf obj isn't compatible with libbpf v1.0+ #913

q9good opened this issue Mar 28, 2024 · 0 comments

Comments

@q9good
Copy link

q9good commented Mar 28, 2024

Hi, I create a proj from socket_filter template.
After compiling it to ebpf obj, I use bpftool to load it to kernel, but failed for

'libbpf: elf: legacy map definitions in 'maps' section are not supported by libbpf v1.0+' .

Here is my machine info:

# uname -a
Linux test-ThinkPad-X1 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
# bpftool -V
bpftool v7.4.0
using libbpf v1.4
features: llvm
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

1 participant