-
Notifications
You must be signed in to change notification settings - Fork 229
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 with libbpf 1.0.1: undefined reference to `bpf_get_link_xdp_id' #48
Comments
tstromberg
changed the title
compile failure with libbpf 1.0.1: undefined reference to `bpf_get_link_xdp_id'
make with libbpf 1.0.1: undefined reference to `bpf_get_link_xdp_id'
Dec 15, 2022
libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and bpf_set_link_xdp_fd modify TripleCross/src/user/include/modules/xdp.h
|
void0red
added a commit
to void0red/TripleCross
that referenced
this issue
Apr 7, 2024
1. use `-fno-stack-protector` to remove `__stack_chk_fail` symbol 2. use `-L` to specify libbpf library paths Signed-off-by: void0red <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TripleCross does not compile out of the box with ArchLinux today, due to it's inclusion of libbpf 1.0.1:
I did a little bit of digging around and found it changed here:
libbpf/libbpf@8fbe7ee#diff-5fcfe04c9d2ca76e41ade16dc6283ffc7723ed4da4e209153a776bee4a86abadL359
The text was updated successfully, but these errors were encountered: