Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-kernel/linux-headers-2.6.32
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Sat Feb 13, 2010 7:28 pm    Post subject: sys-kernel/linux-headers-2.6.32 Reply with quote

Portage has an update for my system's kernel headers. I am running sys-kernel/gentoo-sources-2.6.31-r9 and I am wondering, should the headers not be the same version as the kernel? Also, I had sys-kernel/linux-headers-2.6.30 before and while I did not have any issues having run sys-kernel/gentoo-sources-2.6.31-r9 with it, I am wondering, why is there a separate kernel headers package? Should it not be redundant with the kernel sources being in /usr/src/linux?
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Sat Feb 13, 2010 8:35 pm    Post subject: Reply with quote

This has come up numerous times before, the linux-headers package is a sanitized version of the kernel headers, safer and more stable for compiling userland code against than what could be under /usr/src/linux.

Also, there's absolutely no need for the linux-headers and the running kernel to be the same version (that would kinda defeat the point).
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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