Hi,
I've been trying to load a sketch into a mega and have just started to get this error....
c:/all_apps/arduino-1.0.1/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr6/crtm2560.o: In function
__vector_default': (.vectors+0x7c): relocation truncated to fit: R_AVR_13_PCREL against symbol
__vector_31' defined in .text section in c:/all_apps/arduino-1.0.1/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr6/crtm2560.o
It doesn't seem to reference any of my code, so I'm assuming it's some internal issue. The following may also be pertinent...
I'm using version arduino 1.0.1 on windows XP
I'm uploading to a Mega.
As far as I can see all my other sketches will compile and run just fine.
I've dug out some of my old backups of the sketch from several months ago, and they too generate this error. (but I'll swear they worked fine at the time)
I've NOT included any code with this post because 1) it includes a couple of dozen libraries and is quite long, and 2) the error message doesn't appear to reference any of my own code.
I've tried re-installing and re-booting.
Each of the included libraries have a test sketch to go with them, for all of my recently changed libraries I've managed to re-compile and re-test without problems.
Please help, I don't have much hair left and can't afford to rip any more out!
Thanks