SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As a general rule, installing kernel headers
that are newer than the kernel glibc was compiled with *may* cause problems,
so unless you need these for a particular reason it's best to stick with the
2.4.x kernel-headers package for now.
...and so I've never installed the kernel headers for the 2.6.x kernels. In the current/Changelog it says:
Quote:
glibc-2.3.6-i486-6.tgz: Recompiled against 2.4.33.3 and 2.6.17.13 headers
So does that mean I can/should install the 2.6.17 kernel headers?
That means you CAN install the 2.6.x kernel-headers but you SHOULD stick with the 2.4.x for now, unless you need them for something which explicitly requires the 2.6.x kernel-headers.
I was under the impression that it was an 'or' situation rather than an 'and' situation. As I understand it, you could have either the 2.4 headers or the 2.6 headers that Pat compiled. I, for one, was looking forward to having a 2.4-free system and compiling glibc against both headers was the solution for that.
Everything I find on this subject is the same song I've heard but I haven't found anything that makes much sense to me as far as not being able to compile against both headers. Really... my question is whether or not it is possible to compile against both sets of headers and still get the same glibc package. Logic says it's not possible, I know... but Pat's changelog leads me to believe otherwise.
So basically... despite the changelog saying that glibc is compatible to both... 2.4 headers for glibc and 2.6 headers for kernel-du-jour as usual? I'm very confused.
I don't know how (or if) you can compile against 2 versions - but here's what running /lib/libc-2.3.6.so on my Slackware -current system outputs:
Code:
/lib/libc-2.3.6.so
GNU C Library stable release version 2.3.6, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.6.
Compiled on a Linux 2.4.33.3 system on 2006-09-14.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
linuxthreads-0.10 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
mingdao@test:~$ /lib/libc-2.3.6.so
GNU C Library stable release version 2.3.6, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.6.
Compiled on a Linux 2.4.33.3 system on 2006-09-14.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
linuxthreads-0.10 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
Code:
mingdao@test:~$ /lib/tls/libc-2.3.6.so
GNU C Library stable release version 2.3.6, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.6.
Compiled on a Linux 2.6.17.13 system on 2006-09-14.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
I must admit to more ignorance than understanding here. But someone
such as Alien Bob will come along and add clarity -- bank on it.
I wanted an entire Slackware-11.0 RC4 2.6.17.13 system. This one was
installed with huge26.s, than afterwards these were added:
When you install with huge26.s, the first boot says the kernel is
2.6.17.13. But the only thing in the system relating to 2.6.17.13
at that point is /boot/vmlinuz, which is NOT a symlink. It is only
the kernel image from ../slackware-current/kernels/huge26.s/bzImage.
You must reboot and install everything else or you still have ONLY
the 2.4.33.3 modules, headers, source, and config file.
Reading those files tells me that, at the very least, the 2.4 headers should be installed and the 2.6 headers are a good idea if using any sort of 2.6 kernel.
basically, you wanna stick with the 2.4 headers (even if you're running kernel 2.6) unless you have some specific need for the 2.6 ones... and if you use the 2.6 ones, make sure you use the version glibc was compiled with, not a newer kernel-of-the-day version...
What I was trying to ask in my last post was 2.4 headers are a given and 2.6 headers were an option when using a 2.6 kernel. My question has been answered, though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.