Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127993 - media-libs/smpeg-0.4.4-r8 failed to compile
Summary: media-libs/smpeg-0.4.4-r8 failed to compile
Status: RESOLVED DUPLICATE of bug 127929
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-29 07:47 UTC by Lee
Modified: 2006-03-29 14:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lee 2006-03-29 07:47:13 UTC
Portage 2.1_pre7-r2 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 AMD Athlon(TM) XP 2800+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac alsa amr apm arts asf avi berkdb bitmap-fonts bzip2 cairo cddb cdr crypt cups directfb doc dri dvd dvdryy eds emboss encode ffmpeg firebird firefox foomaticdb fortran gdbm gif gimp gimpprint glade glut gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml hal ieee1394 imlib insecure-savers ipv6 jack java javascript joystick jpeg kde libg++ libwww live logitech-mouse mad mikmod mmx mng mod modplug motif mozilla mp3 mp4 mpeg ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real samba scanner screen sdl shout skins spell sse ssl stream svg tcpd theora threads tiff truetype truetype-fonts type1-fonts usb v4l v4l2 via vidix visualization vorbis wifi win32codecs x264 x86 xine xml2 xmms xosd xscreensaver xv zlib elibc_glibc input_devices_joystick input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_fbdev video_cards_fglrx video_cards_nvidia video_cards_vesa video_cards_via"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY



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 -O2 -march=athlon-xp -pipe -o .libs/plaympeg plaympeg.o  ./.libs/libsmpeg.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib /usr/lib/libXau.so /usr/lib/libXdmcp.so /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so /usr/lib/libSDL.so /usr/lib/libdirectfb.so /usr/lib/libfusion.so /usr/lib/libdirect.so -lz -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]: *** [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 -O2 -march=athlon-xp -pipe -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/libsmpeg.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib /usr/lib/libXau.so /usr/lib/libXdmcp.so /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so /usr/lib/libSDL.so /usr/lib/libdirectfb.so /usr/lib/libfusion.so /usr/lib/libdirect.so -lz -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 relevant.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-29 07:49:31 UTC

*** This bug has been marked as a duplicate of 127929 ***
Comment 2 Lee 2006-03-29 08:16:25 UTC
USE="-mmx" is not a fix it is only a holdover. The mmx problem still needs fixed.
Comment 3 Lee 2006-03-29 08:40:43 UTC
I removed "via" from VIDEO_CARDS="" in make.conf. I then re-compiled mesa and media-libs/smpeg-0.4.4-r8 compiled fine.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-03-29 10:03:43 UTC
(In reply to comment #2)
> USE="-mmx" is not a fix it is only a holdover. The mmx problem still needs
> fixed.

Eh? This has been fixed via a patch, kindly emerge --sync and search before filing/reopening a bug.



*** This bug has been marked as a duplicate of 127929 ***
Comment 5 Lee 2006-03-29 14:53:15 UTC
I did but I had to remove "via" from VIDEO_CARDS="" in make.conf. I then re-compiled mesa and media-libs/smpeg-0.4.4-r8 compiled fine.