LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   compiling smpeg on slackware (https://www.linuxquestions.org/questions/slackware-14/compiling-smpeg-on-slackware-139078/)

notAcoolNick 01-26-2004 11:14 PM

compiling smpeg on slackware
 
Has anyone compiled smpeg on slackware (9.1) successfully? I am getting errors while linking plaympeg (undefined reference to operator ...) with libmpeg.so. smpeg version 0.4.4 (seems to be the latest, however quite old, 2001).

g452 04-17-2004 04:34 AM

i don't know if this will help but i got it compiled on slackware 9.0 - make sure u have SDL installed first - then compile smpeg - i am trying to get sdl-mixer installed after i installed smpeg cause sdl-mixer needs SDL and smpeg to be installed - and do u use a proggy called checkinstall ???

anyone else have suggestions ???

laters

ssokolow 08-28-2004 04:11 AM

Solution for the smpeg 0.4.4 compile problem on Mandrake 10.0
 
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.


All times are GMT -5. The time now is 09:12 AM.