关于在VMware上安装VMware Tools的问题

upc upc 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
我在VMware5.5.3上安装了Linux红旗6.0
现在想安装VMware Tolls但是安装时出错 错误代码如下
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [确定]
Guest filesystem driver: [确定]
Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]

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? [/lib/modules/2.6.22.6-1/build/include]

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config15/vmhgfs-only'
make -C /lib/modules/2.6.22.6-1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.22.6-1-i686'
CC [M] /tmp/vmware-config15/vmhgfs-only/cpName.o
CC [M] /tmp/vmware-config15/vmhgfs-only/cpNameLinux.o
CC [M] /tmp/vmware-config15/vmhgfs-only/dev.o
CC [M] /tmp/vmware-config15/vmhgfs-only/driver.o
CC [M] /tmp/vmware-config15/vmhgfs-only/hgfsUtil.o
CC [M] /tmp/vmware-config15/vmhgfs-only/main.o
CC [M] /tmp/vmware-config15/vmhgfs-only/staticEscape.o
LD [M] /tmp/vmware-config15/vmhgfs-only/vmhgfs.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config15/vmhgfs-only/vmhgfs.mod.o
LD [M] /tmp/vmware-config15/vmhgfs-only/vmhgfs.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.22.6-1-i686'
cp -f vmhgfs.ko ./../vmhgfs.o
make: Leaving directory `/tmp/vmware-config15/vmhgfs-only'
The module loads perfectly in the running kernel.

pcnet32 31092 0
Unloading pcnet32 module

Extracting the sources of the vmxnet module.

Building the vmxnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config15/vmxnet-only'
make -C /lib/modules/2.6.22.6-1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.22.6-1-i686'
CC [M] /tmp/vmware-config15/vmxnet-only/vmxnet.o
/tmp/vmware-config15/vmxnet-only/vmxnet.c: In function ‘vmxnet_open’:
/tmp/vmware-config15/vmxnet-only/vmxnet.c:674: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/tmp/vmware-config15/vmxnet-only/vmxnet.c: In function ‘vmxnet_netpoll’:
/tmp/vmware-config15/vmxnet-only/vmxnet.c:1058: error: too many arguments to function ‘vmxnet_interrupt’
make[2]: *** [/tmp/vmware-config15/vmxnet-only/vmxnet.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config15/vmxnet-only] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.22.6-1-i686'
make: *** [vmxnet.ko] 错误 2
make: Leaving directory `/tmp/vmware-config15/vmxnet-only'
Unable to build the vmxnet module.


The fast network device driver (vmxnet module) is used only for our fast
networking interface. The rest of the software provided by VMware Tools is
designed to work independently of this feature.
If you wish to have the fast network driver enabled, you can install the driver
by running vmware-config-tools.pl again after making sure that gcc, binutils,
make and the kernel sources for your running kernel are installed on your
machine. These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]


哪位高手能帮我解决阿
我的Linux内核版本是2.6.22.6-1
...全文

相关推荐

VMware下安装VMware tools,安装文件没有出现问题的解决

主要介绍了VMware下安装VMware tools,安装文件没有出现问题的解决,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧

weixin_38655484

VMware Tools安装问题解决[可运行源码]

本文详细介绍了在VMware Workstation中遇到“安装VMware Tools”选项为灰色无法点击时的解决方法。首先需要通过挂载镜像文件的方式,选择VMware安装目录中的linux.iso文件并重启虚拟机。接着,通过命令行手动执行一系列操作,包括挂载CD-ROM、复制和解压安装包、运行安装脚本等步骤,最终完成VMware Tools的安装。整个过程需要用户具备一定的命令行操作基础,但按照步骤操作即可顺利完成安装。

nice1

VMware tools安装Ubuntu遇到找不到C header的问题解决

VMware tools安装Ubuntu遇到找不到C header的问题解决,实现w7与Ubuntu之间的文件共享

siyue20041715

VM中Linux虚拟机下安装VMware_Tools可以解决鼠标使用方便问题

安装 VM tool 解决鼠标在虚拟机中移动不便的问题 VM中Linux虚拟机下安装VMware_Tools方法很简单。 安装完之后,真的比以前方便多了,不防您试一下,很好的。

navy_ji

fedora 11-Ubuntu9-10安装vmware tools 解决文件共享的问题

fedora 11-Ubuntu9-10安装vmware tools 解决文件共享的问题

radar_123
评论 10
收藏 已收藏
分享
返回顶部
upc
系统维护与使用区 19,615 成员 74,556 内容