[En-Nut-Discussion] Error while linking to floting point crt library (libnutcrtf.a)

Ole Reinhardt ole.reinhardt at kernelconcepts.de
Tue Jun 22 13:10:15 CEST 2004


Hi all,

I tried to link my application to libnutcrtf.a and got the following
error:

avr-gcc main.o m-can.o -mmcu=atmega128
-Wl,--defsym=main=0,-Map=mastercontroller.map,--cref
-L../../lib/gcc/atmega128  ../../lib/gcc/atmega128/nutinit.o -lnutdev
-lnutnet -lnutpro -lnutos -lnutdev -lnutcrtf -o mastercontroller.elf
../../lib/gcc/atmega128/libnutcrtf.a(putff.o)(.text+0x5ba): In function
`_putf':: undefined reference to `dtostrf'
../../lib/gcc/atmega128/libnutcrtf.a(putff.o)(.text+0x5ca): In function
`_putf':: undefined reference to `dtostre'
make: *** [mastercontroller.elf] Fehler 1

Does anybody know what's going wrong? I'm using avr-gcc 3.4.0 and the
current cvs version of NutOS.

Regards,

Ole

-- 
kernel concepts    Tel: +49-271-771091-14
Dreisbachstr. 24   Fax: +49-271-771091-19
D-57250 Netphen    E+ : +49-177-7420433
--





More information about the En-Nut-Discussion mailing list