从 /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74, 从 /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23, 从 /tmp/vmware-config1/vmmon-only/common/vmx86.h:18, 从 /tmp/vmware-config1/vmmon-only/common/hostif.h:18, 从 /tmp/vmware-config1/vmmon-only/common/cpuid.c:14: include/asm/bitops_32.h:9:2: 错误: #error only can be included directly make[2]: *** [/tmp/vmware-config1/vmmon-only/common/cpuid.o] 错误 1 make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] 错误 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic’ make: *** [vmmon.ko] 错误 2 make: Leaving directory `/tmp/vmware-config1/vmmon-only’ Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please visit our Web site at “” and “”. Execution aborted. 4、网上搜了一下,找到解决办法如下: 4.1 cd /usr/lib/vmware/modules/source sudo cp vmmon.tar vmmon.tar.backup sudo tar xvf vmmon.tar sudo gedit vmmon-only/include/vcpuset.h 4.2 将# #include “asm/bitops.h” 改为 #include “linux/bitops.h” 4.3 sudo tar cvf vmmon.tar vmmon-only sudo rm -rf vmmon-only 5、sudo vmware-config.pl
接下来可以正常安装了。
你可能还会遇到这样的出错信息: Version mismatch with vmmon module: expecting 167.0, got 161.0.Version mismatch with vmmon module