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.

Audio > question setting up krawall

#168248 - moonlightcheese - Fri Apr 17, 2009 12:01 am

i'm trying to just compile the example Krawall found in the devKitPro examples (examples/gba/Krawall) and i've followed the instructions in the example folder.

downloaded the Krawall libraries,
renamed ./gcclib to ./lib
renamed krawall.lib and krawall30.lib to libkrawall.a and libkrawall30.a respectively
changed krawall.h to accept gcc version 3 or greater (rather than exclusively 2 or 3)

and i'm getting this error:

Code:

C:\public\projects\CS4353-game-proj\exalted\Krawall>make
make: *** No targets specified and no makefile found.  Stop.

C:\public\projects\CS4353-game-proj\exalted\Krawall>make
make -C Krawall_Data
make[1]: Entering directory `/c/public/projects/CS4353-game-proj/exalted/Krawall
/Krawall_Data'
/c/devkitPro/Krawall/bin/converter secondpm.s3m sfx.s3m
========================================================
KRAWALL Soundsystem
Copyright (c) 2001, 2002 Sebastian Kienzl <seb@riot.org>
========================================================
s3m-converter v1.0b for NON-COMMERCIAL USE

converting secondpm.s3m...
name: "UnreaL ][ / PM"
removing unused pattern(s): 63 74 75 76
checking channels: ................................
final # of channels: 8

converting sfx.s3m...
name: "untitled"
checking channels: !!!!!!!!!!!!!!!!................
while doing stuff: empty file!!! (sfx?)

checking samples:
removing 0-samples: .............
cutting beyond loop-point: ...
extending loops:
removing duplicate samples:
saving samples: ..............................................
module "secondpm": .............................................................
............
arm-eabi-as -mthumb-interwork *.s -o modules.o
make[1]: Leaving directory `/c/public/projects/CS4353-game-proj/exalted/Krawall/
Krawall_Data'
main.c
arm-eabi-gcc -MMD -MP -MF /c/public/projects/CS4353-game-proj/exalted/Krawall/bu
ild/main.d -g -Wall -O3 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffa
st-math -mthumb -mthumb-interwork -I/c/public/projects/CS4353-game-proj/exalted/
Krawall/Krawall_Data -I/c/public/projects/CS4353-game-proj/exalted/Krawall/inclu
de -I/c/devkitPro/libgba/include -I/c/devkitPro/Krawall/include -I/c/public/proj
ects/CS4353-game-proj/exalted/Krawall/build -c /c/public/projects/CS4353-game-pr
oj/exalted/Krawall/source/main.c -o main.o
In file included from c:/devkitPro/Krawall/include/krawall.h:18,
                 from c:/public/projects/CS4353-game-proj/exalted/Krawall/source
/main.c:5:
c:/devkitPro/Krawall/include/mtypes.h:23: warning: 'packed' attribute ignored
c:/devkitPro/Krawall/include/mtypes.h:28: warning: 'packed' attribute ignored
c:/devkitPro/Krawall/include/mtypes.h:49: warning: 'packed' attribute ignored
linking cartridge
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.3.0/../../../../arm-eabi/bin/ld
.exe: ERROR: Source object c:/devkitPro/Krawall/lib\libkrawall.a has EABI versio
n 0, but target c:/public/projects/CS4353-game-proj/exalted/Krawall/Krawall.elf
has EABI version 4
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.3.0/../../../../arm-eabi/bin/ld
.exe: failed to merge target specific data of file c:/devkitPro/Krawall/lib\libk
rawall.a
collect2: ld returned 1 exit status
make[1]: *** [/c/public/projects/CS4353-game-proj/exalted/Krawall/Krawall.elf] E
rror 1
make: *** [build] Error 2

C:\public\projects\CS4353-game-proj\exalted\Krawall>


i don't get the "EABI version 0" thing. this is the example straight from the example folder and there are no spaces in the directory path... any help?

#168256 - moonlightcheese - Fri Apr 17, 2009 4:01 am

i've scoured all 314 topics in the audio forum and it looks like no one else is having this problem... i'm at a loss...

#168257 - eKid - Fri Apr 17, 2009 8:06 am

This is what I used to change the eabi version of the apex audio system for compiling with devkitARM. Although I don't remember how I used it..

http://www.devkitpro.org/downloads/change-eabi-scripts/

btw, why not use maxmod? ;)

#168258 - moonlightcheese - Fri Apr 17, 2009 12:01 pm

thanks, that worked! haven't checked out maxmod yet. i'll look into it.

#168260 - kusma - Fri Apr 17, 2009 1:01 pm

...or Pimpmobile! ;)