大佬教程收集整理的这篇文章主要介绍了linux-kernel – `./ scripts / recordmcount:语法错误:“(我在Raspberry Pi上编译驱动程序模块时报告了”unexpected`),大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
@H_851_21@make -C /lib/modules/3.18.10-d0u9/build M=/home/pi/Linux-Device-Driver-3.18/1_Hello-World modules make[1]: Entering directory '/usr/src/linux-source-3.18' CC [M] /home/pi/Linux-Device-Driver-3.18/1_Hello-World/main.o ./scripts/recordmcount: 1: ./scripts/recordmcount: Syntax error: "(" unexpected scripts/Makefile.build:257: recipe for target '/home/pi/Linux-Device-Driver-3.18/1_Hello-World/main.o' Failed make[2]: *** [/home/pi/Linux-Device-Driver-3.18/1_Hello-World/main.o] Error 2 Makefile:1398: recipe for target '_module_/home/pi/Linux-Device-Driver-3.18/1_Hello-World' Failed make[1]: *** [_module_/home/pi/Linux-Device-Driver-3.18/1_Hello-World] Error 2 make[1]: Leaving directory '/usr/src/linux-source-3.18' Makefile:19: recipe for target 'modules' Failed make: *** [modules] Error 2
Hello-world模块非常简单,可以在我的X86 PC上正确编译.
我想也许我编译Linux内核的方式是错误的…
有没有人遇到这个问题?
以上是大佬教程为你收集整理的linux-kernel – `./ scripts / recordmcount:语法错误:“(我在Raspberry Pi上编译驱动程序模块时报告了”unexpected`)全部内容,希望文章能够帮你解决linux-kernel – `./ scripts / recordmcount:语法错误:“(我在Raspberry Pi上编译驱动程序模块时报告了”unexpected`)所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。