LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


when running the vmware-config.pl 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, 09:48 AM   #2
phaestos
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, 09:54 AM   #3
psychonic
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, 02:24 AM   #4
venandane
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!!!!!
Alvin
 
Old 07-21-2003, 09: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!
 
  


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


All times are GMT -5. The time now is 02:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration