> -----Original Message----- > From: > avr-gcc-list-bounces+eric.weddington=atmel....@nongnu.org > [mailto:avr-gcc-list-bounces+eric.weddington=atmel....@nongnu. > org] On Behalf Of Carsten > Sent: Tuesday, August 11, 2009 2:45 PM > To: avr-gcc-list@nongnu.org > Subject: [avr-gcc-list] Strange error in avr-gcc 4.3.3 - > relocationtruncated to fit: R_AVR_13_PCREL > > Hi avr-gcc list > > I have noticed a strange error (list at bottom of post) , and Jörg > adviced me to forward the question here for a 2'nd opinion > > I just tried to compile uracoli > (http://www.nongnu.org/uracoli/index.html) > <snip> > > Here is the "Tail" of the console build output. > > avr-gcc -o build/tiny230/xmpl/xmpl_radio_stream_tiny230.elf > -Wl,-Map=build/tiny230/xmpl/xmpl_radio_stream_tiny230.map > -mmcu=attiny84 > build/tiny230/xmpl/xmpl_radio_stream.o -Linstall/lib -lradio_tiny230 > -lio_tiny230 > /usr/local/avr-gcc-4.3.3-libc-1.6.7-14-Jun-2009/bin/../lib/gcc > /avr/4.3.3/../../../../avr/lib/avr25/crttn84.o: > In function `__bad_interrupt': > ../../../../../../source/avr-libc-1.6.7/crt1/gcrt1.S:193: relocation > truncated to fit: R_AVR_13_PCREL against symbol `exit' > defined in .fini9 > section in > /usr/local/avr-gcc-4.3.3-libc-1.6.7-14-Jun-2009/bin/../lib/gcc > /avr/4.3.3/avr25/libgcc.a(_exit.o) > > scons: *** [build/tiny230/xmpl/xmpl_radio_stream_tiny230.elf] Error 1 > scons: building terminated because of errors. > make: *** [all] Error 2 > bi...@t43:~/avr/uracoli-rf-library/uracoli-0.0.10-src$
Hi Carsten, I don't see the math library being linked in the link command line (-lm). Please try that. @Axel: You probably need to clean up all the warnings too. ;-) Eric Weddington _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list