gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Compile DSOrganize 2.3

#106118 - MEstk - Sun Oct 15, 2006 2:20 pm

Can someone help me for compile DSOrganize 2.3 ?

It dont work with latest DevKitPro... :(

#106125 - tepples - Sun Oct 15, 2006 4:00 pm

"Doesn't work" in what specific way? We can help you only if you provide exact copies of error messages. Do you know how to copy error messages out of a Command Prompt window?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#106143 - josath - Sun Oct 15, 2006 9:41 pm

also make sure you have all the necessary libraries installed, dso has a bunch of them (libdt, libfb, libpicture, maybe more)

#106160 - MEstk - Mon Oct 16, 2006 1:48 am

I get :

Code:
$ make
make -C arm7
make[1]: Entering directory `/c/devkitpro/dsorganize_src/arm7'
[ -d build ] || mkdir -p build
make --no-print-directory -C build -f /c/devkitpro/dsorganize_src/arm7/Makefile
linking DSOrganize.arm7.elf
arm-elf-gcc  -specs=ds_arm7.specs -g -mthumb-interwork -mno-fpu -Wl,-Map,.map      main.o microphone7.o resetmem.o     -L/c/devkitPro/libnds/lib -ldswifi7 -lnds7  -o /c/devkitpro/dsorganize_src/arm7/DSOrganize.arm7.elf
c:/devkitPro/libnds/lib\libdswifi7.a: could not read symbols: File format not recognized
make[2]: *** [/c/devkitpro/dsorganize_src/arm7/DSOrganize.arm7.elf] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/c/devkitpro/dsorganize_src/arm7'
make: *** [arm7/DSOrganize.elf] Error 2


I use :
devkitARM_r17-win32
libnds-20060201
libmirko-0.9.6
dswifi-0.3b
and DM libs

I dont think this is a dswifi lib problem...
What version of devkitARM and libnds you advise me for compile DSOrganize please ?

#106177 - Lynx - Mon Oct 16, 2006 6:28 am

I don' t know for sure, as I can't code for crap.. but I'm guessing it has something to do with the make file being designed for windows and your compiling on linux?

Quote:
c:/devkitPro/libnds/lib\libdswifi7.a: could not read symbols: File format not recognized


Could that be a hard coded call? as most of the other references are '/c/devkitpro/'
_________________
NDS Homebrew Roms & Reviews

#106193 - MEstk - Mon Oct 16, 2006 5:46 pm

I compile under Windows XP with msys

#106225 - josath - Tue Oct 17, 2006 1:16 am

DSO source has a bunch of "\" in the include statements, which borks compiling on linux.

My guess is your problem may come because you are using an old version of devkitarm (the latest is 19b) and an older libnds (over 6 months old actually).

Try redownloading the latest versions, and recompiling all the libraries, then running make clean on DSO, and then try compiling it again.

#106259 - chishm - Tue Oct 17, 2006 10:26 am

DragonMinded has said that it won't compile with DKP r19 +. Try DKP r18.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#106265 - MEstk - Tue Oct 17, 2006 11:34 am

I dont know where I can download DKP "r18" ?
the only I see is "1.3.5" or devkitARM "rXX"

#106269 - chishm - Tue Oct 17, 2006 12:23 pm

Try DevkitARM r18
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#106273 - MEstk - Tue Oct 17, 2006 12:38 pm

I get :
Code:
$ make
[ -d bin ] || mkdir -p bin
make -C arm7
make[1]: Entering directory `/c/devkitpro/dsorganize_src/arm7'
[ -d build ] || mkdir -p build
make --no-print-directory -C build -f /c/devkitpro/dsorganize_src/arm7/Makefile
main.c
arm-elf-gcc -MMD -MP -MF /c/devkitpro/dsorganize_src/arm7/build/main.d -g -Wall -O2 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb-interwork -I/c/devkitpro/dsorganize_src/arm7/include -I/c/devkitpro/dsorganize_src/arm7/build -I/c/devkitPro/libnds/include -I/c/devkitpro/dsorganize_src/arm7/build -DARM7 -c /c/devkitpro/dsorganize_src/arm7/source/main.c -o main.o
microphone7.c
arm-elf-gcc -MMD -MP -MF /c/devkitpro/dsorganize_src/arm7/build/microphone7.d -g -Wall -O2 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb-interwork -I/c/devkitpro/dsorganize_src/arm7/include -I/c/devkitpro/dsorganize_src/arm7/build -I/c/devkitPro/libnds/include -I/c/devkitpro/dsorganize_src/arm7/build -DARM7 -c /c/devkitpro/dsorganize_src/arm7/source/microphone7.c -o microphone7.o
resetmem.c
arm-elf-gcc -MMD -MP -MF /c/devkitpro/dsorganize_src/arm7/build/resetmem.d -g -Wall -O2 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb-interwork -I/c/devkitpro/dsorganize_src/arm7/include -I/c/devkitpro/dsorganize_src/arm7/build -I/c/devkitPro/libnds/include -I/c/devkitpro/dsorganize_src/arm7/build -DARM7 -c /c/devkitpro/dsorganize_src/arm7/source/resetmem.c -o resetmem.o
linking DSOrganize.arm7.elf
arm-elf-gcc  -specs=ds_arm7.specs -g -mthumb-interwork -mno-fpu -Wl,-Map,.map      main.o microphone7.o resetmem.o     -L/c/devkitPro/libnds/lib -ldswifi7 -lnds7  -o /c/devkitpro/dsorganize_src/arm7/DSOrganize.arm7.elf
c:/devkitPro/libnds/lib\libdswifi7.a: could not read symbols: File format not recognized
collect2: ld returned 1 exit status
make[2]: *** [/c/devkitpro/dsorganize_src/arm7/DSOrganize.arm7.elf] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/c/devkitpro/dsorganize_src/arm7'
make: *** [arm7/DSOrganize.elf] Error 2



with :
- DevkitARM r18
- libnds-20060719
- dswifi-0.3b


Last edited by MEstk on Tue Oct 17, 2006 7:31 pm; edited 1 time in total

#106300 - josath - Tue Oct 17, 2006 7:07 pm

It looks like you need to recompile dswifi. try a make clean on dswifi, then recompile & install it (if needed)

#106315 - MEstk - Tue Oct 17, 2006 8:49 pm

I dont know how to recompile dswifi.
I just want to compile DSOrganize...

Can someone who has already compile DSOrganize, can help me ?