gubber
Still Fresh
I have installed the devkitadv and CHN's conversion stuff and I get the following error when I try to build the GPTEST program:
C:\Djb\gp32\devkitadv\gptest>make -f Makefile
c:/djb/gp32/devkitadv/bin/arm-agb-elf-gcc -DLITTLE_ENDIAN -DGP32 -mcpu=arm9tdmi
-mtune=arm9tdmi -fexpensive-optimizations -mapcs -O3 -mstructure-size-boundary=8
-mno-thumb-interwork -fno-builtin -fno-common -fno-exceptions -finline-function
s -fomit-frame-pointer -fshort-enums -ffast-math -fshort-double -fallow-single-p
recision -ffreestanding -Ic:/djb/gp32/devkitadv/arm-agb-elf/include/gp32 -Ic:/dj
b/gp32/devkitadv/arm-agb-elf/include -c gpmain.c
c:/djb/gp32/devkitadv/bin/arm-agb-elf-gcc -Wl,-T c:/djb/gp32/devkitadv/arm-agb-e
lf/lib/lnkscript -o gptest.elf gpmain.o c:/djb/gp32/devkitadv/arm-agb-elf/lib/gp
sdk/gpstart/gpstart.o -lgpsdk -lgpgraphic -lgpmem -lgpos -lgpstdlib -lgpstdio -l
gpsound -lgpfont -lgpg_ex01
c:\djb\gp32\devkitadv\bin\..\lib\gcc-lib\arm-agb-elf\3.2.2\..\..\..\..\arm-agb-e
lf\bin\ld.exe: warning: no memory region specified for section `.init'
c:\djb\gp32\devkitadv\bin\..\lib\gcc-lib\arm-agb-elf\3.2.2\..\..\..\..\arm-agb-e
lf\bin\ld.exe: warning: no memory region specified for section `.fini'
c:\djb\gp32\devkitadv\bin\..\lib\gcc-lib\arm-agb-elf\3.2.2\..\..\..\..\arm-agb-e
lf\bin\ld.exe: warning: no memory region specified for section `.jcr'
c:\djb\gp32\devkitadv\bin\..\lib\gcc-lib\arm-agb-elf\3.2.2\..\..\..\..\arm-agb-e
lf\bin\ld.exe: address 0x474 of gptest.elf section .bss is not within region ram
c:\djb\gp32\devkitadv\bin\..\lib\gcc-lib\arm-agb-elf\3.2.2\crtbegin.o(.fini+0x0)
: relocation truncated to fit: R_ARM_PC24 .text
c:\djb\gp32\devkitadv\bin\..\lib\gcc-lib\arm-agb-elf\3.2.2\crtbegin.o(.init+0x0)
: relocation truncated to fit: R_ARM_PC24 .text
c:\djb\gp32\devkitadv\bin\..\lib\gcc-lib\arm-agb-elf\3.2.2\crtend.o(.init+0x0):
relocation truncated to fit: R_ARM_PC24 .text
collect2: ld returned 1 exit status
make: *** [gptest.elf] Error 1
Anyone know why???
Thanks, Dave.
C:\Djb\gp32\devkitadv\gptest>make -f Makefile
c:/djb/gp32/devkitadv/bin/arm-agb-elf-gcc -DLITTLE_ENDIAN -DGP32 -mcpu=arm9tdmi
-mtune=arm9tdmi -fexpensive-optimizations -mapcs -O3 -mstructure-size-boundary=8
-mno-thumb-interwork -fno-builtin -fno-common -fno-exceptions -finline-function
s -fomit-frame-pointer -fshort-enums -ffast-math -fshort-double -fallow-single-p
recision -ffreestanding -Ic:/djb/gp32/devkitadv/arm-agb-elf/include/gp32 -Ic:/dj
b/gp32/devkitadv/arm-agb-elf/include -c gpmain.c
c:/djb/gp32/devkitadv/bin/arm-agb-elf-gcc -Wl,-T c:/djb/gp32/devkitadv/arm-agb-e
lf/lib/lnkscript -o gptest.elf gpmain.o c:/djb/gp32/devkitadv/arm-agb-elf/lib/gp
sdk/gpstart/gpstart.o -lgpsdk -lgpgraphic -lgpmem -lgpos -lgpstdlib -lgpstdio -l
gpsound -lgpfont -lgpg_ex01
c:\djb\gp32\devkitadv\bin\..\lib\gcc-lib\arm-agb-elf\3.2.2\..\..\..\..\arm-agb-e
lf\bin\ld.exe: warning: no memory region specified for section `.init'
c:\djb\gp32\devkitadv\bin\..\lib\gcc-lib\arm-agb-elf\3.2.2\..\..\..\..\arm-agb-e
lf\bin\ld.exe: warning: no memory region specified for section `.fini'
c:\djb\gp32\devkitadv\bin\..\lib\gcc-lib\arm-agb-elf\3.2.2\..\..\..\..\arm-agb-e
lf\bin\ld.exe: warning: no memory region specified for section `.jcr'
c:\djb\gp32\devkitadv\bin\..\lib\gcc-lib\arm-agb-elf\3.2.2\..\..\..\..\arm-agb-e
lf\bin\ld.exe: address 0x474 of gptest.elf section .bss is not within region ram
c:\djb\gp32\devkitadv\bin\..\lib\gcc-lib\arm-agb-elf\3.2.2\crtbegin.o(.fini+0x0)
: relocation truncated to fit: R_ARM_PC24 .text
c:\djb\gp32\devkitadv\bin\..\lib\gcc-lib\arm-agb-elf\3.2.2\crtbegin.o(.init+0x0)
: relocation truncated to fit: R_ARM_PC24 .text
c:\djb\gp32\devkitadv\bin\..\lib\gcc-lib\arm-agb-elf\3.2.2\crtend.o(.init+0x0):
relocation truncated to fit: R_ARM_PC24 .text
collect2: ld returned 1 exit status
make: *** [gptest.elf] Error 1
Anyone know why???
Thanks, Dave.