VMVare9.2, Ubuntu14.04安装VMWare Tools找不到头文件

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]




来源:春哥技术博客,欢迎分享,转载请注明出处。(欢迎加春哥团队客服微信号:taike668)

本文地址:https://www.cgtblog.com/wljs/1956.html
上一篇:攻克要塞独家发布2017年上半年软考网      下一篇:攻克要塞独家发布2017年上半年软考网