compiler-gcc.h:104:30: fatal error: linux/compiler-gcc5.h: No such file or directory
这是kernelmodule编译的时候遇到的gcc兼容性问题可以通过#pragrammessage去打印一些预编译信息。(遇到问题,解决问题的关键是理性的观察分析问题,提出假设和尝试解决)Infileincludedfrominclude/linux/compiler.h:48:0,frominclude/linux/stddef.h:4,frominclude/linux/posix_types