Replies: 3 comments 19 replies
-
Kernel headers are specific to the kernel you are using. |
Beta Was this translation helpful? Give feedback.
-
The headers that you need are of the target device, not of your host. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I don't remember having these errors |
Beta Was this translation helpful? Give feedback.
-
Hi,Thank you for giving us your help!
The bpf source code is not given in bpfroid, in
can be obtained successfully.
But KERN_HEADERS is not easy to get, as you mentioned
I got it through
Use
make headers_install
to mention it, there are always some files missing, such as:generated/autoconf, uapi/linux/ptrace.h
It is possible to give a complete kernel-headers that you use when compiling, thank you.
Beta Was this translation helpful? Give feedback.
All reactions