Checking Module.symvers failed with error: No such file or directory

Question

stap -g -a mips -p4 -B CROSS_COMPILE=mipsel-linux- \
         -m hello -e 'probe begin {print("hello! \n") exit()}'

Checking "/media/baifudong/grecale/ingenic/t40/buildroot/output/x70/build/linux-HEAD/Module.symvers" failed with error: No such file or directory
Ensure kernel development headers & makefiles are installed

Answer

CONFIG_MODULES=y
0%