Compile problem with 1.0.1

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


Hi,
  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 
-D_REENTRANT -I/us
r/local/include -I/usr/local/include/smpeg -I/usr/include/SDL 
-D_REENTRANT -D_RE
ENTRANT   -o playsound  playsound-playsound.o ../libSDL_sound.la  
-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 
-lpthread
  -ldl -L/usr/lib
gcc -g -O2 -I/usr/include/SDL -D_REENTRANT -I/usr/local/include 
-I/usr/local/inc
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 
-Wl,-rpat
h -Wl,/usr/lib  ../.libs/libSDL_sound.so -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 
-lpthrea
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 
-lpthrea
d -lm -lpthread -lm -lm -lm -lpthread /usr/local/lib/libsmpeg.so 
-lstdc++ -lpthr
ead -lm -lpthread -lm -lpthread -lm /usr/lib/libSDL.so -lm 
/usr/lib/libasound.so
  -lesd -laudiofile -lm -lX11 -lXext -lpthread /usr/lib/libmikmod.so 
-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?

  Cheers
    Dan



More information about the sdlsound mailing list