#176772 - blessingta@hotmail.co.uk - Sun Oct 09, 2011 1:08 am
hi
hi
I tried to make a devkitpro project from scratch to see whether it would compile. And the tactic I use was copying working components from the gba examples provide, which worked well till I got to the makefile (which I largely copied: the only changes made were including my new folders and removing those which weren't present in my project).
My main problem is the linker error, the so called 'linking multiboot', according to the compiler. I don't really understand this error since I had thought that there wouldn't be any special links needed since I would have been using largely the same files (the devkitpro gba lib files). So has anyone understood how devkitpro works with regards to makefiles and creating new projects
<message in blue below>
hi
I tried to make a devkitpro project from scratch to see whether it would compile. And the tactic I use was copying working components from the gba examples provide, which worked well till I got to the makefile (which I largely copied: the only changes made were including my new folders and removing those which weren't present in my project).
My main problem is the linker error, the so called 'linking multiboot', according to the compiler. I don't really understand this error since I had thought that there wouldn't be any special links needed since I would have been using largely the same files (the devkitpro gba lib files). So has anyone understood how devkitpro works with regards to makefiles and creating new projects
<message in blue below>
Quote: |
> "make"
linking cartridge c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.6.1/../../../../arm-eabi/lib/thumb/gba_crt0.o: In function `CIDExit': (.init+0x20c): undefined reference to `main' collect2: ld returned 1 exit status make[1]: *** [/c/users/portsmouthuni/my_gba/my_gba.elf] Error 1 "make": *** [build] Error 2 > Process Exit Code: 2 > Time Taken: 00:01 |