LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-15-2004, 02:54 PM   #1
Scrag
Member
 
Registered: Mar 2004
Location: Wisconsin
Distribution: Kali Linux
Posts: 131

Rep: Reputation: 15
VMware setup problems...


Hi,

I've had a problem for a LONG time trying to install VMware 3.2 on Mandrake 10.0. When I run the vmware-config.pl, I get the following kernel / compile errors.

Code:
[root@localhost bin]# ./vmware-config.pl
Making sure VMware Workstation's services are stopped.
 
Stopping VMware services:
   Virtual machine monitor                                      [  OK  ]
 
grep: /proc/ksyms: No such file or directory
grep: /proc/ksyms: No such file or directory
grep: /proc/ksyms: No such file or directory
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
 
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
 
Argument "gcc (GCC) 3" isn't numeric in numeric ge (>=) at ./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.6.3-4mdksmp/build/include] /lib/modules/2.6.3-4mdk/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.3.2 (Mandrake Linux 10.0 3.3.2-6mdk) Copyright (C) 2003 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 `/root/tmp/vmware-config4/vmmon-only'
/bin/sh: -c: line 1: syntax error near unexpected token `('
/bin/sh: -c: line 1: `if echo gcc (GCC) 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk) Copyright (C) 2003 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 `/root/tmp/vmware-config4/vmmon-only'
/bin/sh: -c: line 1: syntax error near unexpected token `('
/bin/sh: -c: line 1: `if echo gcc (GCC) 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk) Copyright (C) 2003 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 `/root/tmp/vmware-config4/vmmon-only/driver-2.6.3-4mdk'
`-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-config.h:38,
                 from ../linux/driver.c:11:
/usr/include/linux/modversions.h:1:2: #error "======================================================="
/usr/include/linux/modversions.h:2:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/modversions.h:3:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/modversions.h:4:2: #error ""
/usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/modversions.h:6:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/modversions.h:7:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/modversions.h:8:2: #error "currently running kernel. They should only be"
/usr/include/linux/modversions.h:9:2: #error "included via other system header files - user space"
/usr/include/linux/modversions.h:10:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/modversions.h:11:2: #error "<asm/*.h> as well."
/usr/include/linux/modversions.h:12:2: #error ""
/usr/include/linux/modversions.h:13:2: #error "To build kernel modules please do the following:"
/usr/include/linux/modversions.h:14:2: #error ""
/usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources installed"
/usr/include/linux/modversions.h:16:2: #error ""
/usr/include/linux/modversions.h:17:2: #error " o Make sure that the symbolic link"
/usr/include/linux/modversions.h:18:2: #error "   /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/modversions.h:19:2: #error "   the matching kernel source directory"
/usr/include/linux/modversions.h:20:2: #error ""
/usr/include/linux/modversions.h:21:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/modversions.h:22:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/modversions.h:23:2: #error ""
/usr/include/linux/modversions.h:24:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/modversions.h:25:2: #error "   compiler option to use the correct include files:"
/usr/include/linux/modversions.h:26:2: #error ""
/usr/include/linux/modversions.h:27:2: #error "   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/modversions.h:28:2: #error ""
/usr/include/linux/modversions.h:29:2: #error "   instead of"
/usr/include/linux/modversions.h:30:2: #error ""
/usr/include/linux/modversions.h:31:2: #error "   -I/usr/include/linux"
/usr/include/linux/modversions.h:32:2: #error ""
/usr/include/linux/modversions.h:33:2: #error "   Please adjust the Makefile accordingly."
/usr/include/linux/modversions.h:34:2: #error "======================================================="
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/irq.h:20,
                 from /lib/modules/2.6.3-4mdk/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.3-4mdk/build/include/linux/interrupt.h:11,
                 from ../linux/driver.c:44:
/lib/modules/2.6.3-4mdk/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
make[2]: *** [driver.d] Error 1
make[2]: Leaving directory `/root/tmp/vmware-config4/vmmon-only/driver-2.6.3-4mdk'
make[1]: *** [deps] Error 2
make[1]: Leaving directory `/root/tmp/vmware-config4/vmmon-only'
make: *** [auto-build] Error 2
make: Leaving directory `/root/tmp/vmware-config4/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.
Please help!

Thanks!
Scrag
 
Old 05-15-2004, 03:43 PM   #2
ONEderer
Member
 
Registered: Jan 2004
Location: USA
Distribution: Mandrake, Knoppix
Posts: 51

Rep: Reputation: 15
I'm using VMW 4.x and never had to compile.....

I was able to run VMW without doing any compilations at all! All I did is to setup the environment for the distro that I want to try out, and then install that distro inside VMW, and run it.

I'm not sure what you are trying to do there. Perhaps you should try the newest version of VMW?
 
Old 05-15-2004, 03:54 PM   #3
Scrag
Member
 
Registered: Mar 2004
Location: Wisconsin
Distribution: Kali Linux
Posts: 131

Original Poster
Rep: Reputation: 15
Hmmmmmm..... I think youre talking about installing O/S with VMware, I actually installed Vmware 3.2 with .rpm. Then ran the ./vmware-config.pl. Thats where I get he errors. i'd use a newer version, but I only have license for 3.2

Thanks for the reply.
 
Old 05-15-2004, 04:06 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I think older versions of VMWare have trouble with hosts with 2.6 kernels in general. I installed VMWare 4.5 on a Slackware machine with 2.6 and everything worked fine. Is there any way you can upgrade your license? If not you may want to downgrade to running a 2.4 kernel on the host machine, if running VMWare is that important to you.
 
Old 05-15-2004, 04:32 PM   #5
Scrag
Member
 
Registered: Mar 2004
Location: Wisconsin
Distribution: Kali Linux
Posts: 131

Original Poster
Rep: Reputation: 15
Problem is I had same problem running mandrake 9.2. But ill try downloading eval version of VMware 4.5 and see how that goes.

Thanks.
 
  


Reply



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 problems introuble Linux - Software 0 07-26-2005 10:07 AM
vmware setup... kurrupt Linux - Software 3 10-16-2004 07:46 PM
Linux 9 setup in VMWARE pjw23 Linux - Software 18 09-24-2004 02:58 AM
How to setup vmware with no NIC? growlin_stan Linux - Networking 2 11-27-2002 07:17 PM
Dedicated firewall setup... in VMWare? Thymox Linux - Software 0 08-06-2002 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:27 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration