Pornphawit Samerkit
Pornphawit Samerkit
you can give discord link?
i have use command git clone --recursive https://github.com/gamemann/XDP-Firewall.git and now i try use update cd modules/xdp-tools/lib/libbpf git pull origin master same error /usr/bin/ld: modules/xdp-tools/lib/libxdp/sharedobjs/libxdp.o: in function `bpf_program__insn_cnt': /root/XDP-Firewall/modules/xdp-tools/lib/libxdp/libxdp.c:310: undefined reference...
root@filter:~/XDP-Firewall# uname -r 5.15.0-130-generic root@filter:~/XDP-Firewall# clang -v Ubuntu clang version 14.0.0-1ubuntu1.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/11 Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/12 Selected GCC...
root@filter:~/XDP-Firewall# ./install.sh --libxdp --no-static Building LibXDP... make -C modules/xdp-tools libxdp make[1]: Entering directory '/root/XDP-Firewall/modules/xdp-tools' lib libxdp make[1]: Leaving directory '/root/XDP-Firewall/modules/xdp-tools' Installing LibXDP... make -C modules/xdp-tools/lib/libbpf/src install make[1]: Entering directory '/root/XDP-Firewall/modules/xdp-tools/lib/libbpf/src'...
and update no-static can't use all command xdpfw: error while loading shared libraries: libbpf.so.1: cannot open shared object file: No such file or directory
ok ./install --no-static build libbpf from git LD_LIBRARY_PATH=/usr/local/lib:/usr/lib64 xdpfw it work but wait for test performance