首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

驱动加载时出现“couldn't find the kernel version the module was compiled for”解决方法

2012-02-19 
驱动加载时出现“couldnt find the kernel version the module was compiled for”如题,刚刚接触驱动,看了《

驱动加载时出现“couldn't find the kernel version the module was compiled for”
如题,刚刚接触驱动,看了《linux设备驱动》编译了hellodriver的驱动,编译通过了,但是用insmod加载时却出现:“couldn 't   find   the   kernel   version   the   module   was   compiled   for”这样的错误。

[解决办法]
在后面加上$(INCLUDEDIR)/linux/version.h)
[解决办法]
只是一个warning,不碍事的

热点排行