#在网上找了几天~也没有找到可以解决的方法,直在是郁闷,诚求各位的帮助,本人在此感激不尽!
这是本人的系统:
[root@hak ~]# rpm -q kernel-devel
kernel-devel-2.6.23.1-42.fc8
kernel-devel-2.6.26.6-49.fc8
[root@hak ~]# uname -a
Linux hak.fedora 2.6.26.6-49.fc8 #1 SMP Fri Oct 17 15:59:36 EDT 2008 i686 athlon i386 GNU/Linux
这是问题:
[root@hak ~]# /usr/bin/vmware-config.pl
Making sure services for VMware Workstation are stopped.
Stopping VMware services:
Virtual machine monitor [确定]
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the theme icons?
[/usr/share/icons]
What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]
In which directory do you want to install the application's icon?
[/usr/share/pixmaps]
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.26.6-49.fc8/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-config8/vmmon-only'
make -C /lib/modules/2.6.26.6-49.fc8/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.26.6-49.fc8-i686'
CC [M] /tmp/vmware-config8/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config8/vmmon-only/./include/vmware.h:25,
from /tmp/vmware-config8/vmmon-only/linux/driver.c:83:
/tmp/vmware-config8/vmmon-only/./include/vm_basic_types.h:170: 错误:与 ‘uintptr_t’ 类型冲突
include/linux/types.h:40: 错误:‘uintptr_t’ 的上一个声明在此
在包含自 /tmp/vmware-config8/vmmon-only/./include/x86.h:23 的文件中,
从 /tmp/vmware-config8/vmmon-only/linux/driver.h:15,
从 /tmp/vmware-config8/vmmon-only/linux/driver.c:84:
/tmp/vmware-config8/vmmon-only/./include/x86cpuid.h:383:1: 警告:“BIT_MASK”重定义
在包含自 include/linux/kernel.h:15 的文件中,
从 /tmp/vmware-config8/vmmon-only/linux/driver.c:11:
include/linux/bitops.h:7:1: 警告:这是先前定义的位置
在包含自 /tmp/vmware-config8/vmmon-only/./include/vmci_kernel_defs.h:26 的文件中,
从 /tmp/vmware-config8/vmmon-only/./common/vmciContext.h:19,
从 /tmp/vmware-config8/vmmon-only/linux/driver.h:21,
从 /tmp/vmware-config8/vmmon-only/linux/driver.c:84:
/tmp/vmware-config8/vmmon-only/./include/compat_wait.h:37:5: 警告:“VMW_HAVE_EPOLL”未定义
/tmp/vmware-config8/vmmon-only/./include/compat_wait.h:43:5: 警告:“VMW_HAVE_EPOLL”未定义
In file included from /tmp/vmware-config8/vmmon-only/./include/vmci_kernel_defs.h:26,
from /tmp/vmware-config8/vmmon-only/./common/vmciContext.h:19,
from /tmp/vmware-config8/vmmon-only/linux/driver.h:21,
from /tmp/vmware-config8/vmmon-only/linux/driver.c:84:
/tmp/vmware-config8/vmmon-only/./include/compat_wait.h:60: 错误:与 ‘poll_initwait’ 类型冲突
include/linux/poll.h:65: 错误:‘poll_initwait’ 的上一个声明在此
/tmp/vmware-config8/vmmon-only/linux/driver.c:197: 错误:初始值设定项里有未知的字段 ‘nopage’
/tmp/vmware-config8/vmmon-only/linux/driver.c:198: 警告:从不兼容的指针类型初始化
make[2]: *** [/tmp/vmware-config8/vmmon-only/linux/driver.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config8/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.26.6-49.fc8-i686'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config8/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.