[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glibc 2.2.1 doesn't compile
From: |
GOTO Masanori |
Subject: |
Re: glibc 2.2.1 doesn't compile |
Date: |
Fri, 22 Jun 2001 00:55:29 +0900 |
User-agent: |
Wanderlust/2.4.1 (Stand By Me) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.1 (AOI) |
Try the latest version of glibc.
You should also change your gcc. gcc-2.96 has some problems.
-- gotom
At Sun, 17 Jun 2001 21:05:56 +0100,
Hartmut Prochaska wrote:
>
> 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
>
> _______________________________________________
> Bug-glibc mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-glibc
>