Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-23-2005, 08:19 AM   #1
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Rep: Reputation: 31
glibc recompile for kernel 2.6.10?

In the latest Current changelog, Pat wrote this:

"Upgraded to Linux 2.6.10.
Upgraded to Linux 2.6.10.
(see the warning on this -- glibc should really be recompiled to make
use of these headers)."

I've been using a custom-compiled kernel 2.6.10 for a while now. I have several questions:

(1) Should I recompile glibc to make use of the headers for my new kernel?

(2) If so, how should I configure the build? One option is apparently critical: --enable-add-ons=linuxthreads. However, there are other options having to do with library location, etc., that I don't know enough about.

Thanks for the advice.

Last edited by dhave; 01-23-2005 at 08:21 AM.
Old 01-23-2005, 08:16 PM   #2
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Personally, I wouldn't if you've never compiled a glibc before ( it's not too hard, but if you screw up your system is hosed).

The recompiling with certain headers is during the glibc configure, you can specify what kernel headers you want glibc to be built against. but to do this, since slack 10's headers in /usr/include are from a 2.4 kernel, you would have to change the headers in /usr/include to the newer linux-2.6 headers. I've never tried to change them from stock, ( I've personally only done this when building new systems like LFS), but I'd imagine you would have a few problems down the road ( but I could be wrong on this).
Old 01-24-2005, 05:59 AM   #3
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Original Poster
Rep: Reputation: 31
I guess in this case I'll let well enough alone. Pat's comment in the changelog had me thinking that anyone who's using a recent kernel should recompile glibc accordingly. But I see now that I misunderstood.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 05:32 PM
Recompile glibc with larger stack size? insectile Slackware 3 07-20-2004 01:34 PM
How to recompile glibc ? oskernel Linux - Software 3 03-01-2004 10:24 AM
upgrading glibc. what else do i need to recompile. whansard Linux From Scratch 1 10-18-2003 04:15 PM
How do I recompile the kernel? dake-bonoist Linux - Newbie 3 09-28-2003 09:31 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration