This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: undefined reference to `__trunctfdf2'


Thanks Dave, that was it.
Alex

On 1/30/06, Dave Korn <dave.korn@artimi.com> wrote:
> On 30 January 2006 16:06, Alex Gonzalez wrote:
>
> > Hi,
> >
> > Could anybody offer some advise to get rid of this linking error? What am
> > I missing?
>
>   libgcc, from the looks of it.  Normally the compiler driver would implicitly add '-lc -lgcc -lc' at the end of your linker
> commandline, but you told it not to when you gave the -nostdlib option.
>
> >  /opt/redhat/mips64linux-031001/H-i686-pc-linux-gnulibc2.2/bin/mips64-linux-gnu-gcc
> >  obj/start.o obj/pvmain.o -Llib -EB -N -G0 -nostdlib -static
> > -Wl,-Ttext=0x81000000 -Wl,-Map,pv1000_p1.map -lpvos -lpveth
> >  -L../../pub/lib -L../../libc/trunk/mips64-elf/lib -lc
> >  -L../../libc/trunk/build/mips64-elf/lib/ -lnosys -Wl,-t  -o
> > pv1000_p1.elf ../../libc/trunk/mips64-elf/lib/libc.a(closer.o): In
> >  function `_close_r':
>
> >
> /tftpboot/pv-rootfs/usr/src/repository/pktvsn/libc/trunk/build/mips64-elf/newlib/libc/stdio/../../../../../src/newlib/libc/stdio/vfp
> rintf.c:815:
> > undefined reference to `__trunctfdf2'
>
>     cheers,
>       DaveK
> --
> Can't think of a witty .sigline today....
>
>


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