eunomia-bpf/wasm-bpf

[BUG]Running any example gives the error 'bpf/libbpf.h' file not found

codoerrrrrrrrrrrrrrr opened this issue · 4 comments

example:bootstrap
./bootstrap.skel.h:9:10: fatal error: 'bpf/libbpf.h' file not found
#include <bpf/libbpf.h>
^~~~~~~~~~~~~~
1 warning and 1 error generated.
make: *** [Makefile:64:bootstrap.wasm] 错误 1

example:runqlat
./runqlat.skel.h:9:10: fatal error: 'bpf/libbpf.h' file not found
#include <bpf/libbpf.h>
^~~~~~~~~~~~~~
1 error generated.
make: *** [Makefile:64:runqlat.wasm] 错误 1

Did you update submodules?

Did you update submodules?您是否更新了子模块?

I'm sorry, I'm new to this. Can you be more specific?thanks

Did you update submodules?您是否更新了子模块?

I'm sorry, I'm new to this. Can you be more specific?thanks

Clone the repo again with argument --recursive

Did you update submodules?您是否更新了子模块?

I'm sorry, I'm new to this. Can you be more specific?thanks对不起,我是新手。你能说得更具体一点吗?谢谢

Clone the repo again with argument --recursive使用参数 --recursive 再次克隆存储库

Solved. Thank you for your help.