inet-tool icon indicating copy to clipboard operation
inet-tool copied to clipboard

make: *** [inet-tool] Error 1

Open zhangbufan opened this issue 1 year ago • 0 comments

[root@VM-0-14-tencentos /tmp/inet-tool-master]# make clang -g -Wall -Wextra -O2

-I/usr/include/x86_64-linux-gnu -I/usr/include -I/usr/include
src/tbpf.c
src/main.c
src/inet-commands.c
src/utils.c
inet-ebpf.c
src/inet-scm.c
/usr/lib64/libbpf.a
-D INET_PROGRAM_VERSION="inet_d6a7dd51"
-lelf -lz
-o inet-tool /tmp/inet-commands-4cc6a3.o:(.data+0x88): undefined reference to bpf_insn_sk_lookup' /tmp/inet-commands-4cc6a3.o:(.data+0x90): undefined reference to bpf_insn_sk_lookup_cnt' /tmp/inet-commands-4cc6a3.o:(.data+0x98): undefined reference to `bpf_reloc_sk_lookup' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [inet-tool] Error 1

zhangbufan avatar Dec 08 '23 11:12 zhangbufan