jsmcortina wrote:
You need to look for the actual error message that comes before this. The part you posted means that linking failed, but doesn't show why. (Most likely is that you overflowed a section.)
At first i did not find it but after a compare of the compile result I think this is the error:
At this long row (shortened a bit here)
/usr/bin/m68hc11-elf-gcc -g -Wall -Werror -Wsign-compare -Wshadow -O -fomit-frame-pointer -m68hcs12 -mshort -msoft-reg-count=5 -mauto-incdec -fsigned-char -Wl,-defsym,vectors_addr=0xff80,-m,m68hc12elfb,-T,m68hc12elfb.x,--no-trampoline -o megasquirt2.elf ms2_extra_main.o ....... interp.o
/usr/bin/../lib/gcc-lib/m68hc11-elf/3.3.6-9s12x-20120502/../../../../m68hc11-elf/bin/ld: megasquirt2.elf section `.text3b' will not fit in region `text3b'
/usr/bin/../lib/gcc-lib/m68hc11-elf/3.3.6-9s12x-20120502/../../../../m68hc11-elf/bin/ld: section .text3c loaded at [00100000,0010215f] overlaps section .text3b loaded at [000fc000,00100007]
/usr/bin/../lib/gcc-lib/m68hc11-elf/3.3.6-9s12x-20120502/../../../../m68hc11-elf/bin/ld: region `text3b' overflowed by 8 bytes
What does that mean, that it's running out of memory space?