#17182 - Domin - Wed Mar 03, 2004 12:42 am
Hi all.
I'm trying to compile Mushroom 0.6 under Windows and latest DevkitAdvance with GCC 3.2.2, but I have many errors during this. Maybe someone do it already? What need to be changed? Unfortunatelly I'm not an expert in makefiles...
Sorry for my terrible english...
#17184 - dagamer34 - Wed Mar 03, 2004 1:47 am
Don't worry about the english. Some posts on this forum don't even use periods.
You need to be more specific with the errors you are getting. There is a LOT of errors so we need more info before we can help.
_________________
Little kids and Playstation 2's don't mix. :(
#17188 - Domin - Wed Mar 03, 2004 2:30 am
Thanks - I have set all variables in <mushroom_dir>/build/Makefile_defines properly. After 'make' in <mushroom_dir>/samples/newproject/src i have following errors:
Quote: |
">>> Assembling (crt0.S -> crt0.o)"
">>> Compiling (new.c -> new.o)"
In file included from ../../../include/mushroom/mushroom.h:17,
from ../src/new.c:3:
../../../include/mushroom/msh_debug.h:26:1: warning: "assert" redefined
In file included from D:/Uzytki/GBASDK/devkitadv/arm-agb-elf/include/stdio.h:45,
from ../../../include/mushroom/mushroom.h:9,
from ../src/new.c:3:
D:/Uzytki/GBASDK/devkitadv/arm-agb-elf/include/sys/reent.h:428:1: warning: this is the location of the previous definition
">>> Linking"
D:/Uzytki/GBASDK/devkitadv/arm-agb-elf/lib/interwork\libc.a(agb-sbrk.o): In function `_sbrk':
../../../../../../../gcc-3.2.2/newlib/libc/sys/agb/agb-sbrk.c:28: undefined reference to `__appended_end'
../../../../../../../gcc-3.2.2/newlib/libc/sys/agb/agb-sbrk.c:28: undefined reference to `__heap_limit'
../../../../../../../gcc-3.2.2/newlib/libc/sys/agb/agb-sbrk.c:28: undefined reference to `__appended_start'
d:\uzytki\gbasdk\devkitadv\make: *** [../build/temp/new.elf] Error 1 |
Any ideas?
#17206 - tepples - Wed Mar 03, 2004 7:47 pm
The crt0.s and the linker script are a matched pair. If you use one from DevKit Advance, you must use the other from DevKit Advance.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.