LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-12-2007, 03:20 AM   #1
altella
Member
 
Registered: Dec 2005
Posts: 84

Rep: Reputation: 16
Kernel 2.4 in Debian Etch


Hello colleagues;

I would need to install a 2.4.x kernel in Debian Etch. I am using Debian in a PC104 platform and all the drivers are all for the 2.4.x kernels.

I have tried to compile the 2.4 kernel from sources following the instructions of howtoforge.com, but following the instructions step by step, I am experiencing problemas.

I would appreciate a lot any kind of advise for this issue.

Best Regards,
 
Old 07-12-2007, 03:30 AM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
perhaps if you post the 'problems' you are experiancing, i.e. error messages, log entries!
 
Old 07-12-2007, 05:00 AM   #3
altella
Member
 
Registered: Dec 2005
Posts: 84

Original Poster
Rep: Reputation: 16
The error is this:

In file included from /usr/src/linux/include/linux/unistd.h:9,
from init/main.c:17:
/usr/src/linux/include/asm/unistd.h:360: warning: conflicting types for built-in function ‘_exit’
make[1]: *** [init/main.o] Error 1
make[1]: se sale del directorio `/usr/src/linux'
make: *** [debian/stamp-build-kernel] Error 2
altella:/usr/src/linux#

In google some people state that the error is due to the new gcc compiler, but I don hace any idea about this.

Could anyone help me to solve this problem??

Thank you very much in advance.
 
Old 07-12-2007, 05:02 AM   #4
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
what gcc version are you using?
try down grading to 3.3 perhaps?
 
Old 07-12-2007, 05:25 AM   #5
altella
Member
 
Registered: Dec 2005
Posts: 84

Original Poster
Rep: Reputation: 16
the default gcc for Etch

I thintk it is gcc 4.1.1
How can I go down to the 3.3 and tell the system to use this one instead the default gcc?

Thank in advance
 
Old 07-12-2007, 10:24 AM   #6
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Though you can compile and older kernel to run on Etch, I would suggest doing it a different way. As you've seen, trying to retrofit recent software (gcc 4.1, glibc and many others) backwards is a difficult though not impossible situation.

I would suggest instead of installing Etch to install Sarge, the previous version of Debian stable, now known as old-stable. The disk can still be found, just sick google on debian sarge. it defaults to an install with a 2.4.27 kernel. You may have some hardware issues if your computer is less than 2 years old, or running on satas, but nothing that is insurmountable.

That's probably how I would do it. I'd also check if somebody released updated drivers on their own. 2.4 is really old now, I think 2.6 came out around 3 years ago, so for nothing to have been updated in that amount of time is a bit strange.

Peace,
JimBass
 
  


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
LXer: How To Compile A Kernel - Debian Etch LXer Syndicated Linux News 1 02-05-2008 11:07 PM
Post-debian Etch install -- no kernel headers. Nathan1993 Debian 3 03-03-2007 01:42 PM
Hello everyone ... boot problem with lilo, Debian etch, and 2.6.18 kernel waellison LinuxQuestions.org Member Intro 1 01-09-2007 04:07 PM
Debian etch rtLinux kernel 2.6.9: error in make Maria_Teruel Debian 0 12-11-2006 11:17 AM
ISOLinux from Debian etch cannot find kernel image (but kernel is in its place)! Why? *Dark Dragon* Debian 4 11-07-2005 09:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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