bpf-developer-tutorial icon indicating copy to clipboard operation
bpf-developer-tutorial copied to clipboard

compile 13-tcpconnlat error

Open zplinuxlover opened this issue 1 year ago • 3 comments

OS: entOS Linux release 7.6.1810 (Core) GCC: gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)

when I compile 13-tcpconnlat, I got the following error

BPFTOOL bpftool/bootstrap/bpftool ... libbfd: [ OFF ] ... clang-bpf-co-re: [ OFF ] ... llvm: [ OFF ] ... libcap: [ OFF ] make[1]: *** No rule to make target /data/bpf-developer-tutorial/src/third_party/bpftool/libbpf/src/hashmap .h', needed by /data/bpf-developer-tutorial/src/13-tcpconnlat/.output/bpftool/bootstrap/libbpf/include/bpf/ hashmap.h'. Stop. make: *** [/data/bpf-developer-tutorial/src/13-tcpconnlat/.output/bpftool/bootstrap/bpftool] Error 2

how to resolve the problem?

zplinuxlover avatar Mar 13 '24 13:03 zplinuxlover

I met the same issue, so do you have found any solution?

YkieWang avatar Aug 27 '24 09:08 YkieWang