LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-16-2004, 06:20 AM   #1
spariggio82
Member
 
Registered: Apr 2004
Location: Camporotondo Etneo, Sicily
Distribution: SuSE 8.2 SuSE 9.1 Fedora C1 Slackware 10.1 Knoppix 3.9
Posts: 174

Rep: Reputation: 30
vmware problem with kernel C header files on SuSE 9.1


Hi to all and thanks for helping me.

I'm trying to install vmware workstation 4.5 on my SuSE 9.1 pro.
When I run wmware-config.pl after reading the license he asks me:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]


But if I put this path:

/usr/src/linux/include

He answer me:

The directory of kernel headers (version 2.6.4-52-default) does not match your
running kernel (version 2.6.5-7.104-default). Even if the module were to
compile successfully, it would not load into the running kernel.


What I have to do????
 
Old 08-21-2004, 11:08 AM   #2
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Rep: Reputation: 30
have you tried installing your kernel source (from suse)?
 
Old 08-23-2004, 09:49 AM   #3
spariggio82
Member
 
Registered: Apr 2004
Location: Camporotondo Etneo, Sicily
Distribution: SuSE 8.2 SuSE 9.1 Fedora C1 Slackware 10.1 Knoppix 3.9
Posts: 174

Original Poster
Rep: Reputation: 30
Yes I've installed the kernel-source package from Yast. Did You had the same problem????
 
Old 08-25-2004, 08:59 AM   #4
RobLQ.org
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
Hi,
i had exactly the same problem,
after the installation of the kernel-files over online-update
(YAST: package "kernel-source", installed version: "2.6.5-7.104")
this problem was solved.

Now i have a new problem after starting vmware-config.pl, what should i do:

Making sure services for VMware Workstation are stopped.

Stopping VMware services:
Virtual machine monitor done

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation 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] y

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config6/vmmon-only'
make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.104'
Makefile:438: .config: Datei oder Verzeichnis nicht gefunden

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.104/Module.symvers is missi ng, modules will have CONFIG_MODVERSIONS disabled.

CC [M] /tmp/vmware-config6/vmmon-only/linux/driver.o
/bin/sh: line 1: scripts/basic/fixdep: Datei oder Verzeichnis nicht gefunden
make[2]: *** [/tmp/vmware-config6/vmmon-only/linux/driver.o] Fehler 1
make[1]: *** [_module_/tmp/vmware-config6/vmmon-only] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.104'
make: *** [vmmon.ko] Fehler 2
make: Leaving directory `/tmp/vmware-config6/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.
 
Old 08-26-2004, 04:35 AM   #5
spariggio82
Member
 
Registered: Apr 2004
Location: Camporotondo Etneo, Sicily
Distribution: SuSE 8.2 SuSE 9.1 Fedora C1 Slackware 10.1 Knoppix 3.9
Posts: 174

Original Poster
Rep: Reputation: 30


I think that something is missing. Fortunately I've solved my problem with my Win ME and I don't need VM Ware anymore.
I think that our release of Linux it's too much modified from the original so vm ware is unable to find some things. To solve your problem you should try to install SuSE 8.2 professional . It has a built-in package of VM ware and the only thing to do after install it is to download a user code from wmware web site. If you need to use it try this way !!!!

Tell me what do you think about it.
 
Old 08-26-2004, 07:15 AM   #6
RobLQ.org
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
i could use my windows on an another partition too, but i wanted to avoid the reboot..
I updated from suse 8.2 and i don't want do go back to it.
I think that i will use my second PC with windows and transfer the required data over the network
until this problem is solved by anyone who knows more about linux and vmware than me.
 
Old 08-26-2004, 08:58 AM   #7
HLVS
Member
 
Registered: Oct 2003
Location: Prague, Czech Republic
Distribution: Gentoo, FreeBSD
Posts: 37

Rep: Reputation: 15
Hi,

there's been a thread about it: http://www.ussg.iu.edu/hypermail/lin...03.3/0055.html
 
Old 08-28-2004, 08:16 AM   #8
MoghNX01
Member
 
Registered: Mar 2004
Location: Leeds, West Yorkshire, UK
Distribution: OpenSUSE 10.3 x86_64
Posts: 69

Rep: Reputation: 15
I've been having this problem for some time.

The header files for the updated kernel (2.6.5-7.104) are apparently located in /usr/src/linux/include. However, there is a file named ".config" which should be present in that directory and isn't.

I know nothing about kernels or compilation, but I'm gonna have a crack at this, so if I find any answers I'll let you guys know.

Chris
 
Old 08-28-2004, 08:38 AM   #9
MoghNX01
Member
 
Registered: Mar 2004
Location: Leeds, West Yorkshire, UK
Distribution: OpenSUSE 10.3 x86_64
Posts: 69

Rep: Reputation: 15
I'm up and running, folks!

Do the following:

- Go to http://ftp.cvut.cz/vmware/
- Download the latest version of vmware-any-any-update (82 when I tried)
- Untar the file
- su to root
- cd /usr/src/linux
- make cloneconfig
- make prepare
- Go to the directory you untarred the vmware-any-any-update file into
- ./runme.pl

And that SHOULD work.

Kudos to xaver for explaining it here
 
Old 08-31-2004, 04:56 AM   #10
RobLQ.org
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
i tried this, but now a "cc1plus" could not be fond:
...
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux-2.6.5-7.104/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Workstation 4.5.2.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config5/vmmon-only'
make -C /usr/src/linux-2.6.5-7.104/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.104'

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.104/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled.

CC [M] /tmp/vmware-config5/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config5/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config5/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config5/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config5/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config5/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config5/vmmon-only/common/task.o
gcc: installation problem, cannot exec `cc1plus': Datei oder Verzeichnis nicht gefunden
make[2]: *** [/tmp/vmware-config5/vmmon-only/common/task.o] Fehler 1
make[1]: *** [_module_/tmp/vmware-config5/vmmon-only] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.104'
make: *** [vmmon.ko] Fehler 2
make: Leaving directory `/tmp/vmware-config5/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.
 
Old 08-31-2004, 09:13 AM   #11
MoghNX01
Member
 
Registered: Mar 2004
Location: Leeds, West Yorkshire, UK
Distribution: OpenSUSE 10.3 x86_64
Posts: 69

Rep: Reputation: 15
^ This goes way over my head. Try asking at VMWare's own forums if you don't garner a response here?
 
Old 08-31-2004, 09:23 AM   #12
HLVS
Member
 
Registered: Oct 2003
Location: Prague, Czech Republic
Distribution: Gentoo, FreeBSD
Posts: 37

Rep: Reputation: 15
Hmm.. if you really can't get it to work, try downloading vanilla kernel, compile it, run it and then try configuration again. It should work with vanilla source.
 
Old 09-02-2004, 04:19 PM   #13
PatomaS
LQ Newbie
 
Registered: Oct 2003
Location: Kuala Lumpur
Distribution: Gentoo
Posts: 27

Rep: Reputation: 15
Hello

I had the same problem with the vmware, fedora core 3 test 1 and kernel 2.6.7-1.478 but with the any any patch it worked fine.

 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vmware looking for c header files for kernel zuessh Debian 4 07-23-2005 09:12 AM
Cannot find C Header files in SuSE 9.2 64-bit when needed for installing VMware W/s matt010wjh Linux - Software 1 12-26-2004 10:25 PM
VMware Config. header files? jasonmcneil0 Linux - Software 3 12-06-2004 01:08 AM
C Header files (VMWare Install) mr.linux.noob Linux - General 2 04-05-2004 12:33 PM
Location of header files running alongside kernel- SuSE 9.0 MoghNX01 Linux - Software 0 03-21-2004 07:00 PM


All times are GMT -5. The time now is 09:28 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration