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

Procmon Build Fails #26

Open
mbluett88 opened this issue Jul 18, 2020 · 3 comments
Open

Procmon Build Fails #26

mbluett88 opened this issue Jul 18, 2020 · 3 comments
Labels
BPF related to BPF/eBPF Build related to building procmon

Comments

@mbluett88
Copy link

In steps 2 & 3, the make fails because FlexLexer.h is missing.

@mbluett88
Copy link
Author

Also bpf.h cannot be found.

@jahabibi
Copy link
Collaborator

@mbluett88 Can you provide information of what your environment is? Specifically what lsb_release -a and uname -r return?

@jahabibi jahabibi added BPF related to BPF/eBPF Build related to building procmon labels Jul 21, 2020
@jamespeace
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BPF related to BPF/eBPF Build related to building procmon
Projects
None yet
Development

No branches or pull requests

3 participants