-
Notifications
You must be signed in to change notification settings - Fork 166
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
/bpftrace/include/clang_workarounds.h:14:10: fatal error: 'linux/types.h' file not found #182
Comments
I met the same thing. my OS is centos7.9 , I use the docker image of bpftace. run this docker images with command and insert bpftrace command in docker console the console show /bpftrace/include/clang_workarounds.h:14:10; fatal error: 'linux/types.h' file not found but But the docker image works normally on another centos7.9 machine . |
I had to do |
CentOS7 try install i686 components of GCC. It works for me. |
cat > patch.json << EOF kernel version: 5.10.218-208.862.amzn2.x86_64 It works for me. |
hitting the same issue in AKS running AzureLinux Update - works for Ubuntu with patch |
cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
Kubernetes version v1.16.15
When I type the following command:
kubectl-trace run node/node1 -f tcpconnect.bt (https://github.com/iovisor/bpftrace/blob/master/tools/tcpconnect.bt)
trace e7bf7257-8d7f-4003-b035-fb47b553b978 created
kubectl-trace logs e7bf7257-8d7f-4003-b035-fb47b553b978
if your program has maps to print, send a SIGINT using Ctrl-C, if you want to interrupt the execution send SIGINT two times
/bpftrace/include/clang_workarounds.h:14:10: fatal error: 'linux/types.h' file not found
exit status 1
The text was updated successfully, but these errors were encountered: