|
|
安装过程及错误提示如下:
Your kernel was built with "gcc" version "4.0.4", while you are trying to use
"/usr/bin/gcc" version "4.1.2". This configuration is not recommended and VMware
Workstation 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.1.2" anyway? [no] yes
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.16-2-686/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.16-2-686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.16-2-686'
/tmp/vmware-config2/vmmon-only/Makefile:127: *** Inappropriate build environment: you wanted to use gcc version 4.1.2 while kernel attempts to use gcc version 4.0.4.
/tmp/vmware-config2/vmmon-only/Makefile:129: *** For proper build you'll have to replace gcc-4.0 -m32 with symbolic link to /usr/bin/gcc。 停止。
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.16-2-686'
make: *** [vmmon.ko] 错误 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/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
是不是我的gcc4.1.2的版本太高,要换成gcc4.0.4的版本才行啊? |
|