LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-26-2004, 10:01 PM   #1
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
2.4 or 2.6kernel headers


below is an excerpt from the LFS book.
Quote:
Currently, you can't build an LFS system by using linux-2.6.x instead of linux-2.4.x. This is because the kernel headers from 2.6.x are incompatible with other programs in LFS-5.x and will lead to compile errors. It is recommended to use linux-2.4.x in your build until LFS releases a new version which includes the 2.6.x kernel; according to the roadmap this will be LFS-6.0.
my question if 2.6 headers cause problems with the LFS build, why don't my 2.6 headers cause problems when I build programs on my gentoo system.

I am basing my assumption that the kernel headers are in my kernel source, is that correct?

Last edited by shanenin; 01-26-2004 at 10:09 PM.
 
Old 01-26-2004, 10:19 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Gentoo updated the rest of there packages for 2.5/2.6 kernels long ago That is why.
 
Old 01-26-2004, 10:31 PM   #3
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
so gentoos packages can be compiled with 2.4 or 2.6 headers
 
Old 01-26-2004, 10:44 PM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Well, it isn't always true, but most packages don't use kernel headers. For the most part modules and the module utilities are what reallly need to be updated, and the gentoo modutils and many of the drivers you can install with emerge (But not all) support both 2.4 and 2.6 kernel series.

Gentoo is "2.6 Ready" much like Slackware 9.1 and some other distributions new versions claim to be.

Take the nvidia drivers for example, if you emerge nvidia-kernel with a 2.6 kernel running you will notice it applies patches to make it work that it doesn't apply if you use a 2.4 kernel...

Last edited by jtshaw; 01-26-2004 at 10:46 PM.
 
  


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
function headers exvor Programming 11 08-01-2005 04:59 PM
headers stabu Linux - Newbie 3 06-16-2005 05:47 PM
in the bridge mode of the linux 2.6kernel,how can I use iptables to filter "physin" fullbow Linux - Networking 0 06-01-2005 07:19 AM
Kernel Headers for 2.6 devinWhalen Mandriva 7 04-23-2004 10:35 AM
what are headers? mep]-[isto Linux - Newbie 7 12-14-2003 06:26 PM


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