bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

glibc 2.2.1 doesn't compile


From: Hartmut Prochaska
Subject: glibc 2.2.1 doesn't compile
Date: Sun, 17 Jun 2001 21:05:56 +0100

Hi, 

I can't compile the glibc on my computer. The following is the error message:

gcc   -shared -Wl,-O1  -Wl,-dynamic-linker=/usr/local/lib/ld-linux.so.2  
-B../csu/  -Wl,--version-script=../libc.map -Wl,-soname=libc.so.6  -nostdlib 
-nostartfiles -e __libc_main -u __register_frame -L.. -L../math -L. 
-L../dlfcn -L../nss -L../nis -L../rt -L../resolv -L../crypt -L../linuxthreads 
-Wl,-rpath-link=..:../math:.:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
 
-o ../libc.so.new ../csu/abi-note.o -Wl,--verbose -lgcc 2>&1 | sed -e 
'/^=========/,/^=========/!d;/^=========/d' -e 's/^.*\.hash[     ]*:.*$/  
.note.ABI-tag : { *(.note.ABI-tag) } &/' > ../libc.so.lds
rm -f ../libc.so.new
gcc   -shared -Wl,-O1  -Wl,-dynamic-linker=/usr/local/lib/ld-linux.so.2  
-B../csu/  -Wl,--version-script=../libc.map -Wl,-soname=libc.so.6  -nostdlib 
-nostartfiles -e __libc_main -u __register_frame -L.. -L../math -L. 
-L../dlfcn -L../nss -L../nis -L../rt -L../resolv -L../crypt -L../linuxthreads 
-Wl,-rpath-link=..:../math:.:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
 
-o ../libc.so -T ../libc.so.lds -Wl,--whole-archive ../csu/abi-note.o 
soinit.os ../libc_pic.os sofini.os interp.os ld.so  -lgcc
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a(_bb.o): In function 
`__bb_exit_func':
/usr/src/redhat/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux/gcc/../../gcc/libgcc2.c(.text+0x250):
 
multiple definition of `__bb_exit_func'
../libc_pic.os(.text+0xc0e24):__socketpair: first defined here
/usr/bin/ld: Warning: size of symbol `__bb_exit_func' changed from 503 to 
1894 in _bb.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a(_bb.o): In function 
`__bb_init_func':
/usr/src/redhat/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux/gcc/../../gcc/libgcc2.c(.text+0x9c0):
 
multiple definition of `__bb_init_func'
../libc_pic.os(.text+0xc0db4):__socketpair: first defined here
/usr/bin/ld: Warning: size of symbol `__bb_init_func' changed from 99 to 81 
in _bb.o
collect2: ld returned 1 exit status
gcc: file path prefix `../csu/' never used

I use gcc 2.96-62  and the glibc 2.1.97-1 currently.

Do you know what I am doing wrong?
Thanks in advance and regards
Hartmut

-- 
"There are two major products that come out of Berkeley: LSD and
    UNIX.  We don't believe this to be a coincidence."
                                          - Jeremy S. Anderson



reply via email to

[Prev in Thread] Current Thread [Next in Thread]