LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-26-2004, 11:14 PM   #1
notAcoolNick
Member
 
Registered: Apr 2003
Location: Oxford, MA, USA
Distribution: Slackware
Posts: 89

Rep: Reputation: 16
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).
 
Old 04-17-2004, 04:34 AM   #2
g452
Member
 
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113

Rep: Reputation: 15
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
 
Old 08-28-2004, 04:11 AM   #3
ssokolow
LQ Newbie
 
Registered: Aug 2004
Location: Canada
Posts: 28

Rep: Reputation: 16
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SMPEG errors eats85 Linux - Software 2 08-28-2004 04:14 AM
smpeg compile failure Obi Perrin Linux - Software 3 08-24-2004 03:06 PM
smpeg on mandrake 9.1 keith hards Linux - Software 2 07-20-2003 03:21 PM
xmms-smpeg WHERE IS IT !!! qwijibow Linux - Newbie 5 05-15-2003 10:18 AM
sdl smpeg masand Linux - Hardware 1 05-15-2003 06:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration