ubunt ,the kernel headers for the target kernel...

Ubuntu安装内核模块时报错  linux

Bad luck, the kernel headers for the target kernel version could not be found and you did not specify other valid kernel headers to use... api

It because the kernel generic headers is missing the version.h file. ui

A workaround is to link as follows: spa

ln -s /usr/src/linux-headers-`uname -r`/include/generated/uapi/linux/version.h /lib/modules/`uname -r`/build/include/linux/ orm

相关文章
相关标签/搜索