码迷,mamicode.com
首页 > 系统相关 > 详细

VMVare9.0, Ubuntu12.04安装VMWare Tools找不到内核头文件解决方案

时间:2017-05-21 21:50:15      阅读:267      评论:0      收藏:0      [点我收藏+]

标签:generated   解决方案   include   baidu   change   

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.0, Ubuntu12.04安装VMWare Tools找不到内核头文件解决方案

标签:generated   解决方案   include   baidu   change   

原文地址:http://zhaoanan.blog.51cto.com/12818503/1927934

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!