#126592 - yaazz - Wed Apr 25, 2007 1:35 am
Hello all, I am new at your site, and am having trouble compiling with libnds. I use Kubuntu, and this is the output from the terminal
As you can see, it ends when trying to link DSspace.elf, with DSspace being the name of the directory. Anyone know how to fix this? thanks
Quote: |
afreddin@afreddin-desktop:~/Manual/DSspace$ make Splash.bin bin2s /home/afreddin/Manual/DSspace/data/Splash.bin | arm-eabi-as -mthumb -mthumb-interwork -o Splash.o echo "extern const u8" `(echo Splash.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo Splash.bin | tr . _)`.h echo "extern const u8" `(echo Splash.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo Splash.bin | tr . _)`.h echo "extern const u32" `(echo Splash.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo Splash.bin | tr . _)`.h StarField.bin bin2s /home/afreddin/Manual/DSspace/data/StarField.bin | arm-eabi-as -mthumb -mthumb-interwork -o StarField.o echo "extern const u8" `(echo StarField.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo StarField.bin | tr . _)`.h echo "extern const u8" `(echo StarField.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo StarField.bin | tr . _)`.h echo "extern const u32" `(echo StarField.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo StarField.bin | tr . _)`.h linking DSspace.elf /home/afreddin/devkitpro/devkitARM/bin/../lib/gcc/arm-eabi/4.1.1/../../../../arm-eabi/lib/thumb/ds_arm9_crt0.o: In function `CIDLoop': ds_arm9_crt0.s:(.init+0x218): undefined reference to `main' collect2: ld returned 1 exit status make[1]: *** [/home/afreddin/Manual/DSspace/DSspace.elf] Error 1 make: *** [build] Error 2 afreddin@afreddin-desktop:~/Manual/DSspace$ |
As you can see, it ends when trying to link DSspace.elf, with DSspace being the name of the directory. Anyone know how to fix this? thanks