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