Pickle
Mega GP Mania
This linker problem has me stumped. All of this stuff worked on the mingw(windows) side with SDL_sound built as a dynamic dll/lib. Im using codeblocks and devkitGP2X.
I created the SDL_sound lib static library, i coped then placed it the lib folder for the devkit.
I put the SDL_sound.h in include/SDL
I then try to link my project that uses both SDL_mixer and SDl_sound and get these linker problems (I get 9 of these function linker problems total):
CODE
D:\Codeblocks_RC4\devkitGP2X\lib\libSDL_sound.a(playmidi.o):: In function `Timidity_Start':
:: Warning: size of symbol `Timidity_Start' changed from 460 in D:\Codeblocks_RC4\devkitGP2X\lib\libSDL_mixer.a(playmidi.o) to 36 in D:\Codeblocks_RC4\devkitGP2X\lib\libSDL_sound.a(playmidi.o)
D:\Codeblocks_RC4\devkitGP2X\lib\libSDL_sound.a(playmidi.o):: In function `Timidity_PlaySome':
:: Warning: size of symbol `Timidity_PlaySome' changed from 6936 in D:\Codeblocks_RC4\devkitGP2X\lib\libSDL_mixer.a(playmidi.o) to 2484 in D:\Codeblocks_RC4\devkitGP2X\lib\libSDL_sound.a(playmidi.o)
Here are my linker flags:
CODE
-static -lSDL_gfx -lSDL_ttf -lfreetype -lSDL_image -ljpeg -lpng12 -lz -lSDL_mixer -lvorbisidec -lmikmod -lmad -lSDL_sound -lSDL -lgcc -lm -lc -lexpat -lpthread -msoft-float
I created the SDL_sound lib static library, i coped then placed it the lib folder for the devkit.
I put the SDL_sound.h in include/SDL
I then try to link my project that uses both SDL_mixer and SDl_sound and get these linker problems (I get 9 of these function linker problems total):
CODE
D:\Codeblocks_RC4\devkitGP2X\lib\libSDL_sound.a(playmidi.o):: In function `Timidity_Start':
:: Warning: size of symbol `Timidity_Start' changed from 460 in D:\Codeblocks_RC4\devkitGP2X\lib\libSDL_mixer.a(playmidi.o) to 36 in D:\Codeblocks_RC4\devkitGP2X\lib\libSDL_sound.a(playmidi.o)
D:\Codeblocks_RC4\devkitGP2X\lib\libSDL_sound.a(playmidi.o):: In function `Timidity_PlaySome':
:: Warning: size of symbol `Timidity_PlaySome' changed from 6936 in D:\Codeblocks_RC4\devkitGP2X\lib\libSDL_mixer.a(playmidi.o) to 2484 in D:\Codeblocks_RC4\devkitGP2X\lib\libSDL_sound.a(playmidi.o)
Here are my linker flags:
CODE
-static -lSDL_gfx -lSDL_ttf -lfreetype -lSDL_image -ljpeg -lpng12 -lz -lSDL_mixer -lvorbisidec -lmikmod -lmad -lSDL_sound -lSDL -lgcc -lm -lc -lexpat -lpthread -msoft-float