Fedora 7.0 下VMware 安装出错解决方案

VMware在Fedora7下安装之后,配置会发生失败的情况,如果你的情况和作者类似,请看看这篇文章;

下载

下载安装的RPM包——VMware-workstation-5.5.3-34685.i386.rpm;

安装

运行下面命令安装——

#rpm -ivh VMware-workstation-5.5.3-34685.i386.rpm

配置

安装成功后,进行配置,运行:

#vmware-config.pl
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.21-1.3194.fc7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:80:
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: 错误:expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: 错误:expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: 警告:在 ‘_syscall1’ 的声明中,类型默认为 ‘int’
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.

配置出现错误,我这里给出补丁包,去下面

http://download.csdn.net/source/219357

下载

vmmon.tar

用这个tar替换掉/usr/lib/vmware/modules/source/vmmon.tar文件即可;

运行#vmware-config.pl可配置成功了!

此补丁包在Fedora 7RC2下运行通过;估计Fedora 7 and 6也没问题;

Reference: http://www.vmware.com/community/thread.jspa?threadID=65982&tstart=30

 

你可能感兴趣的:(vmware,Module,File,Build,reference)