LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-23-2005, 07:19 AM   #1
dhave
Member
 
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.
testing/packages/linux-2.6.10/kernel-headers-2.6.10-i386-1.tgz:
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 07:21 AM.
 
Old 01-23-2005, 07:16 PM   #2
__J
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, 04:59 AM   #3
dhave
Member
 
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.

Thanks.
 
  


Reply


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 04:32 PM
Recompile glibc with larger stack size? insectile Slackware 3 07-20-2004 12:34 PM
How to recompile glibc ? oskernel Linux - Software 3 03-01-2004 09:24 AM
upgrading glibc. what else do i need to recompile. whansard Linux From Scratch 1 10-18-2003 03:15 PM
How do I recompile the kernel? dake-bonoist Linux - Newbie 3 09-28-2003 08:31 AM


All times are GMT -5. The time now is 08:24 PM.

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