现在的位置: 首页 > 综合 > 正文

解决linux/config.h: No such file or directory

2013年12月08日 ⁄ 综合 ⁄ 共 169字 ⁄ 字号 评论关闭

把代码编译成一个内核模块加载到内核中。

写内核模块时参考了:http://tldp.org/LDP/lkmpg/2.6/html/

但是写完后,编译,发现报“linux/config.h: No such file or directory”

网上搜了下,原因是2.6.19之后的内核没有了config.h文件,因此直接把对应的include注释掉即可。

抱歉!评论已关闭.