LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 03-14-2005, 06:24 PM   #1
TiredSikTwisted
LQ Newbie
 
Registered: Mar 2005
Location: /
Distribution: Fedora Core 3
Posts: 4

Rep: Reputation: 0
VMware WS Config Problems


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.

Does anyone know how I could fix this?
 
Old 03-15-2005, 12:46 PM   #2
rgbrock1
Member
 
Registered: Sep 2004
Location: Connecticut
Distribution: SUSE 10, Mandriva
Posts: 70

Rep: Reputation: 15
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????
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VMWARE config problem hotstyle765 Linux - Software 2 03-03-2005 01:14 PM
Vmware - config / installation help Pear-i Linux - Software 4 01-22-2005 05:05 AM
VMWare 4.5 -> vmware-config.pl after each reboot! Vorik Linux - Software 4 01-08-2005 12:55 PM
VMware Config. header files? jasonmcneil0 Linux - Software 3 12-06-2004 12:08 AM
[VMWare] setting up config etc PHPDude Linux - Networking 0 09-15-2003 03:25 AM


All times are GMT -5. The time now is 03:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration