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 Kernel & Hardware
View previous topic :: View next topic  
Author Message
jancici
Apprentice
Apprentice


Joined: 27 Jan 2004
Posts: 284
Location: Slovakia

PostPosted: Fri Sep 10, 2004 8:52 pm    Post subject: linux-headers package Reply with quote

hi, I am little bit confused,

I am using kernel 2.6.8.1 and I did find out that I have installed packege linux-headers(version 2.4.21-r1) and I also find out today that there is a linux26-headers(version is 2.6.7-r4).

what should I do, unmerge linux-headers and install linux26-headers?

and if I will do this, is necesary to rebuild any another package, something like gcc, glibc ....

thanks for help
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54797
Location: 56N 3W

PostPosted: Fri Sep 10, 2004 8:57 pm    Post subject: Reply with quote

jancici,

The linux-headers package is referenced by most thing that need to compile against the kernel. This ensures that all packages in the system that build against the kernel are build against the same kernel.
Thats important.
You are then free to change kernes, without making a mess of things, since each kernel comes with its own headers.
There is no advantage to upgrading your headers. You will need to rebuild other packages too e.g. glibc
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
spb
Retired Dev
Retired Dev


Joined: 02 Jan 2004
Posts: 2135
Location: Cambridge, UK

PostPosted: Fri Sep 10, 2004 9:14 pm    Post subject: Reply with quote

The only real advantage in upgrading to linux26-headers is that you get to use NPTL for threading. It's unquestionably an improvement over linuxthreads (the old default), but you probably wouldn't notice any difference unless you make heavy use of java or other insanely multithreaded programs.
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Tue Sep 21, 2004 12:13 pm    Post subject: Reply with quote

When I unmerge 2.4 headers and emerge linux26-headers and then like to install glibc, emerge wants also install the old 24 headers... whats wrong? do i need both or how can i tell emerge to NOT install the old ones?
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
charliecompany
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2004
Posts: 106

PostPosted: Wed Oct 06, 2004 8:14 pm    Post subject: Reply with quote

did you emerge the headers with the --oneshot option?
_________________
The only difference between genious and stupidity is that stupidity has no limits.
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