LinuxQuestions.org
Help answer threads with 0 replies.
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 12-20-2003, 10:13 AM   #1
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
Compiling VMware in 2.6.0 kernel?


is it possible to compile the current version of vmware for linux 2.6.0?

when i try, i use the command vmware-config.pl --compile, but then get an error about libs and header files...

i am assuming that the problem is similar to compiling nvidia drivers on 2.6, so is there a patch that is downloadabe to solve this or should i wait for a new release that may support the new kernel?
 
Old 12-20-2003, 04:21 PM   #2
starcrzr
Member
 
Registered: Dec 2002
Posts: 35

Rep: Reputation: 15
check out the VMware section

http://thomer.com/linux/migrate-to-2.6.html
 
Old 12-21-2003, 04:27 PM   #3
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Original Poster
Rep: Reputation: 30
yes, very nice! thx for the link

For future reference, the modules will compile as long as you replace all instances of /proc/ksyms with /proc/kallsyms in /usr/bin/vmware-config.pl

there is a link on that site to a place with a vmware fixer, i tried that but it did not work with my version of vmware (4.05), but i'm guessing it will work with other ones

however, the only need for that patch was to get the vmnet modules to compile, but if the ones that already come with vmware compile with the above changes, then you won't need the patch
 
Old 12-23-2003, 02:05 PM   #4
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Original Poster
Rep: Reputation: 30
okay, guess i got too excited when vmware compiled

vmware (version 4.05 and 4.01) both compile under 2.6 kernel, but neither of them are able to access my cd drive or my dvd drive

i cannot figure out why... my cd drive and dvd drive both work perfectly for everything else; i even tried reenabling ide-scsi emulation but to no avail...

has anyone been able to do an actual OS install in vmware under kernel 2.6?
 
Old 01-17-2004, 07:04 AM   #5
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
I am trying as well...and I checked out the above link. But for some reason I can't even get vmware to recognize there is a kernel source (when it asks where the source is - default /usr/src/linux/include...which is where my headers are...it says the headers like asm and net etc aren't there! But they are)
 
Old 01-17-2004, 07:30 AM   #6
atko
Member
 
Registered: Feb 2003
Location: UK
Distribution: Currently Fedora Core 3
Posts: 136

Rep: Reputation: 15
They can't be there if it is saying they are not. Try doing a search for your include directory, I tryed it after upgrading the kernel but found the source was installed in a slightly different place to the previous one
e.g. instead of /usr/source/linux/include it was something like /usr/source/include, it was a directory out or something.

Good Luck
 
Old 01-17-2004, 09:07 AM   #7
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
I've done a search...

I have /usr/src/linux-2.6.01mdk/include and I have a symlink which ends up in the same place (ie: /usr/src/linux->./linux-2.6.01mdk) and I've looked under include and all the headers are there.
 
Old 01-17-2004, 01:30 PM   #8
mjordan
LQ Newbie
 
Registered: Jan 2004
Location: Pescara (Italy)
Posts: 10

Rep: Reputation: 0
Great, I didn't know of that link...
 
  


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
Debug Linux kernel in vmware (two machines in vmware)?? cyu021 Programming 0 03-30-2005 07:46 PM
compiling vmware-configure.pl novacrasher Linux - Software 3 02-08-2005 12:29 PM
Fedora running VMware/GCC compiling atko Fedora 3 12-14-2003 06:49 AM
compiling vmware module on mandrake 9.1 psychonic Linux - Newbie 4 07-21-2003 08:14 PM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM

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

All times are GMT -5. The time now is 04:09 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