LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-26-2005, 10:29 AM   #1
Minlexx
LQ Newbie
 
Registered: Aug 2005
Location: Russia
Posts: 6

Rep: Reputation: 0
Compiling glibc-2.3.5 on RedHat8 with gcc 3.3.4


[glibc-build]# ../glibc-2.3.5/configure --prefix=/usr --enable-add-ons=linuxthreads
....

[glibc-build]# make
...
...sysdep.s:35: Error: no such instruction: `entry (__syscall_error)'

configure succeeds, but make fails.... ((

gcc -v output:
Configured with: ../gcc-3.4.4/configure --enable-shared --enable-threads --enable-nls
Thread model: posix
gcc version 3.4.4

OS: RedHatLinux 8, 2.4.18-14

Where is the problem? Where can I find information about this problem?... :-\
 
Old 09-26-2005, 09:01 PM   #2
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Its probably because you trying to compile a brand new glibc on a very old system. Honestly you'd be better off upgrading to something like Centos4 (if its a server) or Fedora 4 (if its your desktop).
 
Old 09-27-2005, 02:30 AM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Yes, the RH8 kernel is too old to have the new Linux threads model supported. As tkedwards says, you really ought to update your distro to one using a 2.6 kernel. But if you really don't want to, you must read this page and understand it. A bad glibc upgrade can render your system completely inoperable.
 
Old 09-27-2005, 09:39 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,455
Blog Entries: 4

Rep: Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918
You can't compile glibc-2.3.5 on a RedHat8 (2.4.x) kernel. You have to be running a 2.6.x kernel.

Since glibc is a very tricky thing to update, by far the easiest thing to do would be to update the system altogether ... using the distro of your choice.

The odds are rather excellent that your system will be borked by following those directions. If you really know your stuff and have plenty of spare hair, you can work your way out of it, but this is the "newbie" forum...
 
Old 09-27-2005, 03:22 PM   #5
Minlexx
LQ Newbie
 
Registered: Aug 2005
Location: Russia
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks to everybody.
 
  


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
Compiling glibc-2.3.5 or glibc 2.3.5-r1 on Gentoo fails ghrellin Linux - Software 2 07-19-2005 01:01 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 11:38 AM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
How do I install gcc? (redhat8.0) jing Linux - Newbie 6 06-22-2004 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration