1. 程式人生 > >VMVare9.2, Ubuntu14.04安裝VMWare Tools找不到頭文件

VMVare9.2, Ubuntu14.04安裝VMWare Tools找不到頭文件

generated baidu include change files

VMVare9.2, Ubuntu14.04安裝VMWare Tools


遇到一點問題,提示找不到內核頭文件,於是baidu之,作如下總結。

首先執行:

sudo apt-get install build-essential linux-headers-$(uname -r)

sudo cp /lib/modules/3.13.0-24-generic/build/include/generated/uapi/linux/version.h /lib/modules/3.13.0-24-generic/build/include/linux/

然後:

The path "" is not a valid path to the 3.13.0-24-generic kernel headers.

Would you like to change it? [yes]

Enter the path to the kernel header files for the 3.13.0-24-generic kernel? /lib/modules/3.13.0-24-generic/build/include/


The path "/lib/modules/3.13.0-24-generic/build/include/" appears to be a valid

path to the 3.13.0-24-generic kernel headers.

Would you like to change it? [no]


VMVare9.2, Ubuntu14.04安裝VMWare Tools找不到頭文件