Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble compiling smpeg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 660

PostPosted: Tue Mar 28, 2006 9:23 pm    Post subject: Trouble compiling smpeg Reply with quote

I've tried a world update but it fails on emerge smpeg
I'm pretty sure it's not related to graphics like most the other problems with smpeg in the forum, I tried doing opengl-update xorg-x11 but it made no difference.
Here's the output,

./.libs/libsmpeg.so: undefined reference to `IDCT_mmx'
./.libs/libsmpeg.so: undefined reference to `cpu_flags'
collect2: ld returned 1 exit status
make[1]: *** [plaympeg] Error 1
make[1]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -I/usr/include/SDL -D_REENTRANT -DUSE_MMX -DTHREADED_AUDIO
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DNDEBUG
-I.. -DNOCONTROLS -I. -I./audio -I./video -march=athlon-xp -O2 -fomit-frame-poi
nter -o .libs/gtv gtv.o -rdynamic -L/usr/lib /usr/lib/libgtk.so /usr/lib/libgdk .so /usr/lib/libgmodule.so /usr/lib/libglib.so /usr/lib/libXi.so ./.libs/libsmpe g.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc/i6 86-pc-linux-gnu/../../../i686-pc-linux-gnu/lib /usr/lib/libXau.so /usr/lib/libXd mcp.so /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so /usr/lib/libSDL.so -ldl /usr/lib/libX11.so /usr/lib/libXext.so -lpthread -lm
./.libs/libsmpeg.so: undefined reference to `IDCT_mmx'
./.libs/libsmpeg.so: undefined reference to `cpu_flags'
collect2: ld returned 1 exit status
make[1]: *** [gtv] Error 1
make[1]: Leaving directory `/var/tmp/portage/smpeg-0.4.4-r8/work/smpeg-0.4.4'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/smpeg-0.4.4-r8 failed.
Call stack:
ebuild.sh, line 1526: Called dyn_compile
ebuild.sh, line 923: Called src_compile
smpeg-0.4.4-r8.ebuild, line 62: Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if rel evant.



Any ideas?
Back to top
View user's profile Send private message
n0rbi666
l33t
l33t


Joined: 04 Mar 2005
Posts: 707
Location: \Poland\Krakow

PostPosted: Tue Mar 28, 2006 9:30 pm    Post subject: Reply with quote

Same problem here.
What glibc and gcc do you use ?
(gcc 4.1.0 & glibc 2.4-r1)
Back to top
View user's profile Send private message
bbe
Apprentice
Apprentice


Joined: 10 Jan 2005
Posts: 158
Location: UK

PostPosted: Tue Mar 28, 2006 10:52 pm    Post subject: Reply with quote

n0rbi666 wrote:
Same problem here.
(gcc 4.1.0 & glibc 2.4-r1)


++
Back to top
View user's profile Send private message
totencham
Apprentice
Apprentice


Joined: 05 Dec 2004
Posts: 299
Location: Szczecin, Poland

PostPosted: Wed Mar 29, 2006 6:13 am    Post subject: Reply with quote

Same problem here. I use gcc-3.4.6 & glibc-2.4-r1.
_________________
http://gentoo-wiki.com/HOWTO_Index
cd /usr/src/linux && egrep -ir "( fuck)|( shit)" *
Linux registered user #376896
Back to top
View user's profile Send private message
boachan
n00b
n00b


Joined: 03 Dec 2005
Posts: 11
Location: Victoria, Canada

PostPosted: Wed Mar 29, 2006 8:04 am    Post subject: Reply with quote

running this fixed the error for me.

Code:
USE=-mmx emerge media-libs/smpeg


If this works for other people, could you put [Solved] in the title.


Last edited by boachan on Wed Mar 29, 2006 9:12 am; edited 1 time in total
Back to top
View user's profile Send private message
crudh
l33t
l33t


Joined: 12 May 2005
Posts: 696
Location: Sundbyberg, Sweden

PostPosted: Wed Mar 29, 2006 8:56 am    Post subject: Reply with quote

boachan wrote:
running this fixed the error for me.

Code:
USE=-mmx emerge media-libs/smpeg


Worked for me too, thnx.
Back to top
View user's profile Send private message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1783
Location: Scotland

PostPosted: Wed Mar 29, 2006 12:02 pm    Post subject: Reply with quote

Works here with -mmx.

Has anyone filed a bug on this?
_________________
Jingle Jangle Jewellery
Back to top
View user's profile Send private message
djm
Arch/Herd Tester
Arch/Herd Tester


Joined: 12 Apr 2004
Posts: 690
Location: Wadham College, Oxford

PostPosted: Wed Mar 29, 2006 1:06 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=127929

You shouldn't have to have USE=-mmx to compile this after your next sync
_________________
the forums.gentoo.org poster formally known as metal leper
Back to top
View user's profile Send private message
nanoczar
Apprentice
Apprentice


Joined: 10 Dec 2002
Posts: 192
Location: Henderson, TN

PostPosted: Wed May 31, 2006 2:21 am    Post subject: Reply with quote

Merely emerging libsdl did not fix it for me. I had to emerge it with modified CFLAGS, and then emerge smpeg with the same modified CFLAGS to get it to work. I you are trying to fix the problem and can't...then reduce your flag options. Whew.
_________________
Don't fight the LaTeX. WORK with the LaTeX!! Become one with the LaTeX!!! - JIC
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum