关于在VMware上安装VMware Tools的问题
upc 2008-11-05 11:45:23 我在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