|
发表于 2006-3-26 13:14:39
|
显示全部楼层
Post by yangjio4849
我的vmware是5.0.0-13124
我也如LZ一样修改了那个vmware-config.pl,能正确找到我的/lib/modules/2.6.15-1.2054_FC5/build/include,谢谢,但是我这一步没有通过,显示如下:
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.15-1.2054_FC5/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-config0/vmmon-only'
make -C /lib/modules/2.6.15-1.2054_FC5/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
在包含自 /tmp/vmware-config0/vmmon-only/./include/vmware.h:24 的文件中,
从 /tmp/vmware-config0/vmmon-only/linux/driver.c:44:
/tmp/vmware-config0/vmmon-only/./include/vm_basic_defs.h:208:5: 警告:“_MSC_VER”未定义
在包含自 /tmp/vmware-config0/vmmon-only/./include/vcpuset.h:56 的文件中,
从 /tmp/vmware-config0/vmmon-only/./include/modulecall.h:23,
从 /tmp/vmware-config0/vmmon-only/./common/vmx86.h:18,
从 /tmp/vmware-config0/vmmon-only/linux/driver.h:15,
从 /tmp/vmware-config0/vmmon-only/linux/driver.c:45:
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:54:5: 警告:“_MSC_VER”未定义
在包含自 /tmp/vmware-config0/vmmon-only/linux/driver.h:19 的文件中,
从 /tmp/vmware-config0/vmmon-only/linux/driver.c:45:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:37:5: 警告:“VMW_HAVE_EPOLL”未定义
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:43:5: 警告:“VMW_HAVE_EPOLL”未定义
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.h:19,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:45:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:60: 错误:与 ‘poll_initwait’ 类型冲突
include/linux/poll.h:45: 错误:‘poll_initwait’ 的上一个声明在此
在包含自 /tmp/vmware-config0/vmmon-only/./include/vm_asm.h:23 的文件中,
从 /tmp/vmware-config0/vmmon-only/linux/driver.c:48:
/tmp/vmware-config0/vmmon-only/./include/vm_basic_asm.h:48:5: 警告:“_MSC_VER”未定义
/tmp/vmware-config0/vmmon-only/linux/driver.c:138: 警告:从不兼容的指针类型初始化
/tmp/vmware-config0/vmmon-only/linux/driver.c:142: 警告:从不兼容的指针类型初始化
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config0/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版本低了?
看一下这篇文章
Since this is a unsupported host OS and Fedora Core 5, I believe is still beta software. You will most likely need to download the latest unofficial vmware-any-any-update from http://ftp.cvut.cz/vmware.
1. Extract the archive to your /tmp or some other empty directory, then follow these steps:
2. Open a Terminal window
3. Use su to become root
4. Switch to the directory in which you extracted vmware-any-any-update??
5. Run ./runme.pl and follow the prompts.
出自:http://www.vmware.com/community/thread.jspa?threadID=37010&tstart=0 |
|