I am trying to incorporate the LSM303DLH example into a program I have.
When I try to compile, I get the following error: (anyone have any suggestions as to what is going on???)
avr-gcc -mmcu=atmega328p -Wl,-gc-sections -Wl,-Map=test.map test.o -lpololu_atmega328p -o test.elf
c:/winavr-20090313/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr5\libc.a(atan2.o): In function `atan2':
(.text.fplib+0x70): relocation truncated to fit: R_AVR_13_PCREL against symbol `__addsf3' defined in .text section in c:/winavr-20090313/bin/../lib/gcc/avr/4.3.2/avr5\libgcc.a(_addsub_sf.o)
c:/winavr-20090313/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr5\libc.a(inverse.o): In function `inverse':
(.text.fplib+0xc): relocation truncated to fit: R_AVR_13_PCREL against symbol `__divsf3' defined in .text section in c:/winavr-20090313/bin/../lib/gcc/avr/4.3.2/avr5\libgcc.a(_div_sf.o)
c:/winavr-20090313/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr5\libc.a(square.o): In function `square':
(.text.fplib+0x4): relocation truncated to fit: R_AVR_13_PCREL against symbol `__mulsf3' defined in .text section in c:/winavr-20090313/bin/../lib/gcc/avr/4.3.2/avr5\libgcc.a(_mul_sf.o)
make: *** [test.elf] Error 1