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]

failing to compile 2.9


Hi folks!

Trying to compile libc 2.9 on a kubuntu hardy amd64 with

  ../glibc-2.9/configure --prefix=/sw
  make

it fails with the following error:

===
[...]
gcc   -nostdlib -nostartfiles -r -o
/home/user/sw/src/glibc-build/elf/librtld.map.o '-Wl,-('
/home/user/sw/src/glibc-build/elf/dl-allobjs.os
/home/user/sw/src/glibc-build/libc_pic.a -lgcc '-Wl,-)'
-Wl,-Map,/home/user/sw/src/glibc-build/elf/librtld.mapT
/home/user/sw/src/glibc-build/libc_pic.a(init-first.os):(.data+0x0):
multiple definition of `__libc_multiple_libcs'
/home/user/sw/src/glibc-build/elf/dl-allobjs.os:/home/user/sw/src/glibc-2.9/elf/rtld.c:645:
first defined here
/home/user/sw/src/glibc-build/libc_pic.a(dl-addr.os): In function
`_dl_addr_inside_object':
/home/user/sw/src/glibc-2.9/elf/dl-addr.c:157: multiple definition of
`_dl_addr_inside_object'
/home/user/sw/src/glibc-build/elf/dl-allobjs.os:/home/user/sw/src/glibc-2.9/elf/dl-open.c:699:
first defined here
collect2: ld returned 1 exit status
make[2]: *** [/home/user/sw/src/glibc-build/elf/librtld.map] Error 1
make[2]: Leaving directory `/home/user/sw/src/glibc-2.9/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/home/user/sw/src/glibc-2.9'
make: *** [all] Error 2
===

How come this error and how can i fix/work-around it?

Thanks in advance for help!
Greetings,
Fabiano


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