avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] my alltime favorive compiler error.


From: Steve Franks
Subject: [avr-chat] my alltime favorive compiler error.
Date: Fri, 11 Jan 2008 12:05:12 -0700

linking PmcMain.o -IC:/WinAVR/avr/include -I../include -g -std=gnu99
-Wall -Os -mmcu=atmega128 -DF_CPU=16000000UL
-Wl,-Map=PmcMain.map,--cref -u vfprintf -u vfscanf -lprintf_flt
-lscanf_flt -lm -lc (newer files: PmcMain.o PmcGlobals.o PmcSystem.o
CmdTable.o CmdHandlers.o)
avr-gcc -IC:/WinAVR/avr/include -I../include  -g -std=gnu99 -Wall -Os
-mmcu=atmega128 -DF_CPU=16000000UL -Wl,-Map=PmcMain.map,--cref -u
vfprintf -u vfscanf -lprintf_flt -lscanf_flt -lm -lc -o PmcMain.elf
PmcMain.o PmcGlobals.o PmcSystem.o CmdTable.o CmdHandlers.o
CmdSystem.o
c:/winavr/bin/../lib/gcc/avr/4.2.2/../../../../avr/lib/avr5\libc.a(fp_arccos.o):
In function `__fp_arccos':
(.text.fplib+0x24): relocation truncated to fit: R_AVR_13_PCREL
against symbol `__subsf3' defined in .text section in
c:/winavr/bin/../lib/gcc/avr/4.2.2/avr5\libgcc.a(_addsub_sf.o)
make: *** [PmcMain.elf] Error 1

As far as I can tell, this pops up when I call code that contains
printf(%f).  Again, just upgraded to 4.2.2; we aren't calling arccos()
explicitly, of course.

Best,
Steve




reply via email to

[Prev in Thread] Current Thread [Next in Thread]