View previous topic :: View next topic |
Author |
Message |
jancici Apprentice
Joined: 27 Jan 2004 Posts: 284 Location: Slovakia
|
Posted: Fri Sep 10, 2004 8:52 pm Post subject: linux-headers package |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54799 Location: 56N 3W
|
Posted: Fri Sep 10, 2004 8:57 pm Post subject: |
|
|
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 |
|
|
spb Retired Dev
Joined: 02 Jan 2004 Posts: 2135 Location: Cambridge, UK
|
Posted: Fri Sep 10, 2004 9:14 pm Post subject: |
|
|
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 |
|
|
Phlogiston Veteran
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Tue Sep 21, 2004 12:13 pm Post subject: |
|
|
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 |
|
|
charliecompany Tux's lil' helper
Joined: 10 Apr 2004 Posts: 106
|
Posted: Wed Oct 06, 2004 8:14 pm Post subject: |
|
|
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 |
|
|
|