This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ldmain.c:567: undefined reference to `lrealpath'


On Wed, Mar 26, 2003 at 12:14:36PM +0100, Christian Joensson wrote:
> 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?

sorry for the non-issue here, I got the wrong libiberty, the one from
gcc's 3.3 tree..., I should now-on remember not to mix binutils cvs
trunk and gcc cvs branches...

Cheers,

/ChJ


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]