eunomia-bpf / bpf-developer-tutorial

eBPF Developer Tutorial: Learning eBPF Step by Step with Examples
https://eunomia.dev/tutorials/
MIT License
2.65k stars 373 forks source link

compile 13-tcpconnlat error #114

Open zplinuxlover opened 8 months ago

zplinuxlover commented 8 months ago

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?

YkieWang commented 3 months ago

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