chishm's bootloader in new libnds, tutorial?
Posted: Thu Jan 22, 2009 8:25 pm
hello everyone
every time i trie to get this loader working the compiler says likely type-uning may break strict aliasing rules:
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:72: warning: likely type-pun
ning may break strict-aliasing rules: object '*src16' of main type 'short unsign
ed int' is referenced at or around d:/devkitPro/combined/arm9/source/nds_loader_
arm9.c:72 and may be aliased to object '_io_dldi' of main type 'unsigned int' wh
ich is referenced at or around d:/devkitPro/combined/arm9/source/nds_loader_arm9
.c:72.
template.c
arm-eabi-gcc -MMD -MP -MF /d/devkitPro/combined/arm9/build/template.d -g -Wall -
O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -mthumb-inte
rwork -I/d/devkitPro/combined/arm9/include -I/D/devkitPro/libnds/include -I/d/de
vkitPro/combined/arm9/build -DARM9 -c /d/devkitPro/combined/arm9/source/template
.c -o template.o
linking combined.arm9.elf
nds_loader_arm9.o: In function `runNds':
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
collect2: ld returned 1 exit status
make[2]: *** [/d/devkitPro/combined/arm9/combined.arm9.elf] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/d/devkitPro/combined/arm9'
make: *** [arm9/combined.elf] Error 2
has someone got it to work, and if so, could you please say how?
every time i trie to get this loader working the compiler says likely type-uning may break strict aliasing rules:
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:72: warning: likely type-pun
ning may break strict-aliasing rules: object '*src16' of main type 'short unsign
ed int' is referenced at or around d:/devkitPro/combined/arm9/source/nds_loader_
arm9.c:72 and may be aliased to object '_io_dldi' of main type 'unsigned int' wh
ich is referenced at or around d:/devkitPro/combined/arm9/source/nds_loader_arm9
.c:72.
template.c
arm-eabi-gcc -MMD -MP -MF /d/devkitPro/combined/arm9/build/template.d -g -Wall -
O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -mthumb-inte
rwork -I/d/devkitPro/combined/arm9/include -I/D/devkitPro/libnds/include -I/d/de
vkitPro/combined/arm9/build -DARM9 -c /d/devkitPro/combined/arm9/source/template
.c -o template.o
linking combined.arm9.elf
nds_loader_arm9.o: In function `runNds':
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
collect2: ld returned 1 exit status
make[2]: *** [/d/devkitPro/combined/arm9/combined.arm9.elf] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/d/devkitPro/combined/arm9'
make: *** [arm9/combined.elf] Error 2
has someone got it to work, and if so, could you please say how?