View previous topic :: View next topic |
Author |
Message |
Senso Apprentice
Joined: 17 Jun 2003 Posts: 250 Location: Montreal, Quebec
|
Posted: Sat Oct 25, 2003 12:12 am Post subject: [Fixed] Problems compiling SDL-mixer |
|
|
Every time I try to emerge sdl-mixer, sdl-gfk or sdl-sound, it fails like that:
Code: |
/bin/sh ./libtool --mode=link g++ -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -I/usr/include/SDL -D_REENTRANT -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -o plaympeg plaympeg.o libsmpeg.la -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
g++ -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -I/usr/include/SDL -D_REENTRANT -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -o .libs/plaympeg plaympeg.o .libs/libsmpeg.so -L/usr/lib -lSDL -lpthread -lSDL -lpthread -lsupc++ -lSDL -lpthread -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
plaympeg.o(.text+0x186e): In function `main':
: undefined reference to `SDL_AudioDriverName'
.libs/libsmpeg.so: undefined reference to `SDL_MixAudio'
.libs/libsmpeg.so: undefined reference to `SDL_PauseAudio'
.libs/libsmpeg.so: undefined reference to `SDL_CloseAudio'
.libs/libsmpeg.so: undefined reference to `SDL_OpenAudio'
.libs/libsmpeg.so: undefined reference to `SDL_LockAudio'
.libs/libsmpeg.so: undefined reference to `SDL_UnlockAudio'
collect2: ld returned 1 exit status
make[1]: *** [plaympeg] Error 1
make[1]: Leaving directory `/var/tmp/portage/smpeg-0.4.4-r4/work/smpeg-0.4.4'
make: *** [all-recursive] Error 1
!!! ERROR: media-libs/smpeg-0.4.4-r4 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! parallel make failed
|
All right, it's failing at smpeg but that's because I unmerged it and tried to emerge it again. It did the same thing when smpeg was installed and I tried to emerge sdl-mixer.
I don't have a soundcard installed and so, I've disabled entirely sound in the kernel. Could that be the reason?
Last edited by Senso on Sat Oct 25, 2003 1:18 pm; edited 1 time in total |
|
Back to top |
|
|
Brandy Bodhisattva
Joined: 08 Jun 2003 Posts: 820 Location: New Zealand
|
Posted: Sat Oct 25, 2003 3:20 am Post subject: |
|
|
Senso, it looks like you've installed media-libs/libsdl without audio support. You'll most likely need to reinstall libsdl with any of the following USE flags enabled:
oss alsa esd arts nas
Ciao, Brandy. _________________ Faber est suae quisque fortunae. |
|
Back to top |
|
|
Senso Apprentice
Joined: 17 Jun 2003 Posts: 250 Location: Montreal, Quebec
|
Posted: Sat Oct 25, 2003 1:18 pm Post subject: |
|
|
Right, thanks a lot. I knew something was missing audio support but I wasn't gonna recompile the whole system just for playing frozen-bubble. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|