LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-30-2003, 11:02 PM   #1
quantumposition
LQ Newbie
 
Registered: Sep 2003
Posts: 20

Rep: Reputation: 0
cant compile kernel


hey there,
using gcc 3.22
kernel 2.4.18
rh 9
I'm trying to build the smallest kernel i can, just to experiment, and get some experience. Are there dependencies in the kernel config options??? For some reason, no matter what i try my compile errors out. Sorry I dont have the error messages right now (at home). At one point I even diabled all options and enabled just the 386 arch, and it still wont compile. Every time I use a different option, I get a different error. Am I missing something??? Do i need to refresh my source? ( i did twice already) Should I update gcc?
 
Old 09-30-2003, 11:45 PM   #2
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
Why don't you try 2.4.22 kernel? It's the latest stable one.
 
Old 10-01-2003, 05:21 AM   #3
quantumposition
LQ Newbie
 
Registered: Sep 2003
Posts: 20

Original Poster
Rep: Reputation: 0
why wouldnt my current version work? its the one that shiipped w/ my distro.... I'm gonna give 2.4.22 a shot anyway, see what happens.
 
Old 10-01-2003, 05:40 AM   #4
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
howzit

well the error mesg will help but when u are able to send it will be gr8 temporary measure why not use the up2date which will install Kernel-2.4.20-20.9 for u automatically. Yip i understand that u are trying to streamline your kernel. Also if u can try show the steps that u take just to be sure u have not missed something.

chow
 
Old 10-01-2003, 06:28 AM   #5
quantumposition
LQ Newbie
 
Registered: Sep 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Like I said the err msg is differnet everytime, it'll fail on a diferent routine if i add a differnent option or remove one. I run the standard makes:make mrproper; make config;make dep, make clean, make bzImage. Then I wait for a 1/2 hr and it fails, again and again. I'll try to post some err msgs later on, but its not anything specific, its always different. ne1 else ever have this problem?
 
  


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
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
I want to compile 2.6 kernel and keep everything from 2.4 intact (dual kernel system) sina_kish Linux - Software 7 02-02-2005 09:01 AM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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