PDA

View Full Version : DS Homerew Compliling



defcon
December 24th, 2005, 03:39
Hey everyone. Ive set up devkitPro and written the write code. When i try to make my file i get this response from the output, anyone know how to fix this.

linking .arm7.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-elf/4.0.2/../../../../arm-elf/lib/interwork/ds_arm7_crt0.o: In function `CIDLoop':
ds_arm7_crt0.s:(.init+0xc4): undefined reference to `main'
make[1]: *** [/c/devkitPro/Project/.arm7.elf] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:01
thanks

qw3rty
December 24th, 2005, 10:22
hmmm....maybe your program is missing the "main"-procedure ?!
But I could be wrong....your information is a little sparse ;)