Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-15-2003, 07:54 AM   #1
LQ Newbie
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
Question compiling vmware module on mandrake 9.1

when running the on mandrake 9.1 after installing the vmware rpm is reads
"None of VMware Workstation's pre-built vmmon modules is suitable for your running kernal. 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)?"
my problem is that i am a total newbie with linux and when it asked
"What is the location of the directory of C header files that match your running kernal?" i did not know where to point it.
it suggested /usr/src/linux/include but that didn't work so i tried looking for it. i then tried /usr/include and it said "The directory of kernal headers (version 2.4.21) does not match your running kernel (version 2.4.21-0.13mdk). Even if the module were to compile successfully, it would not load into the running kernal"
my question is, where are the right C header files in Mandrake 9.1 or how do i make that work?
i'm sorry if this is a stupid question but thank you in advance for any answer
Old 07-15-2003, 08:48 AM   #2
LQ Newbie
Registered: Jul 2003
Distribution: Mandrake / Debian
Posts: 5

Rep: Reputation: 0
hi !

Look for the content of "/usr/src". If there's no *linux* path, your sources are missing. Just run your Mandrake control center and search for *kernel*...then install kernel sources (about 130MB!). Maybe, there's a package containing header (*.h) files only. Look for *kernel headers*.
Old 07-15-2003, 08:54 AM   #3
LQ Newbie
Registered: Jul 2003
Posts: 2

Original Poster
Rep: Reputation: 0
thank you. i will try that. and there was no src folder in there. that is why i looked and happened to find /usr/include which looked like it had what it needed, but it was for the wrong kernel
Old 07-17-2003, 01:24 AM   #4
LQ Newbie
Registered: Jun 2003
Posts: 17

Rep: Reputation: 0
You are in luck!! I had that problem(and so did almost everyone). Its a simple fix really (atleast for me). Download and install the source code for your linux kernel (2.4.21-0.13mdk). Then try to compile your vmware module (or whatever you are trying to do above when you got the problem)
The compiler should now find the necessary files by default!!!!!
Old 07-21-2003, 08:14 PM   #5
Fold Zandura
LQ Newbie
Registered: Feb 2003
Location: Anchorage ,AK
Distribution: SuSE 9.0
Posts: 23

Rep: Reputation: 15
That worked for me. Thanks for the tip!


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
Load vmware module at boot joelescoulie Slackware 3 01-26-2005 09:52 AM
vmware, mandrake 9.0 (finding vmware tools) Gratz Linux - Software 2 03-01-2004 12:03 PM
vmware, and a module question. Kjetil4455 Slackware 9 12-03-2003 10:00 AM
vmware vmnet module. error in slackware 9.0 Ridde Linux - Software 1 04-11-2003 08:56 AM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM > Forums > Linux Forums > Linux - Newbie

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

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