Hi im new to the forums here and I need some help!
I tried to compile SD_mixer and got lots of errors complaining about files having undefined references to SDL_'something to do with audio' there is alot of them and they all have something to do with audio!
I have the latest PSPSDK and Toolchain installed along with
SDL?
I need help.
I need help compiling SDL_mixer!
Mike@home1 ~/SDL_mixer
$ make
Making all in mikmod
make[1]: Entering directory `/home/Mike/SDL_mixer/mikmod'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Mike/SDL_mixer/mikmod'
Making all in timidity
make[1]: Entering directory `/home/Mike/SDL_mixer/timidity'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Mike/SDL_mixer/timidity'
make[1]: Entering directory `/home/Mike/SDL_mixer'
/bin/sh ./libtool --tag=CC --mode=link psp-gcc -g -O2 -I/usr/local/pspdev/psp/i
nclude/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./m
ikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev/psp/
sdk/include" -L/usr/local/pspdev/psp/sdk/lib -lc -lpspuser -o playwave playwav
e.o libSDL_mixer.la -L/usr/local/pspdev/psp/lib -lSDLmain -lSDL -lm -L/usr/local
/pspdev/psp/sdk/lib -lpspdebug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm
-lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lpsputility -lpspkernel
psp-gcc -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -
DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I
./timidity -G0 -I/usr/local/pspdev/psp/sdk/include -o playwave playwave.o -L/us
r/local/pspdev/psp/sdk/lib ./.libs/libSDL_mixer.a -L/usr/local/pspdev/psp/lib -l
SDLmain /usr/local/pspdev/psp/lib/libSDL.a -lm -lpspdebug -lpspgu -lpspctrl -lps
pge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lpsputili
ty -lpspkernel
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_OpenAudio':
/home/Mike/SDL_mixer/mixer.c:291: undefined reference to `SDL_OpenAudio'
/home/Mike/SDL_mixer/mixer.c:325: undefined reference to `SDL_PauseAudio'
/home/Mike/SDL_mixer/mixer.c:300: undefined reference to `SDL_CloseAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_HaltChannel':
/home/Mike/SDL_mixer/mixer.c:828: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:837: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_AllocateChannels':
/home/Mike/SDL_mixer/mixer.c:345: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:364: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `mix_channels':
/home/Mike/SDL_mixer/mixer.c:207: undefined reference to `SDL_MixAudio'
/home/Mike/SDL_mixer/mixer.c:231: undefined reference to `SDL_MixAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_LoadWAV_RW':
/home/Mike/SDL_mixer/mixer.c:433: undefined reference to `SDL_LoadWAV_RW'
/home/Mike/SDL_mixer/mixer.c:465: undefined reference to `SDL_BuildAudioCVT'
/home/Mike/SDL_mixer/mixer.c:482: undefined reference to `SDL_FreeWAV'
/home/Mike/SDL_mixer/mixer.c:485: undefined reference to `SDL_ConvertAudio'
/home/Mike/SDL_mixer/mixer.c:477: undefined reference to `SDL_FreeWAV'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_FreeChunk':
/home/Mike/SDL_mixer/mixer.c:567: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:575: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_SetPostMix':
/home/Mike/SDL_mixer/mixer.c:591: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:594: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_HookMusic':
/home/Mike/SDL_mixer/mixer.c:603: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:611: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:611: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_ChannelFinished':
/home/Mike/SDL_mixer/mixer.c:621: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:623: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_PlayChannelTimed':
/home/Mike/SDL_mixer/mixer.c:670: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:701: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_ExpireChannel':
/home/Mike/SDL_mixer/mixer.c:718: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:720: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:720: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_FadeInChannelTimed':
/home/Mike/SDL_mixer/mixer.c:741: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:774: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_FadeOutChannel':
/home/Mike/SDL_mixer/mixer.c:869: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:880: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:880: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_UnregisterAllEffects':
/home/Mike/SDL_mixer/mixer.c:1276: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1278: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_CloseAudio':
/home/Mike/SDL_mixer/mixer.c:957: undefined reference to `SDL_CloseAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_Resume':
/home/Mike/SDL_mixer/mixer.c:989: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1007: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1007: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_GroupChannel':
/home/Mike/SDL_mixer/mixer.c:1034: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1036: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_RegisterEffect':
/home/Mike/SDL_mixer/mixer.c:1232: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_UnregisterEffect':
/home/Mike/SDL_mixer/mixer.c:1254: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_HookMusicFinished':
/home/Mike/SDL_mixer/music.c:165: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:167: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_GetMusicType':
/home/Mike/SDL_mixer/music.c:684: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:688: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_SetMusicPosition':
/home/Mike/SDL_mixer/music.c:859: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:869: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:869: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_VolumeMusic':
/home/Mike/SDL_mixer/music.c:944: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:948: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FadeInMusicPos':
/home/Mike/SDL_mixer/music.c:799: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:809: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:802: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:804: undefined reference to `SDL_LockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FreeMusic':
/home/Mike/SDL_mixer/music.c:613: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:625: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:617: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:619: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:617: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:619: undefined reference to `SDL_LockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_HaltMusic':
/home/Mike/SDL_mixer/music.c:1004: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1008: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FadeOutMusic':
/home/Mike/SDL_mixer/music.c:1018: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1025: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FadingMusic':
/home/Mike/SDL_mixer/music.c:1034: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1038: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_PlayingMusic':
/home/Mike/SDL_mixer/music.c:1129: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1133: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(wavestream.o): In function `WAVStream_PlaySome':
/home/Mike/SDL_mixer/wavestream.c:195: undefined reference to `SDL_ConvertAudio'
/home/Mike/SDL_mixer/wavestream.c:196: undefined reference to `SDL_MixAudio'
/home/Mike/SDL_mixer/wavestream.c:195: undefined reference to `SDL_ConvertAudio'
/home/Mike/SDL_mixer/wavestream.c:196: undefined reference to `SDL_MixAudio'
./.libs/libSDL_mixer.a(wavestream.o): In function `WAVStream_LoadSong':
/home/Mike/SDL_mixer/wavestream.c:144: undefined reference to `SDL_BuildAudioCVT
'
/usr/local/pspdev/psp/lib/libSDL.a(SDL.o): In function `SDL_InitSubSystem':
/home/Mike/SDL/src/SDL.c:90: undefined reference to `SDL_AudioInit'
/usr/local/pspdev/psp/lib/libSDL.a(SDL.o): In function `SDL_QuitSubSystem':
/home/Mike/SDL/src/SDL.c:200: undefined reference to `SDL_AudioQuit'
collect2: ld returned 1 exit status
make[1]: *** [playwave] Error 1
make[1]: Leaving directory `/home/Mike/SDL_mixer'
make: *** [all-recursive] Error 1
Mike@home1 ~/SDL_mixer
$
This is my error thanks for the help (in advance!)
$ make
Making all in mikmod
make[1]: Entering directory `/home/Mike/SDL_mixer/mikmod'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Mike/SDL_mixer/mikmod'
Making all in timidity
make[1]: Entering directory `/home/Mike/SDL_mixer/timidity'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Mike/SDL_mixer/timidity'
make[1]: Entering directory `/home/Mike/SDL_mixer'
/bin/sh ./libtool --tag=CC --mode=link psp-gcc -g -O2 -I/usr/local/pspdev/psp/i
nclude/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./m
ikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev/psp/
sdk/include" -L/usr/local/pspdev/psp/sdk/lib -lc -lpspuser -o playwave playwav
e.o libSDL_mixer.la -L/usr/local/pspdev/psp/lib -lSDLmain -lSDL -lm -L/usr/local
/pspdev/psp/sdk/lib -lpspdebug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm
-lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lpsputility -lpspkernel
psp-gcc -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -
DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I
./timidity -G0 -I/usr/local/pspdev/psp/sdk/include -o playwave playwave.o -L/us
r/local/pspdev/psp/sdk/lib ./.libs/libSDL_mixer.a -L/usr/local/pspdev/psp/lib -l
SDLmain /usr/local/pspdev/psp/lib/libSDL.a -lm -lpspdebug -lpspgu -lpspctrl -lps
pge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lpsputili
ty -lpspkernel
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_OpenAudio':
/home/Mike/SDL_mixer/mixer.c:291: undefined reference to `SDL_OpenAudio'
/home/Mike/SDL_mixer/mixer.c:325: undefined reference to `SDL_PauseAudio'
/home/Mike/SDL_mixer/mixer.c:300: undefined reference to `SDL_CloseAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_HaltChannel':
/home/Mike/SDL_mixer/mixer.c:828: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:837: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_AllocateChannels':
/home/Mike/SDL_mixer/mixer.c:345: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:364: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `mix_channels':
/home/Mike/SDL_mixer/mixer.c:207: undefined reference to `SDL_MixAudio'
/home/Mike/SDL_mixer/mixer.c:231: undefined reference to `SDL_MixAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_LoadWAV_RW':
/home/Mike/SDL_mixer/mixer.c:433: undefined reference to `SDL_LoadWAV_RW'
/home/Mike/SDL_mixer/mixer.c:465: undefined reference to `SDL_BuildAudioCVT'
/home/Mike/SDL_mixer/mixer.c:482: undefined reference to `SDL_FreeWAV'
/home/Mike/SDL_mixer/mixer.c:485: undefined reference to `SDL_ConvertAudio'
/home/Mike/SDL_mixer/mixer.c:477: undefined reference to `SDL_FreeWAV'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_FreeChunk':
/home/Mike/SDL_mixer/mixer.c:567: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:575: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_SetPostMix':
/home/Mike/SDL_mixer/mixer.c:591: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:594: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_HookMusic':
/home/Mike/SDL_mixer/mixer.c:603: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:611: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:611: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_ChannelFinished':
/home/Mike/SDL_mixer/mixer.c:621: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:623: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_PlayChannelTimed':
/home/Mike/SDL_mixer/mixer.c:670: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:701: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_ExpireChannel':
/home/Mike/SDL_mixer/mixer.c:718: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:720: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:720: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_FadeInChannelTimed':
/home/Mike/SDL_mixer/mixer.c:741: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:774: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_FadeOutChannel':
/home/Mike/SDL_mixer/mixer.c:869: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:880: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:880: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_UnregisterAllEffects':
/home/Mike/SDL_mixer/mixer.c:1276: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1278: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_CloseAudio':
/home/Mike/SDL_mixer/mixer.c:957: undefined reference to `SDL_CloseAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_Resume':
/home/Mike/SDL_mixer/mixer.c:989: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1007: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1007: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_GroupChannel':
/home/Mike/SDL_mixer/mixer.c:1034: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1036: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_RegisterEffect':
/home/Mike/SDL_mixer/mixer.c:1232: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_UnregisterEffect':
/home/Mike/SDL_mixer/mixer.c:1254: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_HookMusicFinished':
/home/Mike/SDL_mixer/music.c:165: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:167: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_GetMusicType':
/home/Mike/SDL_mixer/music.c:684: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:688: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_SetMusicPosition':
/home/Mike/SDL_mixer/music.c:859: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:869: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:869: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_VolumeMusic':
/home/Mike/SDL_mixer/music.c:944: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:948: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FadeInMusicPos':
/home/Mike/SDL_mixer/music.c:799: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:809: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:802: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:804: undefined reference to `SDL_LockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FreeMusic':
/home/Mike/SDL_mixer/music.c:613: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:625: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:617: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:619: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:617: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:619: undefined reference to `SDL_LockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_HaltMusic':
/home/Mike/SDL_mixer/music.c:1004: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1008: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FadeOutMusic':
/home/Mike/SDL_mixer/music.c:1018: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1025: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FadingMusic':
/home/Mike/SDL_mixer/music.c:1034: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1038: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_PlayingMusic':
/home/Mike/SDL_mixer/music.c:1129: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1133: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(wavestream.o): In function `WAVStream_PlaySome':
/home/Mike/SDL_mixer/wavestream.c:195: undefined reference to `SDL_ConvertAudio'
/home/Mike/SDL_mixer/wavestream.c:196: undefined reference to `SDL_MixAudio'
/home/Mike/SDL_mixer/wavestream.c:195: undefined reference to `SDL_ConvertAudio'
/home/Mike/SDL_mixer/wavestream.c:196: undefined reference to `SDL_MixAudio'
./.libs/libSDL_mixer.a(wavestream.o): In function `WAVStream_LoadSong':
/home/Mike/SDL_mixer/wavestream.c:144: undefined reference to `SDL_BuildAudioCVT
'
/usr/local/pspdev/psp/lib/libSDL.a(SDL.o): In function `SDL_InitSubSystem':
/home/Mike/SDL/src/SDL.c:90: undefined reference to `SDL_AudioInit'
/usr/local/pspdev/psp/lib/libSDL.a(SDL.o): In function `SDL_QuitSubSystem':
/home/Mike/SDL/src/SDL.c:200: undefined reference to `SDL_AudioQuit'
collect2: ld returned 1 exit status
make[1]: *** [playwave] Error 1
make[1]: Leaving directory `/home/Mike/SDL_mixer'
make: *** [all-recursive] Error 1
Mike@home1 ~/SDL_mixer
$
This is my error thanks for the help (in advance!)
okay I installed SDL again... exactly as the readme.PSP says and that was successful then I cofigured sDL_mixer witch was right aswel then I 'make' it and I still have an error...
midity -G0 -I/usr/local/pspdev/psp/sdk/include -MT mixer.lo -MD -MP -MF .deps/mi
xer.Tpo -c mixer.c -o mixer.o
if /bin/sh ./libtool --tag=CC --mode=compile psp-gcc -DPACKAGE_NAME=\"\" -DPACKA
GE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT
=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TY
PES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_
H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -O2 -I/usr/local/pspdev/
psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC
-I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev
/psp/sdk/include" -MT music.lo -MD -MP -MF ".deps/music.Tpo" -c -o music.lo musi
c.c; \
then mv -f ".deps/music.Tpo" ".deps/music.Plo"; else rm -f ".deps/music.Tpo"; ex
it 1; fi
psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPAC
KAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.
2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=
1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.
-I. -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD
_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./ti
midity -G0 -I/usr/local/pspdev/psp/sdk/include -MT music.lo -MD -MP -MF .deps/mu
sic.Tpo -c music.c -o music.o
if /bin/sh ./libtool --tag=CC --mode=compile psp-gcc -DPACKAGE_NAME=\"\" -DPACKA
GE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT
=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TY
PES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_
H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -O2 -I/usr/local/pspdev/
psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC
-I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev
/psp/sdk/include" -MT wavestream.lo -MD -MP -MF ".deps/wavestream.Tpo" -c -o wav
estream.lo wavestream.c; \
then mv -f ".deps/wavestream.Tpo" ".deps/wavestream.Plo"; else rm -f ".deps/wave
stream.Tpo"; exit 1; fi
psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPAC
KAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.
2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=
1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.
-I. -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD
_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./ti
midity -G0 -I/usr/local/pspdev/psp/sdk/include -MT wavestream.lo -MD -MP -MF .de
ps/wavestream.Tpo -c wavestream.c -o wavestream.o
if /bin/sh ./libtool --tag=CC --mode=compile psp-gcc -DPACKAGE_NAME=\"\" -DPACKA
GE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT
=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TY
PES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_
H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -O2 -I/usr/local/pspdev/
psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC
-I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev
/psp/sdk/include" -MT effect_position.lo -MD -MP -MF ".deps/effect_position.Tpo"
-c -o effect_position.lo effect_position.c; \
then mv -f ".deps/effect_position.Tpo" ".deps/effect_position.Plo"; else rm -f "
.deps/effect_position.Tpo"; exit 1; fi
psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPAC
KAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.
2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=
1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.
-I. -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD
_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./ti
midity -G0 -I/usr/local/pspdev/psp/sdk/include -MT effect_position.lo -MD -MP -M
F .deps/effect_position.Tpo -c effect_position.c -o effect_position.o
if /bin/sh ./libtool --tag=CC --mode=compile psp-gcc -DPACKAGE_NAME=\"\" -DPACKA
GE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT
=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TY
PES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_
H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -O2 -I/usr/local/pspdev/
psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC
-I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev
/psp/sdk/include" -MT effect_stereoreverse.lo -MD -MP -MF ".deps/effect_stereore
verse.Tpo" -c -o effect_stereoreverse.lo effect_stereoreverse.c; \
then mv -f ".deps/effect_stereoreverse.Tpo" ".deps/effect_stereoreverse.Plo"; el
se rm -f ".deps/effect_stereoreverse.Tpo"; exit 1; fi
psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPAC
KAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.
2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=
1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.
-I. -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD
_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./ti
midity -G0 -I/usr/local/pspdev/psp/sdk/include -MT effect_stereoreverse.lo -MD -
MP -MF .deps/effect_stereoreverse.Tpo -c effect_stereoreverse.c -o effect_stereo
reverse.o
if /bin/sh ./libtool --tag=CC --mode=compile psp-gcc -DPACKAGE_NAME=\"\" -DPACKA
GE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT
=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TY
PES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_
H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -O2 -I/usr/local/pspdev/
psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC
-I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev
/psp/sdk/include" -MT effects_internal.lo -MD -MP -MF ".deps/effects_internal.Tp
o" -c -o effects_internal.lo effects_internal.c; \
then mv -f ".deps/effects_internal.Tpo" ".deps/effects_internal.Plo"; else rm -f
".deps/effects_internal.Tpo"; exit 1; fi
psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPAC
KAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.
2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=
1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.
-I. -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD
_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./ti
midity -G0 -I/usr/local/pspdev/psp/sdk/include -MT effects_internal.lo -MD -MP -
MF .deps/effects_internal.Tpo -c effects_internal.c -o effects_internal.o
/bin/sh ./libtool --tag=CC --mode=link psp-gcc -g -O2 -I/usr/local/pspdev/psp/i
nclude/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./m
ikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev/psp/
sdk/include" -L/usr/local/pspdev/psp/sdk/lib -lc -lpspuser -o libSDL_mixer.la -
rpath /usr/local/pspdev/psp/lib -no-undefined -release 1.2 -version-info 2:4:2 -
export-symbols-regex Mix_.* load_aiff.lo load_voc.lo load_ogg.lo mixer.lo music.
lo music_cmd.lo music_ogg.lo wavestream.lo effect_position.lo effect_stereorever
se.lo effects_internal.lo mikmod/libmikmod.la timidity/libtimidity.la -L/usr/l
ocal/pspdev/psp/lib -lSDLmain -lSDL -lm -L/usr/local/pspdev/psp/sdk/lib -lpspdeb
ug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio
-lc -lpspuser -lpsputility -lpspkernel
rm -fr .libs/libSDL_mixer.a .libs/libSDL_mixer.la .libs/libSDL_mixer.lai
rm -fr .libs/libSDL_mixer.lax
mkdir .libs/libSDL_mixer.lax
rm -fr .libs/libSDL_mixer.lax/libmikmod.a
mkdir .libs/libSDL_mixer.lax/libmikmod.a
(cd .libs/libSDL_mixer.lax/libmikmod.a && psp-ar x /home/Mike/SDL_mixer/mikmod/.
libs/libmikmod.a)
rm -fr .libs/libSDL_mixer.lax/libtimidity.a
mkdir .libs/libSDL_mixer.lax/libtimidity.a
(cd .libs/libSDL_mixer.lax/libtimidity.a && psp-ar x /home/Mike/SDL_mixer/timidi
ty/.libs/libtimidity.a)
psp-ar cru .libs/libSDL_mixer.a load_aiff.o load_voc.o load_ogg.o mixer.o music
.o music_cmd.o music_ogg.o wavestream.o effect_position.o effect_stereoreverse.o
effects_internal.o .libs/libSDL_mixer.lax/libmikmod.a/drv_nos.o .libs/libSDL_m
ixer.lax/libmikmod.a/drv_sdl.o .libs/libSDL_mixer.lax/libmikmod.a/load_it.o .lib
s/libSDL_mixer.lax/libmikmod.a/load_mod.o .libs/libSDL_mixer.lax/libmikmod.a/loa
d_s3m.o .libs/libSDL_mixer.lax/libmikmod.a/load_xm.o .libs/libSDL_mixer.lax/libm
ikmod.a/mdreg.o .libs/libSDL_mixer.lax/libmikmod.a/mdriver.o .libs/libSDL_mixer.
lax/libmikmod.a/mloader.o .libs/libSDL_mixer.lax/libmikmod.a/mlreg.o .libs/libSD
L_mixer.lax/libmikmod.a/mlutil.o .libs/libSDL_mixer.lax/libmikmod.a/mmalloc.o .l
ibs/libSDL_mixer.lax/libmikmod.a/mmerror.o .libs/libSDL_mixer.lax/libmikmod.a/mm
io.o .libs/libSDL_mixer.lax/libmikmod.a/mplayer.o .libs/libSDL_mixer.lax/libmikm
od.a/munitrk.o .libs/libSDL_mixer.lax/libmikmod.a/mwav.o .libs/libSDL_mixer.lax/
libmikmod.a/npertab.o .libs/libSDL_mixer.lax/libmikmod.a/sloader.o .libs/libSDL_
mixer.lax/libmikmod.a/virtch.o .libs/libSDL_mixer.lax/libmikmod.a/virtch2.o .lib
s/libSDL_mixer.lax/libmikmod.a/virtch_common.o .libs/libSDL_mixer.lax/libtimidi
ty.a/common.o .libs/libSDL_mixer.lax/libtimidity.a/controls.o .libs/libSDL_mixer
.lax/libtimidity.a/filter.o .libs/libSDL_mixer.lax/libtimidity.a/instrum.o .libs
/libSDL_mixer.lax/libtimidity.a/mix.o .libs/libSDL_mixer.lax/libtimidity.a/outpu
t.o .libs/libSDL_mixer.lax/libtimidity.a/playmidi.o .libs/libSDL_mixer.lax/libti
midity.a/readmidi.o .libs/libSDL_mixer.lax/libtimidity.a/resample.o .libs/libSDL
_mixer.lax/libtimidity.a/sdl_a.o .libs/libSDL_mixer.lax/libtimidity.a/sdl_c.o .l
ibs/libSDL_mixer.lax/libtimidity.a/tables.o .libs/libSDL_mixer.lax/libtimidity.a
/timidity.o
psp-ranlib .libs/libSDL_mixer.a
rm -fr .libs/libSDL_mixer.lax
creating libSDL_mixer.la
(cd .libs && rm -f libSDL_mixer.la && ln -s ../libSDL_mixer.la libSDL_mixer.la)
if psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DP
ACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"
1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_
H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -
I. -I. -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOP
S -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -G0 -I"/usr/local/pspdev/psp/sdk/include" -MT playwave.o -MD -MP -
MF ".deps/playwave.Tpo" -c -o playwave.o playwave.c; \
then mv -f ".deps/playwave.Tpo" ".deps/playwave.Po"; else rm -f ".deps/playwave.
Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link psp-gcc -g -O2 -I/usr/local/pspdev/psp/i
nclude/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./m
ikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev/psp/
sdk/include" -L/usr/local/pspdev/psp/sdk/lib -lc -lpspuser -o playwave playwav
e.o libSDL_mixer.la -L/usr/local/pspdev/psp/lib -lSDLmain -lSDL -lm -L/usr/local
/pspdev/psp/sdk/lib -lpspdebug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm
-lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lpsputility -lpspkernel
psp-gcc -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -
DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I
./timidity -G0 -I/usr/local/pspdev/psp/sdk/include -o playwave playwave.o -L/us
r/local/pspdev/psp/sdk/lib ./.libs/libSDL_mixer.a -L/usr/local/pspdev/psp/lib -l
SDLmain /usr/local/pspdev/psp/lib/libSDL.a -lm -lpspdebug -lpspgu -lpspctrl -lps
pge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lpsputili
ty -lpspkernel
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_OpenAudio':
/home/Mike/SDL_mixer/mixer.c:291: undefined reference to `SDL_OpenAudio'
/home/Mike/SDL_mixer/mixer.c:325: undefined reference to `SDL_PauseAudio'
/home/Mike/SDL_mixer/mixer.c:300: undefined reference to `SDL_CloseAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_HaltChannel':
/home/Mike/SDL_mixer/mixer.c:828: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:837: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_AllocateChannels':
/home/Mike/SDL_mixer/mixer.c:345: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:364: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `mix_channels':
/home/Mike/SDL_mixer/mixer.c:207: undefined reference to `SDL_MixAudio'
/home/Mike/SDL_mixer/mixer.c:231: undefined reference to `SDL_MixAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_LoadWAV_RW':
/home/Mike/SDL_mixer/mixer.c:433: undefined reference to `SDL_LoadWAV_RW'
/home/Mike/SDL_mixer/mixer.c:465: undefined reference to `SDL_BuildAudioCVT'
/home/Mike/SDL_mixer/mixer.c:482: undefined reference to `SDL_FreeWAV'
/home/Mike/SDL_mixer/mixer.c:485: undefined reference to `SDL_ConvertAudio'
/home/Mike/SDL_mixer/mixer.c:477: undefined reference to `SDL_FreeWAV'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_FreeChunk':
/home/Mike/SDL_mixer/mixer.c:567: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:575: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_SetPostMix':
/home/Mike/SDL_mixer/mixer.c:591: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:594: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_HookMusic':
/home/Mike/SDL_mixer/mixer.c:603: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:611: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:611: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_ChannelFinished':
/home/Mike/SDL_mixer/mixer.c:621: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:623: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_PlayChannelTimed':
/home/Mike/SDL_mixer/mixer.c:670: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:701: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_ExpireChannel':
/home/Mike/SDL_mixer/mixer.c:718: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:720: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:720: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_FadeInChannelTimed':
/home/Mike/SDL_mixer/mixer.c:741: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:774: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_FadeOutChannel':
/home/Mike/SDL_mixer/mixer.c:869: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:880: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:880: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_UnregisterAllEffects':
/home/Mike/SDL_mixer/mixer.c:1276: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1278: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_CloseAudio':
/home/Mike/SDL_mixer/mixer.c:957: undefined reference to `SDL_CloseAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_Resume':
/home/Mike/SDL_mixer/mixer.c:989: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1007: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1007: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_GroupChannel':
/home/Mike/SDL_mixer/mixer.c:1034: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1036: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_RegisterEffect':
/home/Mike/SDL_mixer/mixer.c:1232: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_UnregisterEffect':
/home/Mike/SDL_mixer/mixer.c:1254: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_HookMusicFinished':
/home/Mike/SDL_mixer/music.c:165: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:167: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_GetMusicType':
/home/Mike/SDL_mixer/music.c:684: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:688: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_SetMusicPosition':
/home/Mike/SDL_mixer/music.c:859: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:869: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:869: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_VolumeMusic':
/home/Mike/SDL_mixer/music.c:944: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:948: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FadeInMusicPos':
/home/Mike/SDL_mixer/music.c:799: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:809: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:802: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:804: undefined reference to `SDL_LockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FreeMusic':
/home/Mike/SDL_mixer/music.c:613: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:625: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:617: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:619: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:617: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:619: undefined reference to `SDL_LockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_HaltMusic':
/home/Mike/SDL_mixer/music.c:1004: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1008: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FadeOutMusic':
/home/Mike/SDL_mixer/music.c:1018: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1025: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FadingMusic':
/home/Mike/SDL_mixer/music.c:1034: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1038: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_PlayingMusic':
/home/Mike/SDL_mixer/music.c:1129: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1133: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(wavestream.o): In function `WAVStream_PlaySome':
/home/Mike/SDL_mixer/wavestream.c:195: undefined reference to `SDL_ConvertAudio'
/home/Mike/SDL_mixer/wavestream.c:196: undefined reference to `SDL_MixAudio'
/home/Mike/SDL_mixer/wavestream.c:195: undefined reference to `SDL_ConvertAudio'
/home/Mike/SDL_mixer/wavestream.c:196: undefined reference to `SDL_MixAudio'
./.libs/libSDL_mixer.a(wavestream.o): In function `WAVStream_LoadSong':
/home/Mike/SDL_mixer/wavestream.c:144: undefined reference to `SDL_BuildAudioCVT
'
/usr/local/pspdev/psp/lib/libSDL.a(SDL.o): In function `SDL_InitSubSystem':
/home/Mike/SDL/src/SDL.c:90: undefined reference to `SDL_AudioInit'
/usr/local/pspdev/psp/lib/libSDL.a(SDL.o): In function `SDL_QuitSubSystem':
/home/Mike/SDL/src/SDL.c:200: undefined reference to `SDL_AudioQuit'
collect2: ld returned 1 exit status
make[1]: *** [playwave] Error 1
make[1]: Leaving directory `/home/Mike/SDL_mixer'
make: *** [all-recursive] Error 1
Mike@home1 ~/SDL_mixer
$
midity -G0 -I/usr/local/pspdev/psp/sdk/include -MT mixer.lo -MD -MP -MF .deps/mi
xer.Tpo -c mixer.c -o mixer.o
if /bin/sh ./libtool --tag=CC --mode=compile psp-gcc -DPACKAGE_NAME=\"\" -DPACKA
GE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT
=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TY
PES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_
H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -O2 -I/usr/local/pspdev/
psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC
-I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev
/psp/sdk/include" -MT music.lo -MD -MP -MF ".deps/music.Tpo" -c -o music.lo musi
c.c; \
then mv -f ".deps/music.Tpo" ".deps/music.Plo"; else rm -f ".deps/music.Tpo"; ex
it 1; fi
psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPAC
KAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.
2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=
1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.
-I. -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD
_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./ti
midity -G0 -I/usr/local/pspdev/psp/sdk/include -MT music.lo -MD -MP -MF .deps/mu
sic.Tpo -c music.c -o music.o
if /bin/sh ./libtool --tag=CC --mode=compile psp-gcc -DPACKAGE_NAME=\"\" -DPACKA
GE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT
=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TY
PES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_
H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -O2 -I/usr/local/pspdev/
psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC
-I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev
/psp/sdk/include" -MT wavestream.lo -MD -MP -MF ".deps/wavestream.Tpo" -c -o wav
estream.lo wavestream.c; \
then mv -f ".deps/wavestream.Tpo" ".deps/wavestream.Plo"; else rm -f ".deps/wave
stream.Tpo"; exit 1; fi
psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPAC
KAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.
2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=
1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.
-I. -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD
_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./ti
midity -G0 -I/usr/local/pspdev/psp/sdk/include -MT wavestream.lo -MD -MP -MF .de
ps/wavestream.Tpo -c wavestream.c -o wavestream.o
if /bin/sh ./libtool --tag=CC --mode=compile psp-gcc -DPACKAGE_NAME=\"\" -DPACKA
GE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT
=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TY
PES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_
H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -O2 -I/usr/local/pspdev/
psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC
-I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev
/psp/sdk/include" -MT effect_position.lo -MD -MP -MF ".deps/effect_position.Tpo"
-c -o effect_position.lo effect_position.c; \
then mv -f ".deps/effect_position.Tpo" ".deps/effect_position.Plo"; else rm -f "
.deps/effect_position.Tpo"; exit 1; fi
psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPAC
KAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.
2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=
1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.
-I. -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD
_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./ti
midity -G0 -I/usr/local/pspdev/psp/sdk/include -MT effect_position.lo -MD -MP -M
F .deps/effect_position.Tpo -c effect_position.c -o effect_position.o
if /bin/sh ./libtool --tag=CC --mode=compile psp-gcc -DPACKAGE_NAME=\"\" -DPACKA
GE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT
=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TY
PES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_
H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -O2 -I/usr/local/pspdev/
psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC
-I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev
/psp/sdk/include" -MT effect_stereoreverse.lo -MD -MP -MF ".deps/effect_stereore
verse.Tpo" -c -o effect_stereoreverse.lo effect_stereoreverse.c; \
then mv -f ".deps/effect_stereoreverse.Tpo" ".deps/effect_stereoreverse.Plo"; el
se rm -f ".deps/effect_stereoreverse.Tpo"; exit 1; fi
psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPAC
KAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.
2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=
1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.
-I. -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD
_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./ti
midity -G0 -I/usr/local/pspdev/psp/sdk/include -MT effect_stereoreverse.lo -MD -
MP -MF .deps/effect_stereoreverse.Tpo -c effect_stereoreverse.c -o effect_stereo
reverse.o
if /bin/sh ./libtool --tag=CC --mode=compile psp-gcc -DPACKAGE_NAME=\"\" -DPACKA
GE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT
=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TY
PES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_
H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -O2 -I/usr/local/pspdev/
psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC
-I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev
/psp/sdk/include" -MT effects_internal.lo -MD -MP -MF ".deps/effects_internal.Tp
o" -c -o effects_internal.lo effects_internal.c; \
then mv -f ".deps/effects_internal.Tpo" ".deps/effects_internal.Plo"; else rm -f
".deps/effects_internal.Tpo"; exit 1; fi
psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPAC
KAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.
2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=
1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.
-I. -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD
_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./ti
midity -G0 -I/usr/local/pspdev/psp/sdk/include -MT effects_internal.lo -MD -MP -
MF .deps/effects_internal.Tpo -c effects_internal.c -o effects_internal.o
/bin/sh ./libtool --tag=CC --mode=link psp-gcc -g -O2 -I/usr/local/pspdev/psp/i
nclude/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./m
ikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev/psp/
sdk/include" -L/usr/local/pspdev/psp/sdk/lib -lc -lpspuser -o libSDL_mixer.la -
rpath /usr/local/pspdev/psp/lib -no-undefined -release 1.2 -version-info 2:4:2 -
export-symbols-regex Mix_.* load_aiff.lo load_voc.lo load_ogg.lo mixer.lo music.
lo music_cmd.lo music_ogg.lo wavestream.lo effect_position.lo effect_stereorever
se.lo effects_internal.lo mikmod/libmikmod.la timidity/libtimidity.la -L/usr/l
ocal/pspdev/psp/lib -lSDLmain -lSDL -lm -L/usr/local/pspdev/psp/sdk/lib -lpspdeb
ug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio
-lc -lpspuser -lpsputility -lpspkernel
rm -fr .libs/libSDL_mixer.a .libs/libSDL_mixer.la .libs/libSDL_mixer.lai
rm -fr .libs/libSDL_mixer.lax
mkdir .libs/libSDL_mixer.lax
rm -fr .libs/libSDL_mixer.lax/libmikmod.a
mkdir .libs/libSDL_mixer.lax/libmikmod.a
(cd .libs/libSDL_mixer.lax/libmikmod.a && psp-ar x /home/Mike/SDL_mixer/mikmod/.
libs/libmikmod.a)
rm -fr .libs/libSDL_mixer.lax/libtimidity.a
mkdir .libs/libSDL_mixer.lax/libtimidity.a
(cd .libs/libSDL_mixer.lax/libtimidity.a && psp-ar x /home/Mike/SDL_mixer/timidi
ty/.libs/libtimidity.a)
psp-ar cru .libs/libSDL_mixer.a load_aiff.o load_voc.o load_ogg.o mixer.o music
.o music_cmd.o music_ogg.o wavestream.o effect_position.o effect_stereoreverse.o
effects_internal.o .libs/libSDL_mixer.lax/libmikmod.a/drv_nos.o .libs/libSDL_m
ixer.lax/libmikmod.a/drv_sdl.o .libs/libSDL_mixer.lax/libmikmod.a/load_it.o .lib
s/libSDL_mixer.lax/libmikmod.a/load_mod.o .libs/libSDL_mixer.lax/libmikmod.a/loa
d_s3m.o .libs/libSDL_mixer.lax/libmikmod.a/load_xm.o .libs/libSDL_mixer.lax/libm
ikmod.a/mdreg.o .libs/libSDL_mixer.lax/libmikmod.a/mdriver.o .libs/libSDL_mixer.
lax/libmikmod.a/mloader.o .libs/libSDL_mixer.lax/libmikmod.a/mlreg.o .libs/libSD
L_mixer.lax/libmikmod.a/mlutil.o .libs/libSDL_mixer.lax/libmikmod.a/mmalloc.o .l
ibs/libSDL_mixer.lax/libmikmod.a/mmerror.o .libs/libSDL_mixer.lax/libmikmod.a/mm
io.o .libs/libSDL_mixer.lax/libmikmod.a/mplayer.o .libs/libSDL_mixer.lax/libmikm
od.a/munitrk.o .libs/libSDL_mixer.lax/libmikmod.a/mwav.o .libs/libSDL_mixer.lax/
libmikmod.a/npertab.o .libs/libSDL_mixer.lax/libmikmod.a/sloader.o .libs/libSDL_
mixer.lax/libmikmod.a/virtch.o .libs/libSDL_mixer.lax/libmikmod.a/virtch2.o .lib
s/libSDL_mixer.lax/libmikmod.a/virtch_common.o .libs/libSDL_mixer.lax/libtimidi
ty.a/common.o .libs/libSDL_mixer.lax/libtimidity.a/controls.o .libs/libSDL_mixer
.lax/libtimidity.a/filter.o .libs/libSDL_mixer.lax/libtimidity.a/instrum.o .libs
/libSDL_mixer.lax/libtimidity.a/mix.o .libs/libSDL_mixer.lax/libtimidity.a/outpu
t.o .libs/libSDL_mixer.lax/libtimidity.a/playmidi.o .libs/libSDL_mixer.lax/libti
midity.a/readmidi.o .libs/libSDL_mixer.lax/libtimidity.a/resample.o .libs/libSDL
_mixer.lax/libtimidity.a/sdl_a.o .libs/libSDL_mixer.lax/libtimidity.a/sdl_c.o .l
ibs/libSDL_mixer.lax/libtimidity.a/tables.o .libs/libSDL_mixer.lax/libtimidity.a
/timidity.o
psp-ranlib .libs/libSDL_mixer.a
rm -fr .libs/libSDL_mixer.lax
creating libSDL_mixer.la
(cd .libs && rm -f libSDL_mixer.la && ln -s ../libSDL_mixer.la libSDL_mixer.la)
if psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DP
ACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"
1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_
H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -
I. -I. -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOP
S -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -G0 -I"/usr/local/pspdev/psp/sdk/include" -MT playwave.o -MD -MP -
MF ".deps/playwave.Tpo" -c -o playwave.o playwave.c; \
then mv -f ".deps/playwave.Tpo" ".deps/playwave.Po"; else rm -f ".deps/playwave.
Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link psp-gcc -g -O2 -I/usr/local/pspdev/psp/i
nclude/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./m
ikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -G0 -I"/usr/local/pspdev/psp/
sdk/include" -L/usr/local/pspdev/psp/sdk/lib -lc -lpspuser -o playwave playwav
e.o libSDL_mixer.la -L/usr/local/pspdev/psp/lib -lSDLmain -lSDL -lm -L/usr/local
/pspdev/psp/sdk/lib -lpspdebug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm
-lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lpsputility -lpspkernel
psp-gcc -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -
DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I
./timidity -G0 -I/usr/local/pspdev/psp/sdk/include -o playwave playwave.o -L/us
r/local/pspdev/psp/sdk/lib ./.libs/libSDL_mixer.a -L/usr/local/pspdev/psp/lib -l
SDLmain /usr/local/pspdev/psp/lib/libSDL.a -lm -lpspdebug -lpspgu -lpspctrl -lps
pge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lpsputili
ty -lpspkernel
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_OpenAudio':
/home/Mike/SDL_mixer/mixer.c:291: undefined reference to `SDL_OpenAudio'
/home/Mike/SDL_mixer/mixer.c:325: undefined reference to `SDL_PauseAudio'
/home/Mike/SDL_mixer/mixer.c:300: undefined reference to `SDL_CloseAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_HaltChannel':
/home/Mike/SDL_mixer/mixer.c:828: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:837: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_AllocateChannels':
/home/Mike/SDL_mixer/mixer.c:345: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:364: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `mix_channels':
/home/Mike/SDL_mixer/mixer.c:207: undefined reference to `SDL_MixAudio'
/home/Mike/SDL_mixer/mixer.c:231: undefined reference to `SDL_MixAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_LoadWAV_RW':
/home/Mike/SDL_mixer/mixer.c:433: undefined reference to `SDL_LoadWAV_RW'
/home/Mike/SDL_mixer/mixer.c:465: undefined reference to `SDL_BuildAudioCVT'
/home/Mike/SDL_mixer/mixer.c:482: undefined reference to `SDL_FreeWAV'
/home/Mike/SDL_mixer/mixer.c:485: undefined reference to `SDL_ConvertAudio'
/home/Mike/SDL_mixer/mixer.c:477: undefined reference to `SDL_FreeWAV'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_FreeChunk':
/home/Mike/SDL_mixer/mixer.c:567: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:575: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_SetPostMix':
/home/Mike/SDL_mixer/mixer.c:591: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:594: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_HookMusic':
/home/Mike/SDL_mixer/mixer.c:603: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:611: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:611: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_ChannelFinished':
/home/Mike/SDL_mixer/mixer.c:621: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:623: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_PlayChannelTimed':
/home/Mike/SDL_mixer/mixer.c:670: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:701: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_ExpireChannel':
/home/Mike/SDL_mixer/mixer.c:718: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:720: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:720: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_FadeInChannelTimed':
/home/Mike/SDL_mixer/mixer.c:741: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:774: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_FadeOutChannel':
/home/Mike/SDL_mixer/mixer.c:869: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:880: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:880: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_UnregisterAllEffects':
/home/Mike/SDL_mixer/mixer.c:1276: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1278: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_CloseAudio':
/home/Mike/SDL_mixer/mixer.c:957: undefined reference to `SDL_CloseAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_Resume':
/home/Mike/SDL_mixer/mixer.c:989: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1007: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1007: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_GroupChannel':
/home/Mike/SDL_mixer/mixer.c:1034: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1036: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_RegisterEffect':
/home/Mike/SDL_mixer/mixer.c:1232: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1234: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_UnregisterEffect':
/home/Mike/SDL_mixer/mixer.c:1254: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/mixer.c:1256: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_HookMusicFinished':
/home/Mike/SDL_mixer/music.c:165: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:167: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_GetMusicType':
/home/Mike/SDL_mixer/music.c:684: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:688: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_SetMusicPosition':
/home/Mike/SDL_mixer/music.c:859: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:869: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:869: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_VolumeMusic':
/home/Mike/SDL_mixer/music.c:944: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:948: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FadeInMusicPos':
/home/Mike/SDL_mixer/music.c:799: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:809: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:802: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:804: undefined reference to `SDL_LockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FreeMusic':
/home/Mike/SDL_mixer/music.c:613: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:625: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:617: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:619: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:617: undefined reference to `SDL_UnlockAudio'
/home/Mike/SDL_mixer/music.c:619: undefined reference to `SDL_LockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_HaltMusic':
/home/Mike/SDL_mixer/music.c:1004: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1008: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FadeOutMusic':
/home/Mike/SDL_mixer/music.c:1018: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1025: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FadingMusic':
/home/Mike/SDL_mixer/music.c:1034: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1038: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_PlayingMusic':
/home/Mike/SDL_mixer/music.c:1129: undefined reference to `SDL_LockAudio'
/home/Mike/SDL_mixer/music.c:1133: undefined reference to `SDL_UnlockAudio'
./.libs/libSDL_mixer.a(wavestream.o): In function `WAVStream_PlaySome':
/home/Mike/SDL_mixer/wavestream.c:195: undefined reference to `SDL_ConvertAudio'
/home/Mike/SDL_mixer/wavestream.c:196: undefined reference to `SDL_MixAudio'
/home/Mike/SDL_mixer/wavestream.c:195: undefined reference to `SDL_ConvertAudio'
/home/Mike/SDL_mixer/wavestream.c:196: undefined reference to `SDL_MixAudio'
./.libs/libSDL_mixer.a(wavestream.o): In function `WAVStream_LoadSong':
/home/Mike/SDL_mixer/wavestream.c:144: undefined reference to `SDL_BuildAudioCVT
'
/usr/local/pspdev/psp/lib/libSDL.a(SDL.o): In function `SDL_InitSubSystem':
/home/Mike/SDL/src/SDL.c:90: undefined reference to `SDL_AudioInit'
/usr/local/pspdev/psp/lib/libSDL.a(SDL.o): In function `SDL_QuitSubSystem':
/home/Mike/SDL/src/SDL.c:200: undefined reference to `SDL_AudioQuit'
collect2: ld returned 1 exit status
make[1]: *** [playwave] Error 1
make[1]: Leaving directory `/home/Mike/SDL_mixer'
make: *** [all-recursive] Error 1
Mike@home1 ~/SDL_mixer
$
hmm very odd error. i just installed the mixer with no problems. First off make sure SDL is installed. you can test it out by going to trunk/tests/SDL/ type make and see if it compiles.
One thing i believe is going wrong is that your not following the instruction proprely. in the readme file when you see a '\' that just means new line or continuation on the next line. so try typing this.
what you will notice different about the original one is that the LDFLAGS are all in 1 line. see if that helps. Also check this thread out on setting up SDL.
http://forums.ps2dev.org/viewtopic.php? ... hlight=sdl
One thing i believe is going wrong is that your not following the instruction proprely. in the readme file when you see a '\' that just means new line or continuation on the next line. so try typing this.
Code: Select all
1) ./autogen.sh
2) LDFLAGS="-L`psp-config --pspsdk-path`/lib -lc -lpspuser" ./configure --host psp --with-sdl-prefix=`psp-config --psp-prefix` --disable-music-mp3 --prefix=`psp-config --psp-prefix`
3) make
4) make install
http://forums.ps2dev.org/viewtopic.php? ... hlight=sdl
There are 10 types of people in the world: Those who understand binary, and those who don't...