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

CPU arch for tools/bpftool #53

Closed
JackyYin opened this issue Nov 20, 2021 · 2 comments
Closed

CPU arch for tools/bpftool #53

JackyYin opened this issue Nov 20, 2021 · 2 comments

Comments

@JackyYin
Copy link
Contributor

JackyYin commented Nov 20, 2021

Currently the executable tools/bpftool is a x86_64 ELF.

How am I suppose to compile the examples/c on an aarch64 computer?

Could somebody help me please? Thanks.

@anakryiko
Copy link
Member

You can override which bpftool binary to use with BPFTOOL:

make BPFTOO=/path/to/bpftool

@JackyYin
Copy link
Contributor Author

JackyYin commented Nov 23, 2021

Yes, seems like I'll have to install libbpf to get the binary bpftool, then compile with:

BPFTOO=$(which bpftool) make

Thanks for your help.

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

2 participants