While compiling ‘mpt-status’ tool with the kernel source, you may receive a ‘linux/compiler.h: No such file or directory’ message.
mpt-status.h:6:28:error: linux/compiler.h: No such file or directory make: *** [mpt-status] Error 1
The reason is the missing compiler.h header file which isn’t all that necessary. The fix is to edit the mpt-status.h file which is under the extracted directory
# vi mpt-status.h
and remove the line which states
#include <linux/compiler.h>
Save the file and you should be able to compile ‘mpt-status’ using “make” with the kernel source.
Comments are closed.