gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > Help with MAKE file

#108115 - retrohead - Sun Nov 05, 2006 3:06 pm

Hi guys

i was wondering if anyone can help me with a problem I am having compiling my sources with devkitpro r19.

I added the following line to my Makefile as I heard this may fix the problem but for some reason I am still having difficulties :(
Code:
PREFIX := arm-eabi-


The error message i get is :

Code:
ERROR: Source Object palette.bin.o has EABI version 0, but target c:/Demo/arm9/Demo.arm9.elf has EABI version 4


Any help with this would be apprecited as for some reason the code builds fine with devkitpro r18 (a friend tested for me) but will not build with r19.

I have uploaded the arm9 Makefile file without the fix i mentioned below:

www.retrohead.f2s.com/Makefile

Thanks

#108117 - Sausage Boy - Sun Nov 05, 2006 3:08 pm

Have you tried to make clean?
_________________
"no offense, but this is the gayest game ever"

#108120 - keldon - Sun Nov 05, 2006 3:34 pm

how about rm *.o if you don't have make clean in your makefile.

#108133 - retrohead - Sun Nov 05, 2006 6:03 pm

Make Clean worked a treat thanks. Why is it the small things that get you stumped ><

Thanks guys.