当前位置: 技术问答>linux和unix
安装vmware tools的问题
来源: 互联网 发布时间:2016-06-08
本文导语: 主机装的是XP虚拟机上是RED-FLAG 6.0 安装vmware-config-tools.pl时出现错误 Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the location of the directory of C header files that match your running kernel? [/usr/src...
主机装的是XP虚拟机上是RED-FLAG 6.0
安装vmware-config-tools.pl时出现错误
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
我把路径换成REDFLAG头文件所在出现
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.23.1-4). Even if the module were to compile
successfully, it would not load into the running kernel.
安装vmware-config-tools.pl时出现错误
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
我把路径换成REDFLAG头文件所在出现
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.23.1-4). Even if the module were to compile
successfully, it would not load into the running kernel.
|
错误提示是版本不匹配啊
|
查看一下 /lib/modules/kernel版本 /source/include
把这个目录放进去试试。
把这个目录放进去试试。
|
VirtualBOx
不知道楼主可曾用过?
开源
不知道楼主可曾用过?
开源
|
这可能是你kernel的头文件不全,以前遇到过,不过是debian
|
编译 vmware-tools,需要系统的核心头文件,如果没有核心头文件,
编译会报错。先找找核心头文件的位置,用它来替代提示的
/usr/src/linux/include
如果没有,那么需要先安装
编译会报错。先找找核心头文件的位置,用它来替代提示的
/usr/src/linux/include
如果没有,那么需要先安装
|
同意二楼的,
建议用VirtualBox,
只要内存大,就跑的很快。
个人感觉比VMware快多了。
建议用VirtualBox,
只要内存大,就跑的很快。
个人感觉比VMware快多了。
|
up
|
http://tieba.baidu.com/f?kz=238397029
http://tech.ddvip.com/2008-10/122413792778560.html
看看是不是这2个的原因吧
http://tech.ddvip.com/2008-10/122413792778560.html
看看是不是这2个的原因吧
|
vi include/linux/version.h and change the first line to #define UTS_RELEASE "2.6.23-gratis"