'export CC=gcc32'
then run vmware-config.pl
Sean Craig
Tommy Tovbin wrote:
Hi all,
Next problem I got:
I'm trying to install VMware-workstation-4.0.5-6030.i386.rpm. Then rpm was installed, I ran vmware-config.pl and got next sudden result:
[ --------------------- ]
Making sure VMware Workstation's services are stopped.
Stopping VMware services: Virtual machine monitor[60G[ [0;32mOK[0;39m ]
Trying to find a suitable vmmon module for your running kernel.
None of VMware Workstation's pre-built vmmon modules 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.
Your kernel was built with "gcc" version "3.2.3", while you are trying to use "/usr/bin/gcc" version "3.3.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 "3.3.2" anyway? [no] What is the location of the directory of C header files that match your running kernel? [/usr/src/linux-2.4/include] The path "y" is not an existing directory.
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux-2.4/include] Extracting the sources of the vmmon module.
Building the vmmon module.
make: Entering directory `/tmp/vmware-config2/vmmon-only' make[1]: Entering directory `/tmp/vmware-config2/vmmon-only' make[2]: Entering directory `/tmp/vmware-config2/vmmon-only/driver-2.4.22-1.2115.nptl' make[2]: Leaving directory `/tmp/vmware-config2/vmmon-only/driver-2.4.22-1.2115.nptl' make[2]: Entering directory `/tmp/vmware-config2/vmmon-only/driver-2.4.22-1.2115.nptl' In file included from ../linux/driver.c:15: /usr/src/linux-2.4/include/linux/kernel.h:60:31: invalid suffix "d5eeb25" on integer constant In file included from ../linux/driver.c:15: /usr/src/linux-2.4/include/linux/kernel.h:60: error: syntax error before numeric constant /usr/src/linux-2.4/include/linux/kernel.h:60: warning: function declaration isn't a prototype /usr/src/linux-2.4/include/linux/kernel.h:61:17: invalid suffix "bf0" on integer constant from /usr/src/linux-2.4/include/linux/binfmts.h:4, from /usr/src/linux-2.4/include/linux/sched.h:10, from ../linux/driver.c:17: ------ cut many of errors ----------------------------------
make: *** [auto-build] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
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.
Unable to build the vmmon module.
[ ------------------------------------ ]
Thoughts?
--
Regards
Sean Craig Solutions Consultant Tech Access
Tel:
+971 4 391 1820
Fax:
+971 4 391 8875
seanc@xxxxxxxxxxxxxxx <mailto:seanc@xxxxxxxxxxxxxxx>
www.tech-access.com <http://www.tech-access.com/>
*IMPORTANT NOTICE REGARDING CONFIDENTIALITY:* This email and any attachments are confidential and intended solely for the use of the individual to whom it is addressed. If you are not the named or intended recipient, be advised that you have received it in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. Please notify the sender and delete the message and any attachments accompanying it immediately.