bug-glibc
[Top][All Lists]
Advanced

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

cannot link glibc-2.3.1


From: matthew
Subject: cannot link glibc-2.3.1
Date: Wed, 23 Oct 2002 01:45:52 -0700 (PDT)

I keep getting the error :
gcc -nostdlib -nostartfiles -o /home/matthew/glibcbuild/iconv/iconvconfig
-Wl,-dynamic-linker=/usr/local/gibsonglibc/lib/ld-linux.so.2
-Wl,-z,combreloc /home/matthew/glibcbuild/csu/crt1.o
/home/matthew/glibcbuild/csu/crti.o `gcc --print-file-name=crtbegin.o`
/home/matthew/glibcbuild/iconv/iconvconfig.o
/home/matthew/glibcbuild/iconv/strtab.o
/home/matthew/glibcbuild/iconv/xmalloc.o
-Wl,-rpath-link=/home/matthew/glibcbuild:/home/matthew/glibcbuild/math:/home/matthew/glibcbuild/elf:/home/matthew/glibcbuild/dlfcn:/home/matthew/glibcbuild/nss:/home/matthew/glibcbuild/nis:/home/matthew/glibcbuild/rt:/home/matthew/glibcbuild/resolv:/home/matthew/glibcbuild/crypt
/home/matthew/glibcbuild/libc.so.6
/home/matthew/glibcbuild/libc_nonshared.a -lgcc `gcc
--print-file-name=crtend.o` /home/matthew/glibcbuild/csu/crtn.o
/home/matthew/glibcbuild/libc.so.6(.data+0x9c4): multiple definition of
address@hidden'
/home/matthew/glibcbuild/libc.so.6(*IND*+0x0): multiple definition of
address@hidden'
/home/matthew/glibcbuild/libc.so.6(.data+0x9cc): first defined here
/home/matthew/glibcbuild/libc.so.6(.data+0x9c8): multiple definition of
address@hidden'
/home/matthew/glibcbuild/libc.so.6(.data+0x9b8): multiple definition of
address@hidden'
/home/matthew/glibcbuild/libc.so.6(*IND*+0x0): multiple definition of
address@hidden'
/home/matthew/glibcbuild/libc.so.6(.data+0x9c0): first defined here
/home/matthew/glibcbuild/libc.so.6(.data+0x9bc): multiple definition of
address@hidden'
collect2: ld returned 1 exit status


I've configured glibc with:
--prefix=/usr/local/gibsonglibc --host=i586-pc-linux-gnu
--disable-sanity-checks --enable-kernel=2.4.19 --disable-profile

(Trust me I actually do need all that.  I can explain why off-list, but
isn't really relevant here.  Unless that's the problem...)

I've gotten the same error using gcc 3.2 and 2.95.3, ld 2.11.90.0.19 and
2.12.90.0.9 20020526.

Any ideas you have are welcome.  Thanks.

Matthew Devney
address@hidden





reply via email to

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