解压
终端,进入解压后的目录,输入:
sudo./vmware-install.pl
安装结束后配置的时候会出现如下错误:
class=codetop>CODE:class=codemain>Buildingthevmmonmodule.Using2.6.xkernelbuildsystem. make:Enteringdirectory`/tmp/vmware-config1/vmmon-only’ make-C/lib/modules/2.6.24-16-generic/build/include/..SUBDIRS=$PWDSRCROOT=$PWD/.modules make[1]:Enteringdirectory`/usr/src/linux-headers-2.6.24-16-generic’ CC[M]/tmp/vmware-config1/vmmon-only/linux/driver.o CC[M]/tmp/vmware-config1/vmmon-only/linux/hostif.o CC[M]/tmp/vmware-config1/vmmon-only/common/comport.o CC[M]/tmp/vmware-config1/vmmon-only/common/cpuid.o 在包含自include/asm/bitops.h:2的文件中, 从/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:错误:#erroronly
canbeincludeddirectly make[2]:***[/tmp/vmware-config1/vmmon-only/common/cpuid.o]错误1 make[1]:***[_module_/tmp/vmware-config1/vmmon-only]错误2 make[1]:Leavingdirectory`/usr/src/linux-headers-2.6.24-16-generic’ make:***[vmmon.ko]错误2 make:Leavingdirectory`/tmp/vmware-config1/vmmon-only’ Unabletobuildthevmmonmodule. Formoreinformationonhowtotroubleshootmodule-relatedproblems,please visitourWebsiteat“”and “”.
Executionaborted. |
在终端输入:
cd/usr/lib/vmware/modules/source
sudocpvmmon.tarvmmon.tar.backup
sudotarxvfvmmon.tar
sudogeditvmmon-only/include/vcpuset.h
将##include“asm/bitops.h”改为#include“linux/bitops.h”
在终端输入:
sudotarcvfvmmon.tarvmmon-only
sudorm-rfvmmon-only
cd/usr/bin/
sudo./vmware-config.pl
继续配置
接下来应该可以顺利完成配置了。
解决Ubuntu 8.04下安装VMware-workstation-6.0.3-80004.i386.tar.gz错误解决Ubuntu 8.04下安装VMware-workstation-6.0.3-80004.i386.tar.gz错误解决Ubuntu 8.04下安装VMware-workstation-6.0.3-80004.i386.tar.gz错误解决Ubuntu 8.04下安装VMware-workstation-6.0.3-80004.i386.tar.gz错误解决Ubuntu 8.04下安装VMware-workstation-6.0.3-80004.i386.tar.gz错误解决Ubuntu 8.04下安装VMware-workstation-6.0.3-80004.i386.tar.gz错误解决Ubuntu 8.04下安装VMware-workstation-6.0.3-80004.i386.tar.gz错误解决Ubuntu 8.04下安装VMware-workstation-6.0.3-80004.i386.tar.gz错误解决Ubuntu 8.04下安装VMware-workstation-6.0.3-80004.i386.tar.gz错误解决Ubuntu 8.04下安装VMware-workstation-6.0.3-80004.i386.tar.gz错误
阅读(650) | 评论(0) | 转发(0) |