|
小洲老師您好..我想請問一下.我在安裝VMWARE SERVER時出現這些錯誤訊息.
DFHsuse:/usr/bin # ./vmware-config.pl
Making sure services for VMware Server are stopped.
Stopping VMware autostart virtual machines:
Virtual machines failed
Stopping VMware management services:
VMware Virtual Infrastructure Web Access
VMware Server Host Agent failed
Stopping VMware services:
VMware Authentication Daemon done
Virtual machine monitor done
None of the pre-built vmmon modules for VMware Server 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] yes
這段問我要不要編譯C
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
Your kernel was built with "gcc" version "4.4.1", while you are trying to use
"/usr/bin/gcc" version "4.4". This configuration is not recommended and VMware
Server may crash if you'll continue. Please try to use exactly same compiler as
one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.4" anyway? [no] yes
這段問我說我的kernel版本與gcc不符
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.31.5-0.1-desktop/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-config2/vmmon-only'
make -C /lib/modules/2.6.31.5-0.1-desktop/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.31.5-0.1-obj/i386/desktop'
make -C ../../../linux-2.6.31.5-0.1 O=/usr/src/linux-2.6.31.5-0.1-obj/i386/desktop/. modules
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.c:31:
/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:78: error: conflicting types for ?鼈oll_initwait??
/usr/src/linux-2.6.31.5-0.1/include/linux/poll.h:70: note: previous declaration of ?鼈oll_initwait??was here
In file included from /tmp/vmware-config2/vmmon-only/./include/vmware.h:38,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:99:
/tmp/vmware-config2/vmmon-only/./include/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined
In file included from /tmp/vmware-config2/vmmon-only/./include/vcpuset.h:103,
from /tmp/vmware-config2/vmmon-only/./include/modulecall.h:37,
from /tmp/vmware-config2/vmmon-only/./common/vmx86.h:33,
from /tmp/vmware-config2/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:101:
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:329:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:333:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:401:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:407:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:506:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:595:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:684:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:773:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:775:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:860:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:862:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:945:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:947:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:1028:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:1030:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:1223:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:1227:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:1536:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:1663:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config2/vmmon-only/./include/vm_basic_asm.h:46,
from /tmp/vmware-config2/vmmon-only/./include/rateconv.h:45,
from /tmp/vmware-config2/vmmon-only/./include/modulecall.h:40,
from /tmp/vmware-config2/vmmon-only/./common/vmx86.h:33,
from /tmp/vmware-config2/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:101:
/tmp/vmware-config2/vmmon-only/./include/vm_basic_asm_x86.h:62:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_basic_asm_x86.h:177:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_basic_asm_x86.h:346:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_basic_asm_x86.h:453:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config2/vmmon-only/./include/vm_asm.h:43,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:103:
/tmp/vmware-config2/vmmon-only/./include/vm_asm_x86.h:486:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_asm_x86.h:779:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_asm_x86.h:820:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_asm_x86.h:922:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.c:119:
/tmp/vmware-config2/vmmon-only/./common/hostif.h:53:7: warning: "WINNT_DDK" is not defined
/tmp/vmware-config2/vmmon-only/linux/driver.c: In function ?鲆inuxDriverSyncCallOnEachCPU??
/tmp/vmware-config2/vmmon-only/linux/driver.c:1423: error: too many arguments to function ?鼡mp_call_function??
/tmp/vmware-config2/vmmon-only/linux/driver.c: In function ?鲆inuxDriver_Ioctl??
/tmp/vmware-config2/vmmon-only/linux/driver.c:1987: error: ?鼡truct task_struct??has no member named ?鵺uid??
/tmp/vmware-config2/vmmon-only/linux/driver.c:1987: error: ?鼡truct task_struct??has no member named ?齑id??
/tmp/vmware-config2/vmmon-only/linux/driver.c:1988: error: ?鼡truct task_struct??has no member named ?鷆suid??
/tmp/vmware-config2/vmmon-only/linux/driver.c:1988: error: ?鼡truct task_struct??has no member named ?齑id??
/tmp/vmware-config2/vmmon-only/linux/driver.c:1989: error: ?鼡truct task_struct??has no member named ?鵺gid??
/tmp/vmware-config2/vmmon-only/linux/driver.c:1989: error: ?鼡truct task_struct??has no member named ?鹋id??
/tmp/vmware-config2/vmmon-only/linux/driver.c:1990: error: ?鼡truct task_struct??has no member named ?鷆sgid??
/tmp/vmware-config2/vmmon-only/linux/driver.c:1990: error: ?鼡truct task_struct??has no member named ?鹋id??
/tmp/vmware-config2/vmmon-only/linux/driver.c:2007: error: too many arguments to function ?鼡mp_call_function??
make[4]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[3]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.31.5-0.1-obj/i386/desktop'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/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/go/unsup-linux-products" and
"http://www.vmware.com/go/unsup-linux-tools".
Execution aborted.
老師我爬了文..我去官方看了一下需要安裝的套件
* binutils
* gcc
* gcc-c++
* kernel-source
* make
都已經安裝了.但就是不能執行阿..
請老師幫忙解惑謝謝 |
|