o worries the solution is right at hand.
Get the vmware-any-any patch
#wget http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update115.tar.gz
After unpacking, go to the vmware-any-any-update115 directory and unpack vmmon.tar
#tar -zxvf vmware-any-any-update115.tar.gz
#cd vmware-any-any-update115
#tar -xvf vmmon.tar
Open vmmon-only/include/vcpuset.h and change the following line #include "asm/bitops.h" to #include "linux/bitops.h"
打开include/vcpuset.h文件,修改其中的asm/bitops.h为linux/bitops.h
Open vmmon-only/include/iocontrols_compat.h and change VMMON_VERSION_V6 to 167
括号里面的161改为167
Open vmmon-only/include/iocontrols.h and change VMMON_VERSION to 167
括号里面的161改为167
Pack a new vmmon.tar and then run runme.pl
wuzhenmingwu 于 2008-03-31 08:56:32发表:
我的还是不行,出现如下代码:
can be included directly
Building the vmmon module.
Unknown VMware Workstation 6.0.3 build 80004 detected. Building for Workstation 6.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config9/vmmon-only'
make -C /lib/modules/2.6.24.3-50.fc8/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.24.3-50.fc8-i686'
CC [M] /tmp/vmware-config9/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config9/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config9/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config9/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config9/vmmon-only/common/cpuid.o
在包含自 include/asm/bitops.h:2 的文件中,
从 /tmp/vmware-config9/vmmon-only/./include/vcpuset.h:74,
从 /tmp/vmware-config9/vmmon-only/./include/modulecall.h:23,
从 /tmp/vmware-config9/vmmon-only/common/vmx86.h:19,
从 /tmp/vmware-config9/vmmon-only/common/hostif.h:18,
从 /tmp/vmware-config9/vmmon-only/common/cpuid.c:15:
include/asm/bitops_32.h:9:2: 错误:#error only
make[2]: *** [/tmp/vmware-config9/vmmon-only/common/cpuid.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config9/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.24.3-50.fc8-i686'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config9/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.