Compile problem with 1.0.1

Dan Gray dan at
Sat Feb 28 01:51:08 EST 2004

  I've got a problem compiling 1.0.1. Make throws a strop in the 
'playsound' directory when it tries to do this...

Making all in playsound
make[2]: Entering directory `/tmp/SDL_sound-1.0.1/playsound'
/bin/sh ../libtool --mode=link gcc  -g -O2 -I/usr/include/SDL 
r/local/include -I/usr/local/include/smpeg -I/usr/include/SDL 
ENTRANT   -o playsound  playsound-playsound.o ../  
-L/usr/lib -Wl
,-rpath,/usr/lib -lSDL -lpthread -L/usr/local/lib 
-Wl,-rpath,/usr/local/lib -lsm
peg -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -L/usr/lib -lmikmod 
  -ldl -L/usr/lib
gcc -g -O2 -I/usr/include/SDL -D_REENTRANT -I/usr/local/include 
lude/smpeg -I/usr/include/SDL -D_REENTRANT -D_REENTRANT -o 
.libs/playsound plays
ound-playsound.o -Wl,-rpath -Wl,/usr/lib -Wl,-rpath -Wl,/usr/local/lib 
h -Wl,/usr/lib  ../.libs/ -L/usr/lib -lm -lm 
-L/usr/X11R6/lib -lp
thread -L/usr/local/lib -lm -lm -lpthread -lm -lm -lm -lpthread -lm -lm 
-lm -lpt
hread -lm -lm -lm -lpthread -lpthread -lm -lpthread -lm -lm -lm 
-lpthread -lm -l
m -lpthread -lm -lm -lm -lpthread -lm -lm -lm -lpthread -lm -lm -lm 
-lpthread -l
pthread -lm -lpthread -lm -lm -lm -lpthread -lpthread -lm -lpthread -lm 
d -lm -lm -lm -lpthread -lm -lm -lm -lpthread -lm -lm -lm -lpthread -lm 
-lm -lm -lm -lm -lpthread -lm -lpthread -lpthread -lm -lpthread -lm 
-lpthread -lm -lm -l
m -lpthread -lpthread -lm -lpthread -lm -lpthread -lm -lm -lm -lpthread 
d -lm -lpthread -lm -lm -lm -lpthread /usr/local/lib/ 
-lstdc++ -lpthr
ead -lm -lpthread -lm -lpthread -lm /usr/lib/ -lm 
  -lesd -laudiofile -lm -lX11 -lXext -lpthread /usr/lib/ 
-lpthread -l
m -lpthread -ldl -Wl,--rpath -Wl,/usr/local/lib
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make[2]: *** [playsound] Error 1
make[2]: Leaving directory `/tmp/SDL_sound-1.0.1/playsound'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SDL_sound-1.0.1'
make: *** [all] Error 2

  I'm no expert, but that doesn't look right to me!! Where are all 
those -lpthread and -lm entries comming from?


More information about the sdlsound mailing list