[BUG] Unable to build on macos with `build-wo-libbpf` flag
hp77-creator opened this issue · 0 comments
hp77-creator commented
Describe the bug
Trying to build bpftime
with make build-wo-libbpf
is giving following error:
ld: unknown options: --version-script=/Users/hp77/repos/bpftime-hp/runtime/agent/agent.version
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [runtime/agent/libbpftime-agent.dylib] Error 1
make[2]: *** [runtime/agent/CMakeFiles/bpftime-agent.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [build-wo-libbpf] Error 2
To Reproduce
Steps to reproduce the behavior:
On a macos(aarch64) system, do the following steps:
cd bpftime
make clean
make build-wo-libbpf
Expected behavior
It should have built successfully