LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-12-2006, 04:09 PM   #1
mhelal
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Rep: Reputation: 0
Question Compiling linux-2.6.18.1


Hi

I have linux version 2.6.18-1.2200.fc5 #1 Sat Oct 14 16:59:26 and was trying to install VMware-player-1.0.2-29634, and it said :

None of the pre-built vmmon modules for VMware Player is suitable for your
running kernel

it requested to rebuild the module after rebuilding the kernel for my machine, So I downloaded the kernel linux-2.6.18.1 (I think this is the closest match to what I have), and started compiling it, the configuration step was done by loading the old configuration, while making the kernel I received these errors:

ld: kernel/built-in.o: No such file: No such file or directory
make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [_all] Error 2

I have a /usr/src/redhat/ that include folders: BUILD, RPMS, SOURCES, SPECS, SPRMS, where the SOURCES folder is empty, because I didn't download the source or compiled before

So, I extracted the the new Kernel source to /usr/src/linux-2.6.18.1, and started building from there, I am just worried about using wrong paths as well,

any help is very much appreciated, thank you in advance,

Regards,

Manal

Last edited by mhelal; 11-12-2006 at 04:11 PM.
 
Old 11-13-2006, 09:45 AM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
You can try this, no garranties here. To configure a new kernel with against an old one.
1. Extract the kernel in /usr/src (I think that is the where RH keeps the source), run make oldconfig. Answer all the questions.
2. Then compile and build the kernel.

The make oldconfig should pull the .config file from the /usr/src/linux directory. So do not change the link until after to build the kernel. I have have done it once this way and messed it up a couple time. I am not kernel expert though.
 
Old 11-20-2006, 04:45 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Check this post out. Do the vmware-any-any-tools thing. Then if still complains look down further and the reference to version.h. Let me what happens. The loaction is /usr/src/kernel-version/include/linux/version.h

Brian
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling c++ in linux deapee Programming 14 08-07-2012 11:05 AM
compiling linux FMAlchemist Linux - General 3 09-21-2006 06:06 AM
compiling c in linux mmattax Linux - General 1 02-09-2006 09:37 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 07:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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