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

compile 13-tcpconnlat error #114

Open
zplinuxlover opened this issue Mar 13, 2024 · 3 comments
Open

compile 13-tcpconnlat error #114

zplinuxlover opened this issue Mar 13, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@zplinuxlover
Copy link

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 zplinuxlover added the bug Something isn't working label Mar 13, 2024
@YkieWang
Copy link

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

@huloves
Copy link

huloves commented Jan 30, 2025

Check the bpftool/libbpf path. This may be an empty directory. You can copy a libbpf project to overwrite this empty directory.

@Officeyutong
Copy link
Contributor

Update the submodule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants