| View previous topic :: View next topic |
| Author |
Message |
andrewwalker27 l33t


Joined: 27 Jun 2005 Posts: 660
|
Posted: Tue Mar 28, 2006 9:23 pm Post subject: Trouble compiling smpeg |
|
|
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 |
|
 |
n0rbi666 l33t


Joined: 04 Mar 2005 Posts: 707 Location: \Poland\Krakow
|
Posted: Tue Mar 28, 2006 9:30 pm Post subject: |
|
|
Same problem here.
What glibc and gcc do you use ?
(gcc 4.1.0 & glibc 2.4-r1) |
|
| Back to top |
|
 |
bbe Apprentice

Joined: 10 Jan 2005 Posts: 158 Location: UK
|
Posted: Tue Mar 28, 2006 10:52 pm Post subject: |
|
|
| n0rbi666 wrote: | Same problem here.
(gcc 4.1.0 & glibc 2.4-r1) |
++ |
|
| Back to top |
|
 |
totencham Apprentice


Joined: 05 Dec 2004 Posts: 299 Location: Szczecin, Poland
|
Posted: Wed Mar 29, 2006 6:13 am Post subject: |
|
|
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 |
|
 |
boachan n00b


Joined: 03 Dec 2005 Posts: 11 Location: Victoria, Canada
|
Posted: Wed Mar 29, 2006 8:04 am Post subject: |
|
|
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 |
|
 |
crudh l33t


Joined: 12 May 2005 Posts: 696 Location: Sundbyberg, Sweden
|
Posted: Wed Mar 29, 2006 8:56 am Post subject: |
|
|
| boachan wrote: | running this fixed the error for me.
| Code: | | USE=-mmx emerge media-libs/smpeg |
|
Worked for me too, thnx. |
|
| Back to top |
|
 |
agent_jdh Veteran

Joined: 08 Aug 2002 Posts: 1783 Location: Scotland
|
Posted: Wed Mar 29, 2006 12:02 pm Post subject: |
|
|
Works here with -mmx.
Has anyone filed a bug on this? _________________ Jingle Jangle Jewellery |
|
| Back to top |
|
 |
djm Arch/Herd Tester


Joined: 12 Apr 2004 Posts: 690 Location: Wadham College, Oxford
|
|
| Back to top |
|
 |
nanoczar Apprentice


Joined: 10 Dec 2002 Posts: 192 Location: Henderson, TN
|
Posted: Wed May 31, 2006 2:21 am Post subject: |
|
|
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 |
|
 |
|