This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ldmain.c:567: undefined reference to `lrealpath'
- From: Christian Joensson <c dot christian dot joensson at telia dot com>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Wed, 26 Mar 2003 12:14:36 +0100
- Subject: Re: ldmain.c:567: undefined reference to `lrealpath'
- References: <20030326115041.A14948@u1sparc.j-son.org>
On Wed, Mar 26, 2003 at 11:50:41AM +0100, c dot christian dot joensson at telia dot com wrote:
> gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o .libs/ld-new ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf64_sparc.o eelf32_sparc.o esparclinux.o esun4.o ../bfd/.libs/libbfd.so -L/usr/local/src/gcc-binutils/branch/objdir/libiberty/pic -liberty ../libiberty/libiberty.a -Wl,--rpath -Wl,/usr/local/gcc-binutils/lib
> ldmain.o(.text+0xb10): In function `main':
> /usr/local/src/gcc-binutils/branch/gcc-binutils/ld/ldmain.c:567: undefined reference to `lrealpath'
> ldfile.o(.text+0xa8): In function `is_sysrooted_pathname':
> /usr/local/src/gcc-binutils/branch/gcc-binutils/ld/ldfile.c:98: undefined reference to `lrealpath'
hmm, there is no lrealpath in libiberty.a, and there is no lrealpath
in libiberty/Makefile (in the build dir), but there is a lrealpath in
the Makefile.in in the source dir of libiberty... weird...
anyone have any clues for me?
Cheers,
/ChJ