LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   compiling glibc-2.4 error (http://www.linuxquestions.org/questions/slackware-14/compiling-glibc-2-4-error-427565/)

aihaike 03-23-2006 02:26 AM

compiling glibc-2.4 error
 
Hello,

I've juste compile gcc-4.1.0 successfully in order to compile glibc-2.4.
Then I've started to compile glibc-2.4 setting up CC variable and --prefix option and then I got those error messages:

cannot set up thread-local storage: set_thread_area failed when setting up thread-local storage

make[2]: *** [/home/egermane/glibc-2.4/glibc-2.4_build/sunrpc/xbootparam_prot.stmp] Error 127
make[2]: Leaving directory `/home/egermane/glibc-2.4/glibc-2.4_source/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/home/egermane/glibc-2.4/glibc-2.4_source'
make: *** [all] Error 2


Does someone has any idea about it?
What's wrong?
Regards,

Haike.

jong357 03-23-2006 10:48 PM

Hi aihaike, I googled your error and came up with this:

http://www.redhat.com/archives/phil-.../msg00020.html

Ulrich Drepper is the main dev for glibc so when he actually has any advice to offer beesides "IT WORKS FOR ME", It's best to listen. That's still a fairly cryptic response but atleast he gave one instead of being a prick about it... ;)

This is a really good link and you aught to read the first few paragraphs... Actually, you should REALLY read the entire page. Your annswer lies therein.. Notice the comment about U.D. It seems I'm not the only one who thinks he is an arse...

http://hr.uoregon.edu/davidrl/glibc.html

As the author implies, It wouldn't suprise me if tons of binaries break on your system after a sucessfull MAJOR # upgrade. I've taken to building my own distro these days and when I build a new glibc, I build ALL new packages against said glibc, especially if I use new kernel headers as well. Anyway, if you still want to press on, good luck...

Remember google, it's your friend when it comes to tracking down errors.

aihaike 03-23-2006 11:49 PM

Thank you for your answer!!
You're right, but after updating (or upgrading) my system with slackpkg severals programs such as the gimp, mozilla, firefox, gaim can't be loaded!!!
The message is the following:

gaim: /lib/libc.so.6: version 'GLIBC_2.4' not found (required by /usr/lib/....)

I really don't want update glibc but what should I do next?
Cheers,

Haike.

jong357 03-24-2006 04:04 AM

You got me there... gaim shouldn't be wanting a new glibc-2.4... It's not in current and Pat makes refrence to not using glibc-2.4 for awhile....

I stay away from automated package updaters because they tend to cause more problems than anything. I also make it a point to avoid automated package posts like the plauge... :p Look in /var/log/removed_packages and look for 'updated' stuff. Try to figure out what is going on there first. It's a good place to start.


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