I wanted to get tuxracer working, so read the hint on hints.linuxfromscratch.org, followed that through up to the smpeg part - which fails during compile with the following error:
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 -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 -Wl,--rpath -Wl,/usr/local/lib
.libs/libsmpeg.so: undefined reference to `operator new[](unsigned)'
.libs/libsmpeg.so: undefined reference to `operator delete(void*)'
.libs/libsmpeg.so: undefined reference to `operator delete[](void*)'
.libs/libsmpeg.so: undefined reference to `operator new(unsigned)'
collect2: ld returned 1 exit status
make[1]: *** [plaympeg] Error 1
make[1]: Leaving directory `/root/tuxracer/smpeg-0.4.4'
make: *** [all-recursive] Error 1
I've searched for smpeg here and found nothing, and searched for smpeg and gcc-3.2 combo on google, which threw up a small edit that was supposed to get it working. All the patch was however was a sed command changing gcc to g++ in the makefile. Tried it both with and without the patch with the same error. Anyone have any idea what this is?
smpeg-0.4.4, SDL-1.2.5, SDL_Mixer-1.2.4, gcc-3.2 and kernel 2.4.20.
Thanks