This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

errors while building glibc-2.7


Hello!
I am trying to build glibc-2.7 but it fails to make, I am building it with the glibc-libidn-2.7 addon.
wehen I type "make" I got following error at the end:

...............
a - login/getutmpx.os
a - login/getutmp.os
a - elf/dl-iteratephdr.os
a - elf/dl-addr.os
a - elf/dl-profstub.os
a - elf/dl-libc.os
a - elf/dl-sym.os
a - elf/dl-tsd.os
a - elf/dl-vdso.os
ranlib /media/sda1/usr/src/glibc-build/libc_pic.a
gcc   -nostdlib -nostartfiles -r -o /media/sda1/usr/src/glibc-build/elf/librtld.map.o '-Wl,-(' /media/sda1/usr/src/glibc-build/elf/dl-allobjs.os /media/sda1/usr/src/glibc-build/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/media/sda1/usr/src/glibc-build/elf/librtld.mapT
/media/sda1/usr/src/glibc-build/libc_pic.a(init-first.os):(.data+0x0): multiple definition of `__libc_multiple_libcs'
/media/sda1/usr/src/glibc-build/elf/dl-allobjs.os:/media/sda1/usr/src/glibc-2.7/elf/rtld.c:644: first defined here
/media/sda1/usr/src/glibc-build/libc_pic.a(dl-addr.os): In function `_dl_addr_inside_object':
/media/sda1/usr/src/glibc-2.7/elf/dl-addr.c:157: multiple definition of `_dl_addr_inside_object'
/media/sda1/usr/src/glibc-build/elf/dl-allobjs.os:/media/sda1/usr/src/glibc-2.7/elf/dl-open.c:699: first defined here
collect2: ld returned 1 exit status
make[2]: *** [/media/sda1/usr/src/glibc-build/elf/librtld.map] Error 1
make[2]: Leaving directory `/media/sda1/usr/src/glibc-2.7/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/media/sda1/usr/src/glibc-2.7'
make: *** [all] Error 2


when I type "make test", I got the following error:

...........................
         gcc -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes      -Iinclude  -I/media/sda1/usr/src/glibc-build -Isysdeps/x86_64/elf -Inptl/sysdeps/unix/sysv/linux/x86_64 -Isysdeps/unix/sysv/linux/x86_64 -Isysdeps/unix/sysv/linux/wordsize-64 -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Inptl/sysdeps/unix/sysv -Isysdeps/unix/sysv -Isysdeps/unix/x86_64 -Inptl/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Isysdeps/x86_64/fpu -Inptl/sysdeps/x86_64 -Isysdeps/x86_64 -Isysdeps/wordsize-64 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Inptl   -Ilibio -I. -I /lib/modules/2.6.24-19-generic/build/include -D_LIBC_REENTRANT -include include/libc-symbols.h       -E -DASSEMBLER tls.make.c \
               -MD -MP -MT '$(common-objpfx)tls.make' -MF /media/sda1/usr/src/glibc-build/tls.make.dT \
         | sed -n '/@@@/{s/@@@[  ]*\(.*\)@@@/\1/;s/[     ]*$//p;}'; \
         echo 'common-generated += tls.make'; \
         sed -e 's@ /media/sda1/usr/src/glibc-build/@ $(common-objpfx)@g' -e 's@^/media/sda1/usr/src/glibc-build/@$(common-objpfx)@g' -e 's@  *\([^     \/$][^  \]*\)@ $(..)\1@g' -e 's@^\([^   \/$][^  \]*\)@$(..)\1@g' /media/sda1/usr/src/glibc-build/tls.make.dT; \
         rm -f /media/sda1/usr/src/glibc-build/tls.make.dT)> /media/sda1/usr/src/glibc-build/tls.makeT
mv -f /media/sda1/usr/src/glibc-build/tls.makeT /media/sda1/usr/src/glibc-build/tls.make
make[1]: Leaving directory `/media/sda1/usr/src/glibc-2.7'
make[1]: Entering directory `/media/sda1/usr/src/glibc-2.7'
make[1]: *** No rule to make target `test'.  Stop.
make[1]: Leaving directory `/media/sda1/usr/src/glibc-2.7'
make: *** [test] Error 2


--------------



when I type "make check", I got the following error:

.............................
    -I../include -I/media/sda1/usr/src/glibc-build/csu -I/media/sda1/usr/src/glibc-build -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl  -I.. -I../libio -I. -I /lib/modules/2.6.24-19-generic/build/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI -o /media/sda1/usr/src/glibc-build/csu/hp-timing.o -MD -MP -MF /media/sda1/usr/src/glibc-build/csu/hp-timing.o.dt -MT /media/sda1/usr/src/glibc-build/csu/hp-timing.o
echo 'csu/init-first.o csu/libc-start.o csu/sysdep.o csu/version.o csu/check_fds.o csu/libc-tls.o csu/elf-init.o csu/dso_handle.o csu/errno.o csu/errno-loc.o csu/hp-timing.o'> /media/sda1/usr/src/glibc-build/csu/stamp.oT
mv -f /media/sda1/usr/src/glibc-build/csu/stamp.oT /media/sda1/usr/src/glibc-build/csu/stamp.o
make[2]: *** No rule to make target `/media/sda1/usr/src/glibc-build/iconv/stamp.o', needed by `/media/sda1/usr/src/glibc-build/libc.a'.  Stop.
make[2]: Leaving directory `/media/sda1/usr/src/glibc-2.7/csu'
make[1]: *** [csu/tests] Error 2
make[1]: Leaving directory `/media/sda1/usr/src/glibc-2.7'
make: *** [check] Error 2

------------


I configured glibc by typing:

 ../glibc-2.7/configure --enable-add-ons --prefix=/usr

and have even tried:

../glibc-2.7/configure --disable-stackguard-randomization --enable-old-ssp-compat --enable-omitfp --enable-add-ons=nptl --enable-kernel=linux-2.6.26 --without-selinux --without-cvs --enable-bind-now --build=x86_64-linux-gnu --host=x86_64-linux-gnu --disable-profile --with-gd --with-headers=/media/sda1/usr/src/linux-2.6.26/include --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/misc/glibc





the source code is in /media/sda1/usr/src and not in /usr/src, becouse I am trying to build a minimal linux system (http://axiom.anu.edu.au/~okeefe/p2b/...uildMin-6.html)


some information about my system :
----------
$ uname -a
Linux mir-desktop 2.6.24-19-generic #1 SMP Wed Jun 18 14:15:37 UTC 2008 x86_64 GNU/Linux
---------------

it is a new installed Xubuntu 8.04 (64bit)


May the problem has something with ranlib???

or may that has something with the glibc-libidn-2.7 addon??


How to solve the problem??, please help

I am not an experienced devloper

_________________________________________________________________
Utmana dina kompisar i Sten, sax, påse!
http://www.live.msn.se/messenger/#/News/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]