Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 143536

Summary: mplayer-1.0_pre20060810 build fails with mmx_null undefined
Product: Gentoo Linux Reporter: Marius Kjeldahl <marius>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marius Kjeldahl 2006-08-11 00:32:03 UTC
Seems to build fine with the mmx USE flag enabled though.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-11 00:53:41 UTC
Post some build errors and emerge --info and reopen then.
Comment 2 Marius Kjeldahl 2006-08-11 01:00:56 UTC
Running:

USE="-mmx" emerge =media-video/mplayer-1.0_pre20060810

Gives the following build error:

make -C libswscale LIBPREF=lib LIBSUF=.a
make[1]: Entering directory `/var/tmp/portage/mplayer-1.0_pre20060810/work/mplayer/libswscale'
cc -I../libvo -I../../libvo -fno-PIC -O4 -D__STDC_LIMIT_MACROS -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -I/usr/src/DVB/ost/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/dxr2 -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I/usr/lib/live/liveMedia/include              -I/usr/lib/live/UsageEnvironment/include              -I/usr/lib/live/BasicUsageEnvironment/include              -I/usr/lib/live/groupsock/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I.. -I.. -I../libavutil -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o swscale.o swscale.c
cc -I../libvo -I../../libvo -fno-PIC -O4 -D__STDC_LIMIT_MACROS -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -I/usr/src/DVB/ost/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/dxr2 -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I/usr/lib/live/liveMedia/include              -I/usr/lib/live/UsageEnvironment/include              -I/usr/lib/live/BasicUsageEnvironment/include              -I/usr/lib/live/groupsock/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I.. -I.. -I../libavutil -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o rgb2rgb.o rgb2rgb.c
In file included from rgb2rgb.c:170:
rgb2rgb_template.c: In function `rgb15to24_MMX':
rgb2rgb_template.c:993: error: `mmx_null' undeclared (first use in this function)
rgb2rgb_template.c:993: error: (Each undeclared identifier is reported only once
rgb2rgb_template.c:993: error: for each function it appears in.)
rgb2rgb_template.c: In function `rgb16to24_MMX':
rgb2rgb_template.c:1134: error: `mmx_null' undeclared (first use in this function)
In file included from rgb2rgb.c:179:
rgb2rgb_template.c: In function `rgb15to24_MMX2':
rgb2rgb_template.c:993: error: `mmx_null' undeclared (first use in this function)
rgb2rgb_template.c: In function `rgb16to24_MMX2':
rgb2rgb_template.c:1134: error: `mmx_null' undeclared (first use in this function)
In file included from rgb2rgb.c:188:
rgb2rgb_template.c: In function `rgb15to24_3DNOW':
rgb2rgb_template.c:993: error: `mmx_null' undeclared (first use in this function)
rgb2rgb_template.c: In function `rgb16to24_3DNOW':
rgb2rgb_template.c:1134: error: `mmx_null' undeclared (first use in this function)
make[1]: *** [rgb2rgb.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre20060810/work/mplayer/libswscale'
make: *** [libswscale/libswscale.a] Error 2

!!! ERROR: media-video/mplayer-1.0_pre20060810 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  mplayer-1.0_pre20060810.ebuild, line 483:   Called die

emerge --info:

Portage 2.1.1_pre4-r4 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
Last Sync: Fri, 11 Aug 2006 07:00:08 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.4-r1, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.no/"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa apache2 apm arts avi berkdb bitmap-fonts cairo cli crypt cups dlloader doc dri dvd eds elibc_glibc emacs emboss encode esd evo foomaticdb fortran gd gdbm gif glitz glx gnome gpm gstreamer gtk gtk2 imlib innodb input_devices_keyboard input_devices_mouse internal-faad ipv6 isdnlog jpeg kde kernel_linux libg++ libwww live mad mikmod mmx motif mp3 mpeg mplayer mysql ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl png pnp postgres pppd python qt qt-mt qt3 qt4 quicktime readline reflection ruby samba sasl sdl session slang speel spell spl sse ssl stream tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fglrx vorbis wxwindows x264 x86 xml xml2 xmms xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-11 01:04:08 UTC

*** This bug has been marked as a duplicate of 143528 ***