fatal error: clang/Basic/FileManager.h: No such file or directory
NobinPegasus opened this issue · comments
Unable to build the bcc.
The error I'm facing.
[ 0%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/loader.cc.o
/home/pegasus/Documents/ssl-ebpf-projects/snoopy/bcc/src/cc/frontends/clang/loader.cc:35:10: fatal error: clang/Basic/FileManager.h: No such file or directory
35 | #include <clang/Basic/FileManager.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
My system configuration.
pegasus@pegasus:~$ uname -a
Linux pegasus 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
pegasus@pegasus:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo