On Wed, 13 Nov 2002 15:16:58 +0100
Anders Johansson
On Wednesday 13 November 2002 15.15, Erik Jakobsen wrote:
I have just unistalled the VMware 3.2, and have installed the VMware that follows SuSE. But if I run vmware-config.pl, it again will make:
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 script to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes] yes
Argument "gcc 3" isn't numeric in numeric ge (>=) at /usr/bin/vmware-config.pl line 1477, <STDIN> line 3. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]
The directory of kernel headers (version 2.4.19) does not match your running kernel (version 2.4.19-4GB). Even if the module were to compile successfully, it would not load into the running kernel.
do this
cd /usr/src/linux make mrproper make cloneconfig make dep
Then try vmware-config again
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]
It IS necessary to run the vmware-config.pl ?.
Yes, the kernel modules need to be built. Unless vmware comes with prebuilt kernel modules that fit into the suse kernel they need to be recompiled
Ok Anders. Now its saying this: Using compiler "/usr/bin/gcc". Use environment variable CC to override. Argument "gcc (GCC) 3" isn't numeric in numeric ge (>=) at /usr/bin/vmware-config.pl line 1493, <STDIN> line 3. What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.4.19-4GB/build/include] Extracting the sources of the vmmon module. Building the vmmon module. /bin/sh: -c: line 1: syntax error near unexpected token `(' /bin/sh: -c: line 1: `if echo gcc (GCC) 3.2 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | grep -q '^3\.0'; then echo yes; else echo no; fi' make: Entering directory `/tmp/vmware-config0/vmmon-only' /bin/sh: -c: line 1: syntax error near unexpected token `(' /bin/sh: -c: line 1: `if echo gcc (GCC) 3.2 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | grep -q '^3\.0'; then echo yes; else echo no; fi' make[1]: Entering directory `/tmp/vmware-config0/vmmon-only' /bin/sh: -c: line 1: syntax error near unexpected token `(' /bin/sh: -c: line 1: `if echo gcc (GCC) 3.2 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | grep -q '^3\.0'; then echo yes; else echo no; fi' make[2]: Entering directory `/tmp/vmware-config0/vmmon-only/driver-2.4.19-4GB' In file included from ../linux/driver.c:36: /lib/modules/2.4.19-4GB/build/include/linux/module.h:21:34: warning: linux/modversions.h: No such file or directory make[2]: Leaving directory `/tmp/vmware-config0/vmmon-only/driver-2.4.19-4GB' /bin/sh: -c: line 1: syntax error near unexpected token `(' /bin/sh: -c: line 1: `if echo gcc (GCC) 3.2 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | grep -q '^3\.0'; then echo yes; else echo no; fi' make[2]: Entering directory `/tmp/vmware-config0/vmmon-only/driver-2.4.19-4GB' `-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead. cc1: warning: -malign-loops is obsolete, use -falign-loops cc1: warning: -malign-jumps is obsolete, use -falign-jumps cc1: warning: -malign-functions is obsolete, use -falign-functions In file included from ../linux/driver.c:36: /lib/modules/2.4.19-4GB/build/include/linux/module.h:21:34: linux/modversions.h: No such file or directory make[2]: *** [driver.o] Error 1 make[2]: Leaving directory `/tmp/vmware-config0/vmmon-only/driver-2.4.19-4GB' make[1]: *** [driver] Error 2 make[1]: Leaving directory `/tmp/vmware-config0/vmmon-only' make: *** [auto-build] Error 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.
Anders
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Med venlig hilsen - Best regards. Erik Jakobsen - erik@urbakken.dk Registered Linux user #114875 - http://counter.li.org