Closed mbluett88 closed 2 months ago
Also bpf.h cannot be found.
@mbluett88 Can you provide information of what your environment is? Specifically what lsb_release -a
and uname -r
return?
Got the same error.
dennis@dennis-XPS-13-9370:~/workspace/Procmon-for-Linux/build$make
[ 78%] Building CXX object src/configuration/CMakeFiles/configuration-static.dir/procmon_configuration.cpp.o
In file included from /home/dennis/workspace/Procmon-for-Linux/src/configuration/procmon_configuration.h:21,
from /home/dennis/workspace/Procmon-for-Linux/src/configuration/procmon_configuration.cpp:4:
/home/dennis/workspace/Procmon-for-Linux/src/configuration/../tracer/ebpf/ebpf_tracer_engine.h:6:10: fatal error: bcc/BPF.h: No such file or directory
#include <bcc/BPF.h>
^~~~~~~~~~~
compilation terminated.
src/configuration/CMakeFiles/configuration-static.dir/build.make:81: recipe for target 'src/configuration/CMakeFiles/configuration-static.dir/procmon_configuration.cpp.o' failed
make[2]: *** [src/configuration/CMakeFiles/configuration-static.dir/procmon_configuration.cpp.o] Error 1
CMakeFiles/Makefile2:2532: recipe for target 'src/configuration/CMakeFiles/configuration-static.dir/all' failed
make[1]: *** [src/configuration/CMakeFiles/configuration-static.dir/all] Error 2
Makefile:181: recipe for target 'all' failed
make: *** [all] Error 2
dennis@dennis-XPS-13-9370:~/workspace/Procmon-for-Linux$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
dennis@dennis-XPS-13-9370:~/workspace/Procmon-for-Linux$ uname -r
5.3.0-62-generic
Hi - We've removed the dependency on BCC and updated our build instructions. Please give it a go and let us know.
In steps 2 & 3, the make fails because FlexLexer.h is missing.