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

make need latest libbpf #463

Open
ShiLu1211 opened this issue Dec 26, 2024 · 1 comment
Open

make need latest libbpf #463

ShiLu1211 opened this issue Dec 26, 2024 · 1 comment

Comments

@ShiLu1211
Copy link

./configure
libbpf support: submodule v1.4.0
make error like:
/usr/bin/ld: ../libbpf/src/libbpf.a(libbpf.o): warning: relocation against `stderr@@GLIBC_2.2.5' in read-only section `.text'
/usr/bin/ld: ../libbpf/src/libbpf.a(libbpf.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status

replace lib/libbpf with latest version
./configure
libbpf support: submodule v1.6.0
make success
@tohojo
Copy link
Member

tohojo commented Jan 2, 2025 via email

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

2 participants