LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-20-2006, 02:46 PM   #1
odd2k
Member
 
Registered: Oct 2006
Distribution: Slackware-11.0
Posts: 35

Rep: Reputation: 15
Question Kernel headers?


Hi,

I was just wondering, why is it that kernel headers are distribution-specific? It seems to me that every linux distro has it's own headers and that in order to compile the kernel you need to get the kernel headers for your distro.

Why is this? And at what point is a kernel header too old to be used to compile a newer kernel? As an example, at the moment I have the 2.6.19.1 source and the 2.6.18 headers for Slackware. I assume these are compatible, but I still have to ask: Wouldn't it be more efficient and easier to keep up with the newer releases if headers were released without being tied to a specific distribution, or is that perhaps the entire point of the headers?

I'd appreciate any links with info about the kernel. How do the distributions make/modify their own headers to make them usable?

Thanks.
 
Old 12-20-2006, 05:58 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Its simple really when you think about it. Each distro uses a different kernel and they add their own patches, so using the kernel stuff from kernel.org or another distro may not be fully compatible with the changes or patches. I am not sure about Slack, but other distros release kernel headers for all the kernels and their upgrades as well.
 
  


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
do kernel headers come with kernel-source package? janos Linux - Kernel 1 05-30-2006 09:38 AM
Errors Compiling Kernel 2.6 on Slackware 10.2 - Old kernel headers required? Dave S. Slackware 8 03-04-2006 12:15 AM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
Difference between kernel-headers kernel-source twinkers Debian 2 06-18-2005 11:20 AM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 06:29 PM

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

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