Smpeg compile err

Hi, I try to compile the latest smpeg on Slackware 9.0:

ranlib .libs/libsmpeg.
rm -fr .libs/libsmpeg.lax
creating libsmpeg.la
(cd .libs && rm -f libsmpeg.la && ln -s …/libsmpeg.la libsmpeg.la)
gcc -DPACKAGE=“smpeg” -DVERSION=“0.4.4” -I. -I. -g -O2
-I/usr/include/SDL -D_REENTRANT -DTHREADED_AUDIO -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/X11R6/include -DNDEBUG -I… -DNOCONTROLS -I. -I./audio -I./video -c
plaympeg.c
/bin/sh ./libtool --mode=link gcc -g -O2 -I/usr/include/SDL -D_REENTRANT
-DTHREADED_AUDIO -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include -DNDEBUG
-I… -DNOCONTROLS -I. -I./audio -I./video -o plaympeg plaympeg.o
libsmpeg.la -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lm
gcc -g -O2 -I/usr/include/SDL -D_REENTRANT -DTHREADED_AUDIO
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/X11R6/include -DNDEBUG -I… -DNOCONTROLS -I.
-I./audio -I./video -o .libs/plaympeg plaympeg.o .libs/libsmpeg.so
-L/usr/lib -lSDL -lpthread -lm -lSDL -lpthread -lm -lSDL -lpthread -lm
-L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lm
.libs/libsmpeg.so: undefined reference to operator new[](unsigned)' .libs/libsmpeg.so: undefined reference tooperator delete(void*)’
.libs/libsmpeg.so: undefined reference to operator delete[](void*)' .libs/libsmpeg.so: undefined reference tooperator new(unsigned)'
collect2: ld returned 1 exit status
make[1]: *** [plaympeg] Error 1
make[1]: Leaving directory `/home/arog/player/smpeg-0.4.4’
make: *** [all-recursive] Error 1

This looks c+±ish, I don’t know how to land this program.

Regards,

Roger Andreassen._________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail

Hi, I try to compile the latest smpeg on Slackware 9.0:

In this case, is the latest from icculus.org, or lokigames.com?

(The quick fix is probably to link with “g++” and not “gcc”…)

–ryan.