I ran across the same problem while compiling on Mandrake 10.0.
The Beyond Linux From Scratch mailing list had the answer here:
http://linuxfromscratch.org/pipermai...ch/038115.html
but that could be a little confusing. Here's the simpler version:
1. Open libsmpeg.la (I did it after make failed so I'd suggest running ./configure first. I don't know if it's necessary)
2. Find this:
Code:
# Libraries that this one depends upon.
dependency_libs=' -L/usr/local/lib -lSDL -lpthread -lm -lSDL -lpthread -lm -lSDL -lpthread -lm'
3. Add -lstdc++ to the list so that it looks like this
Code:
# Libraries that this one depends upon.
dependency_libs=' -L/usr/local/lib -lSDL -lpthread -lm -lSDL -lpthread -lm -lSDL -lpthread -lm -lstdc++'
Now it will compile.