Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have VMware workstation 3.2.1 and I am on RHEL ES. I installed the VMware RPM and it told me to run vmware-config.pl, so I did. Here is what all went on when I ran it:
Code:
[root@localhost sik]# vmware-config.pl
Making sure VMware Workstation's services are stopped.
Stopping VMware services:
Virtual machine monitor [ OK ]
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]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
Argument "\x{67}\x{63}..." isn't numeric in numeric ge (>=) at /usr/bin/vmware-config.pl line 1493, <STDIN> line 1.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.4.21-4.EL/build/include] /lib/modules/2.4.21-4.EL/build/include/asm-i386
The path "/lib/modules/2.4.21-4.EL/build/include/asm-i386" is an existing
directory, but it does not contain at least one of these directories "linux",
"asm", "net" as expected.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.4.21-4.EL/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.3 20030502 (Red Hat Linux 3.2.3-20) 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-config2/vmmon-only'
/bin/sh: -c: line 1: syntax error near unexpected token `('
/bin/sh: -c: line 1: `if echo gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-20) 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-config2/vmmon-only'
/bin/sh: -c: line 1: syntax error near unexpected token `('
/bin/sh: -c: line 1: `if echo gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-20) 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-config2/vmmon-only/driver-2.4.21-4.EL'
make[2]: Leaving directory `/tmp/vmware-config2/vmmon-only/driver-2.4.21-4.EL'
/bin/sh: -c: line 1: syntax error near unexpected token `('
/bin/sh: -c: line 1: `if echo gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-20) 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-config2/vmmon-only/driver-2.4.21-4.EL'
`-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
`-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
`-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
`-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
`-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
`-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
`-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
make[2]: Leaving directory `/tmp/vmware-config2/vmmon-only/driver-2.4.21-4.EL'
make[1]: Leaving directory `/tmp/vmware-config2/vmmon-only'
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
The module loads perfectly in the running kernel.
Trying to find a suitable vmnet module for your running kernel.
None of VMware Workstation's pre-built vmnet modules is suitable for your
running kernel. Do you want this script to try to build the vmnet module for
your system (you need to have a C compiler installed on your system)? [yes]
Extracting the sources of the vmnet module.
Building the vmnet module.
/bin/sh: -c: line 1: syntax error near unexpected token `('
/bin/sh: -c: line 1: `if echo gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-20) 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-config2/vmnet-only'
`-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 driver.c:51:
vmnetInt.h:54:1: warning: "major" redefined
In file included from /lib/modules/2.4.21-4.EL/build/include/linux/kiovec.h:34,
from /lib/modules/2.4.21-4.EL/build/include/linux/aio.h:5,
from /lib/modules/2.4.21-4.EL/build/include/linux/net.h:88,
from /lib/modules/2.4.21-4.EL/build/include/linux/fs.h:15,
from /lib/modules/2.4.21-4.EL/build/include/linux/capability.h:17,
from /lib/modules/2.4.21-4.EL/build/include/linux/binfmts.h:4,
from /lib/modules/2.4.21-4.EL/build/include/linux/sched.h:10,
from driver.c:22:
/lib/modules/2.4.21-4.EL/build/include/linux/kdev_t.h:80:1: warning: this is the location of the previous definition
In file included from driver.c:51:
vmnetInt.h:55:1: warning: "minor" redefined
In file included from /lib/modules/2.4.21-4.EL/build/include/linux/kiovec.h:34,
from /lib/modules/2.4.21-4.EL/build/include/linux/aio.h:5,
from /lib/modules/2.4.21-4.EL/build/include/linux/net.h:88,
from /lib/modules/2.4.21-4.EL/build/include/linux/fs.h:15,
from /lib/modules/2.4.21-4.EL/build/include/linux/capability.h:17,
from /lib/modules/2.4.21-4.EL/build/include/linux/binfmts.h:4,
from /lib/modules/2.4.21-4.EL/build/include/linux/sched.h:10,
from driver.c:22:
/lib/modules/2.4.21-4.EL/build/include/linux/kdev_t.h:81:1: warning: this is the location of the previous definition
driver.c: In function `VNetPrintPIDs':
driver.c:1488: warning: implicit declaration of function `for_each_task'
driver.c:1488: syntax error before '{' token
driver.c: At top level:
driver.c:1497: syntax error before '}' token
driver.c:1529: warning: `VNetProcessOwnsPort' defined but not used
make: *** [driver.o] Error 1
make: Leaving directory `/tmp/vmware-config2/vmnet-only'
Unable to build the vmnet module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "vmware.com/download/modules/modules.html" and
"vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
I went to their website and looked at some stuff and saw that the suggested gcc compiler version was 2.7.(something). I downloaded an RPM for that and installed it. I tried vmware-config.pl again and got the same exact results! It seems that I have terrible luck with VMware WS because it never seems to install! I have tried it on FC3 and SuSE and each had their own special problems that I couldn't fix.
I think, but I'm not sure, that part of your problem is the version of VMware you are running. If you tried installing FC3 and SuSE within VMware you are using the 2.6 kernel. I'm not sure the 2.6 kernels are compatible with anything less that v4.5 of VMware.
Can you upgrade VMware perhaps????
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.