|
|
我下载vmware 4.5的rpm包,安装后到运行/usr/bin下运行vmware-config.pl出现以下问题:
[root@localhost bin]# ./vmware-config.pl
Making sure VMware Workstation's services are stopped.
Stopping VMware services:
Virtual machine monitor [ 确定 ]
Trying to find a suitable vmmon module for your running kernel.
None of VMware Workstation's pre-built vmmon modules is suitable for your
running kernel. Do you want this program to try to build the vmmon 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.9-1.667/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.9-1.667/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/lib/modules/2.6.9-1.667/build'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
/tmp/vmware-config2/vmmon-only/linux/driver.c:133: warning: initialization from incompatible pointer type
/tmp/vmware-config2/vmmon-only/linux/driver.c:137: warning: initialization from incompatible pointer type
/tmp/vmware-config2/vmmon-only/linux/driver.c: In function `Panic':
/tmp/vmware-config2/vmmon-only/linux/driver.c:1881: warning: implicit declaration of function `_exit'
CC [M] /tmp/vmware-config2/vmmon-only/linux/hostif.o
/tmp/vmware-config2/vmmon-only/linux/hostif.c: In function `HostIF_FreeLockedPages':
/tmp/vmware-config2/vmmon-only/linux/hostif.c:742: error: structure has no member named `count'
/tmp/vmware-config2/vmmon-only/linux/hostif.c:744: error: structure has no member named `count'
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/hostif.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] 错误 2
make[1]: Leaving directory `/lib/modules/2.6.9-1.667/build'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
最后运行vmware,却显示VMware Workstation is installed, but it has not been (correctly) configured for you running kernel. To (re-) configure it, your system administrator must find and run "vmware-config.pl"
希望大家给予指导,谢谢! |
|