Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
linux-headers package
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
wolf550e
n00b
n00b


Joined: 20 May 2005
Posts: 17
Location: Israel

PostPosted: Wed Oct 05, 2005 9:17 am    Post subject: linux-headers package Reply with quote

Maybe it's a silly question, but why do we have a separate package for linux-headers? Don't all those include files come from the kernel source? And we have the kernel source installed, why not get the headers from that? Won't the "best" headers come from the version of the kernel I'm using, rather than two version back (presently my kernel is 2.6.13, headers are 2.6.11)?

I don't know where's the best place to ask such a question.
Back to top
View user's profile Send private message
alistair
Retired Dev
Retired Dev


Joined: 15 Jul 2005
Posts: 869

PostPosted: Wed Oct 05, 2005 9:31 am    Post subject: Reply with quote

Well i can't say for certain that this is the right answer but i know that some programs/drivers require kernel headers for compilation. They are therefore useful if you dont want the full kernel sources but still need to compile something. For instance if you have very very limited hard drive space. besides from this point im not to sure

I do agree that for most ppl (including yourself) the kernel-headers are unneccessary.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9236
Location: beyond the rim

PostPosted: Wed Oct 05, 2005 9:43 am    Post subject: Re: linux-headers package Reply with quote

wolf550e wrote:
Don't all those include files come from the kernel source?

yes
Quote:
And we have the kernel source installed, why not get the headers from that?

Because that would break stuff.
Quote:
Won't the "best" headers come from the version of the kernel I'm using, rather than two version back (presently my kernel is 2.6.13, headers are 2.6.11)?

No. See http://uwsg.iu.edu/hypermail/linux/kernel/0007.3/0587.html for details.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4927
Location: Gothenburg, Sweden

PostPosted: Wed Oct 05, 2005 9:46 am    Post subject: Reply with quote

Please see and follow up to topic 199224.

Moved from Portage & Programming to Duplicate Threads.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum