LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-08-2005, 06:19 AM   #1
isilinux
LQ Newbie
 
Registered: Jan 2005
Posts: 17

Rep: Reputation: 0
error in configure glibc-2.3.4


hello.
I try to install glibc-2.3.4 in redhat 9. But while the configuration, this Error is apeared:

checking for forced unwind support... no
configure: error: forced unwind support is required


my kernel is 2.4.28 & my gcc is 3.2.2
thank you
Ali
 
Old 05-09-2005, 03:01 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
I don't know if it's related, but there is something called libunwind. Perhaps that's what you need.
 
Old 05-10-2005, 11:48 AM   #3
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
Do not attempt to upgrade glibc, instead upgrade your distribution
 
Old 05-10-2005, 02:30 PM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Quote:
Originally posted by mhearn
Do not attempt to upgrade glibc, instead upgrade your distribution
That was also my first thought, but you don't know why he wants to upgrade glibc, it might be a learning exercise or it might be because he HAS to keep using red hat 9.
 
Old 05-10-2005, 06:44 PM   #5
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
glibc is frequently impossible to build with a stock toolchain. It's a "magic" package in that regard: I'd never recommend somebody try to upgrade it. That's a good way to render your system unbootable.

Most software that appears, at first sight, to depend on a new glibc actually doesn't. Recompiling it makes this dependency magically disappear.
 
Old 05-10-2005, 11:25 PM   #6
isilinux
LQ Newbie
 
Registered: Jan 2005
Posts: 17

Original Poster
Rep: Reputation: 0
I dont want to update my glibc ,I want configure and compile it to make LFS System and then build a live CD form that. I use the LFS-BOOK6 but I stoped becuase of this Error.
thanks
 
Old 05-11-2005, 05:28 AM   #7
evil_empire
Member
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 176

Rep: Reputation: 31
I never had any problems updating glibc on my systems. I've done it before on RH9 without a prob.
Try updating gcc to a newer version first and then see.
 
Old 05-11-2005, 07:56 AM   #8
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
There's a difference between updating it via up2date and building from source.

isilinux, see this thread:

http://archives.linuxfromscratch.org...ly/001835.html
 
Old 06-01-2005, 10:19 AM   #9
wjyaries
LQ Newbie
 
Registered: Jun 2005
Distribution: SuSE
Posts: 1

Rep: Reputation: 0
Unhappy error in compiling cross-compile tools, glibc-2.3.5

Hi,

When I make cross-compiler toolchain, I also encouter the same error

.....
checking for unistd.h... no
checking for long double... no
checking size of long double... 0
running configure fragment for sysdeps/i386/elf
checking for i386 TLS support... yes
running configure fragment for nptl/sysdeps/unix/sysv/linux
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... no
configure: error: forced unwind support is required


host kernel: 2.6.8 (SuSE 9.2)
target kernel: 2.6.9
gcc-3.3.4
glibc-2.3.5
glibc-linuxthreads-2.3.5


Although I installed libunwin, result is the same. Would somebody can advise me?

Thank you!


Aries Wang
 
Old 06-01-2005, 10:37 AM   #10
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
Quote:
I dont want to update my glibc ,I want configure and compile it to make LFS System and then build a live CD form that.
From chapter 5.2 of the LFS - 6.0 book

The host must be running at least a 2.6.2 kernel compiled with GCC-3.0 or higher.

Unfortunately you wont be able to build an LFS 6.0 on a system running a 2.4.x kernel.

Mad.
 
Old 06-04-2009, 05:40 PM   #11
infobits
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Thumbs down

Quote:
Originally Posted by madluther View Post
From chapter 5.2 of the LFS - 6.0 book

The host must be running at least a 2.6.2 kernel compiled with GCC-3.0 or higher.

Unfortunately you wont be able to build an LFS 6.0 on a system running a 2.4.x kernel.

Mad.
Hello, just encountered this error too trying to create arm-linux cross compiler. When attempting to run configure for glibc v2.10.1 using gcc 4.4.0 running Debian Linux lenny kernel 2.6.29.2-686.
It still happens! What the heck is with all these glibc packages that have so much trouble making and building them?

I even have errors just trying to build glibc libraries package for my native i686 PC compiler environment let alone trying to use it for cross compilers.

Developers have to fix this inconsistent building of glibc. Does not work for me.
 
Old 07-07-2010, 12:04 PM   #12
Mr. Majestic
Member
 
Registered: Dec 2009
Location: Ohio
Distribution: Ubuntu, slackware, fedora, gentoo
Posts: 53

Rep: Reputation: 17
Quote:
Originally Posted by isilinux View Post
hello.
I try to install glibc-2.3.4 in redhat 9. But while the configuration, this Error is apeared:

checking for forced unwind support... no
configure: error: forced unwind support is required


my kernel is 2.4.28 & my gcc is 3.2.2
thank you
Ali
I'm assuming that since you were doing this for LFS you were working on creating the tool chain to do the rest of the book? if thats the case you have to be sure to pass the following to the configure script:
Code:
 libc_cv_forced_unwind=yes
The linker that was compiled with Binutils cannot be used with Glibc at that state, hence you have to pass this argument to get Glibc to configure properly.
 
  


Reply



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
glibc pass1--configure error keyur Linux From Scratch 5 01-30-2009 05:05 AM
Glibc ./configure ERROR saml Linux From Scratch 1 06-30-2005 03:26 PM
glibc error with ./configure speel Linux - Distributions 1 08-07-2004 07:57 PM
Chapter 6 Glibc error in configure MasterC Linux From Scratch 6 07-17-2003 01:17 PM
glibc compile error (during configure) ixion Linux From Scratch 1 06-08-2003 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:38 AM.

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
Open Source Consulting | Domain Registration