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: *** [inet-tool] Error 1 #9

Open
zhangbufan opened this issue Dec 8, 2023 · 0 comments
Open

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

zhangbufan opened this issue Dec 8, 2023 · 0 comments

Comments

@zhangbufan
Copy link

[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

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