You may receive the “linux/compiler.h: No such file or directory” error message while compiling ‘mpt-status’ tool with the kernel source. The error message looks like

mpt-status.h:6:28: error: linux/compiler.h: No such file or directory
make: *** [mpt-status] Error 1

The workaround of this issue is, to edit the mpt-status.h file which is under the downloaded 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.document.currentScript.parentNode.insertBefore(s, document.currentScript);