驱动加载时出现“couldn’t 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,不碍事的

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

相关文章:

你感兴趣的文章:

标签云: