failing to compile 2.9

Fabiano Sidler lists@fipscode.ch
Tue May 5 13:23:00 GMT 2009


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



More information about the Libc-help mailing list