Closed samuelsh closed 4 years ago
Short Answer
Changing this line defining the kernel header path in code/Makefile
to point to the kernel headers for the running kernel should solve the issue.
Long Answer Make is unable to locate the header files for the current kernel. CrashMonkey compiles a kernel module using an out of tree build strategy so that developers don't have to clone the entire Linux kernel source. However, header files for the current kernel are still required for compilations.
For Ubuntu systems, one of the places these header files can be found is at /lib/modules/<kernel version>/build
. I am not familiar with where CentOS keeps these header files, so I can't tell you the exact path that is required in your case.
System: