#28526 - Datch - Tue Nov 02, 2004 5:37 am
Hi! I'm trying to set up AAS with my current project and I'm having some problems. I followed very closely the previous thread but I don't think my problem is related. I even tryed the make file provided by jd but the result seems to be worst.
With my make file it's not too bad. I'm able to compile without any errors, the AAS logo even shows up. Trouble starts when I try to do the AAS_SetConfig() like in the example provided. Here's my make file :
When I uncomment the AAS_SetConfig() line, I get a very ugly :
I need a hint please! :)
_________________
Visit SR-388 now and get a 40% discount!
With my make file it's not too bad. I'm able to compile without any errors, the AAS logo even shows up. Trouble starts when I try to do the AAS_SetConfig() like in the example provided. Here's my make file :
Code: |
path=C:\devkitadv\bin
conv2aas AAS_Data gcc -marm -mthumb-interwork -mlong-calls -LLibAAS -O3 -o display.elf display.c libAAS.a objcopy -O binary display.elf display.gba |
Quote: |
C:\gbaprog\alpha>gcc -marm -mthumb-interwork -mlong-calls -LLibAAS -O3 -o display.elf display.c libAAS.a
libAAS.a(AAS_Main.o): In function `AAS_DoConfig': AAS_Main.o(.text+0x13b8): undefined reference to `AAS_data_v109' libAAS.a(AAS_MOD.o): In function `AAS_MOD_SetSongPos': AAS_MOD.o(.text+0xbc): undefined reference to `AAS_Sequence' AAS_MOD.o(.text+0xc8): undefined reference to `AAS_PatternData' libAAS.a(AAS_MOD.o): In function `AAS_MOD_Play': AAS_MOD.o(.text+0x28c): undefined reference to `AAS_DATA_NUM_MODS' AAS_MOD.o(.text+0x290): undefined reference to `AAS_NumChans' AAS_MOD.o(.text+0x2e8): undefined reference to `AAS_Sequence' AAS_MOD.o(.text+0x2ec): undefined reference to `AAS_PatternData' libAAS.a(AAS_MOD.o): In function `AAS_MOD_Interrupt': AAS_MOD.o(.text+0x538): undefined reference to `AAS_ModSamples' AAS_MOD.o(.text+0x53c): undefined reference to `AAS_SampleData' AAS_MOD.o(.text+0x674): undefined reference to `AAS_ModSamples' AAS_MOD.o(.text+0x920): undefined reference to `AAS_ModSamples' AAS_MOD.o(.text+0xaf8): undefined reference to `AAS_Sequence' AAS_MOD.o(.text+0xb04): undefined reference to `AAS_PatternData' AAS_MOD.o(.text+0xc18): undefined reference to `AAS_Sequence' AAS_MOD.o(.text+0xc24): undefined reference to `AAS_PatternData' AAS_MOD.o(.text+0xdac): undefined reference to `AAS_Sequence' AAS_MOD.o(.text+0xdfc): undefined reference to `AAS_PatternData' AAS_MOD.o(.text+0x118c): undefined reference to `AAS_RestartPos' AAS_MOD.o(.text+0x11cc): undefined reference to `AAS_Sequence' AAS_MOD.o(.text+0x11d0): undefined reference to `AAS_PatternData' AAS_MOD.o(.text+0x1254): undefined reference to `AAS_SampleData' libAAS.a(AAS_MOD.o): In function `AAS_MOD_QueueSongPos': AAS_MOD.o(.text+0x12c0): undefined reference to `AAS_Sequence' collect2: ld returned 1 exit status |
_________________
Visit SR-388 now and get a 40% discount!