LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 01-30-2006, 07:14 AM   #1
shankara
LQ Newbie
 
Registered: Jan 2006
Posts: 17

Rep: Reputation: 0
Question glibc 2.3.4 error


hello,
i got this error while installing

basic system software-Glibc-2.3.4-20040701

when i typed this


../glibc-2.3.4-20040701/configure --prefix=/usr \
--disable-profile --enable-add-ons=nptl --with-tls \
--with-__thread --enable-kernel=2.6.0 --without-cvs \
--libexecdir=/usr/lib/glibc \
--with-headers=/tools/glibc-kernheaders

i got this error message


checking for tls_model attribute... yes
checking for libgd... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long double... yes
checking size of long double... configure: error: cannot compute sizeof (long double), 77
See `config.log' for more details.
root @ wrkstn8% vi config.log root @ wrkstn8% make make: *** No targets specified and no makefile found. Stop.
root @ wrkstn8%
 
Old 02-01-2006, 01:14 AM   #2
newcomer4
LQ Newbie
 
Registered: Jan 2006
Posts: 21

Rep: Reputation: 15
I am also getting the same error.
Plz help me out
 
Old 02-02-2006, 07:11 AM   #3
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
What version of LFS are you building?
What is the platform?
Try build the latest stable 6.1.1 if you are building a devel version of LFS
 
Old 03-06-2006, 10:00 AM   #4
lalitp
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: Disabled
I got rid of the problem by executing:

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tools/lib
export LD_LIBRARY_PATH
 
Old 04-01-2006, 10:37 AM   #5
chuckler
LQ Newbie
 
Registered: Jul 2004
Location: Mangalore, India
Distribution: LFS,Gentoo,Slackware 10.0
Posts: 12

Rep: Reputation: 0
glibc error LFS 6.1.1 ch. 6.11

I have this exact same problem..... anyone have any solution for this?
my config.log has the exact same output as the one posted above...
any idea what could be the problem?

somone solved this problem by linking.. is it a safe method? or will it break anything later even if it works now?
.. i tried the LD_LIBRARY thing mentioned here.. but no use. any ideas?
 
Old 04-01-2006, 02:54 PM   #6
chuckler
LQ Newbie
 
Registered: Jul 2004
Location: Mangalore, India
Distribution: LFS,Gentoo,Slackware 10.0
Posts: 12

Rep: Reputation: 0
glibc error LFS 6.1.1 Chapter 6.11

... I went back and redid the second pass of gcc.. after which the configure worked fine.. but the make gave zillions of errors...

using LFS 6.1.1

/libc-symbols.h -DNOT_IN_libc=1 -o /sources/glibc-build/elf/tst-dlmopen3.o -MD -MP -MF /sources/glibc-build/elf/tst/tst-dlmopen3.o
make[2]: Target `tests' not remade because of errors.
make[2]: Leaving directory `/sources/glibc-2.3.4/elf'
make[1]: *** [elf/tests] Error 2
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc-2.3.4'
make: *** [check] Error 2

root:/sources/glibc-build# grep Error glibc-check-log

make[1]: *** [csu/tests] Error 2
make[1]: *** [iconv/tests] Error 2
make[1]: *** [iconvdata/tests] Error 2
make[1]: *** [locale/tests] Error 2
make[1]: *** [localedata/tests] Error 2
make[1]: *** [assert/tests] Error 2
make[1]: *** [ctype/tests] Error 2
make[1]: *** [intl/tests] Error 2
make[2]: *** [/sources/glibc-build/catgets/de.msg] Error 1
make[1]: *** [catgets/tests] Error 2
make[1]: *** [math/tests] Error 2
make[1]: *** [setjmp/tests] Error 2
make[1]: *** [signal/tests] Error 2
make[1]: *** [stdlib/tests] Error 2
make[1]: *** [stdio-common/tests] Error 2
make[1]: *** [libio/tests] Error 2
make[2]: *** [/sources/glibc-build/dlfcn/glreflib1.so] Error 1
make[2]: *** [/sources/glibc-build/dlfcn/glreflib2.so] Error 1
make[2]: *** [/sources/glibc-build/dlfcn/failtestmod.so] Error 1
make[2]: *** [/sources/glibc-build/dlfcn/errmsg1mod.so] Error 1
make[2]: *** [/sources/glibc-build/dlfcn/modcxaatexit.so] Error 1
make[2]: *** [/sources/glibc-build/dlfcn/modstatic.so] Error 1
make[1]: *** [dlfcn/tests] Error 2
make[1]: *** [malloc/tests] Error 2
make[1]: *** [string/tests] Error 2
make[1]: *** [wcsmbs/tests] Error 2
make[1]: *** [timezone/tests] Error 2
make[1]: *** [time/tests] Error 2
make[1]: *** [dirent/tests] Error 2
make[1]: *** [grp/tests] Error 2
make[1]: *** [pwd/tests] Error 2
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[1]: *** [posix/tests] Error 2
make[1]: *** [io/tests] Error 2
make[1]: *** [misc/tests] Error 2
make[1]: *** [gmon/tests] Error 2
make[1]: *** [gnulib/tests] Error 2
make[1]: *** [wctype/tests] Error 2
make[1]: *** [argp/tests] Error 2
make[1]: *** [crypt/tests] Error 2
make[2]: *** [/sources/glibc-build/nptl/tst-tls4moda.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls4modb.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls5mod.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls5moda.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls5modb.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls5modc.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls5modd.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls5mode.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls5modf.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-_res1mod1.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-execstack-mod.so] Error 1
make[1]: *** [nptl/tests] Error 2
make[1]: *** [resolv/tests] Error 2
make[1]: *** [nss/tests] Error 2
make[1]: *** [rt/tests] Error 2
make[1]: *** [debug/tests] Error 2
make[1]: *** [inet/tests] Error 2
make[1]: *** [login/tests] Error 2
make[2]: *** [/sources/glibc-build/elf/tst-piemod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/dl-load.os] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-array2dep.so] Error 1
make[2]: *** [/sources/glibc-build/elf/constload2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/constload3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/unloadmod.so] Error 1
make[2]: *** [/sources/glibc-build/elf/dep3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/vismod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/vismod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/vismod3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/nodelmod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/nodelmod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/nodelmod4.so] Error 1
make[2]: *** [/sources/glibc-build/elf/nodel2mod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/nodel2mod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/nodlopenmod.so] Error 1
make[2]: *** [/sources/glibc-build/elf/filtmod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldepmod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldepmod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldepmod3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldepmod4.so] Error 1
make[2]: *** [/sources/glibc-build/elf/nextmod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep4mod3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep4mod4.so] Error 1
make[2]: *** [/sources/glibc-build/elf/neededobj5.so] Error 1
make[2]: *** [/sources/glibc-build/elf/unload2dep.so] Error 1
make[2]: *** [/sources/glibc-build/elf/ltglobmod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/pathoptobj.so] Error 1
make[2]: *** [/sources/glibc-build/elf/dblloadmod3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep6mod0.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep7mod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep7mod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod4.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod7.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod9.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod11.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod13.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod14a.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod14b.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod15a.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod15b.so] Error 1
make[2]: *** [/sources/glibc-build/elf/circlemod3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/circlemod3a.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep8mod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep8mod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep9mod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-alignmod.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-execstack-mod.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-deep1mod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-deep1mod3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/check-textrel.out] Error 1
make[1]: *** [elf/tests] Error 2
make: *** [check] Error 2
root:/sources/glibc-build# readelf -l /tools/bin/gcc | grep 'ld-linux'
[Requesting program interpreter: /tools/lib/ld-linux.so.2]
any ideas as to what i might have done wrong?
should i reinstall everything i did since the gcc pass two in chapter 5?
at my wit's end..

Last edited by chuckler; 04-01-2006 at 11:04 PM.
 
Old 04-01-2006, 10:59 PM   #7
chuckler
LQ Newbie
 
Registered: Jul 2004
Location: Mangalore, India
Distribution: LFS,Gentoo,Slackware 10.0
Posts: 12

Rep: Reputation: 0
i am using the LFS 6.1.1 book and am stuck at chapter 6.11..
the tests for glibc fail...
however once I started the install process of glibc in chapter 6.11 from scratch again, most of the errors were reduced... now make check -k gives the following errors

grep Error glibc-check-log
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/nptl/tst-clock2.out] Error 1
make[1]: *** [nptl/tests] Error 2
make: *** [check] Error 2

any idea what the problem could be?
thanks in advance.
 
  


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
GLIBC error Drunkalot Linux From Scratch 2 11-02-2005 06:27 PM
glibc error ChrisR(SQL DBA) Linux - Newbie 4 11-22-2004 11:22 PM
error in glibc faraday83 Linux From Scratch 3 10-10-2004 11:23 PM
glibc-2.3.2 error rahul_jain_9684 Linux From Scratch 0 08-15-2003 11:39 PM
glibc 2.3.2 error rahul_jain_9684 Linux From Scratch 3 08-06-2003 10:36 PM


All times are GMT -5. The time now is 07:39 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