Emerging mplayer-1.0_rc2_p27120 failed with the following linker error: loader/module.o: In function `MODULE_GetProcAddress': module.c:(.text+0x10c): undefined reference to `wrapper_target' module.c:(.text+0x111): undefined reference to `wrapper' module.c:(.text+0x117): undefined reference to `report_entry' module.c:(.text+0x121): undefined reference to `report_ret' loader/module.o: In function `LoadLibraryExA': module.c:(.text+0xea7): undefined reference to `report_entry' module.c:(.text+0xeb1): undefined reference to `report_ret' module.c:(.text+0xebb): undefined reference to `wrapper' module.c:(.text+0xec0): undefined reference to `wrapper_target' collect2: ld returned 1 exit status make: *** [mplayer] Error 1 Looking at the ebuild it seems related to bug #213836, but in my case I don't have the "win32codecs" use-flag set, but do have the "real" use-flag set. The relevant use-flags in my case appear to be USE="real -bindist -win32codecs -quicktime". Reproducible: Always Steps to Reproduce: 1. USE="real -bindist -win32codecs -quicktime" emerge =media-video/mplayer-1.0_rc2_p27120 emerge -pv mplayer [ebuild U ] media-video/mplayer-1.0_rc2_p27120 [1.0_rc2_p25993] USE="3dnow X* a52* alsa* dvd* iconv ipv6 jpeg mad* mmx mp3* real samba theora* truetype unicode vorbis* xscreensaver%* xv* -3dnowext -aac -aalib (-altivec) -amrnb -amrwb -arts -bidi -bindist -bl -cddb -cdio -cdparanoia -cpudetection -custom-cflags -custom-cpuopts% -debug -dga -directfb -doc -dts -dv -dvb -dxr2% -dxr3% -enca -encode -esd -fbcon -ftp -ggi -gif -gtk -jack -joystick -ladspa -libcaca -lirc -live -lzo -md5sum -mmxext -mp2 -musepack -nas -nemesi -openal -opengl -oss -png -pnm -pulseaudio -quicktime -radio -rar -rtc -sdl -speex -srt -sse -sse2 -ssse3 -svga -teletext -tga -v4l -v4l2 -vidix -win32codecs -x264 -xanim -xinerama -xvid -xvmc -zoran (-livecd%) (-tivo%)" VIDEO_CARDS="mga s3virge tdfx vesa" 0 kB emerge --info Portage 2.2_rc4 (default-linux/x86/2007.0/server, gcc-4.2.2, glibc-2.8_p20080602-r0, 2.6.21-gentoo-r4-ija1 i686) ================================================================= System uname: Linux-2.6.21-gentoo-r4-ija1-i686-VIA_Samuel_2-with-glibc2.0 Timestamp of tree: Mon, 28 Jul 2008 19:45:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.62-r1 sys-devel/automake: 1.4_p6, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i586-pc-linux-gnu" CFLAGS="-Os -march=c3 -fomit-frame-pointer -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -march=c3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.blueyonder.co.uk " LANG="en_US.utf8" LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow acl apache2 berkdb bzip2 cdb cli cracklib crypt ctype cups dba dbus dri foomaticdb fortran gd gdbm gmp gpm hal iconv idn ipv6 isdnlog javascript jpeg ldap mailwrapper midi mmx mudflap mysql mysqli ncurses nptl nptlonly openmp pam pcre perl pppd python radius readline reflection ruby samba session slang snmp spell spl sqlite ssl tcpd tiff truetype unicode x86 xml xmlrpc xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Ian, Can you try latest mplayer (20090226.28734). real use flag has been split into two, so if you don't want the binary codecs on your C3, just ignore 'realcodecs' flag.
I had the same error with mplayer-1.0_rc2_p20090322, when win32codecs was unset. After setting the win32codecs USE flag, the error disappeared. My USE flags, from 'emerge -pv mplayer': USE="3dnow 3dnowext aac alsa amrnb amrwb cddb dts dvdnav enca faac faad iconv ipv6 live mad mmx mmxext mp2 mp3 nemesi network rar real rtc speex tremor unicode vorbis win32codecs -X -a52 -aalib (-altivec) -arts -ass -bidi -bindist -bl -cdio -cdparanoia -cpudetection -custom-cflags -custom-cpuopts -debug -dga -dirac -directfb -doc -dv -dvb -dvd -dxr3 -encode -esd -fbcon -ftp -ggi -gif -gtk -jack -joystick -jpeg -ladspa -libcaca -lirc -lzo -md5sum -mng -musepack -nas -openal -opengl -oss -png -pnm -pulseaudio -pvr -quicktime -radio -samba -schroedinger -sdl -sse -sse2 -ssse3 -svga -teletext -tga -theora -truetype -v4l -v4l2 -vdpau -vidix -x264 -xanim -xinerama -xscreensaver -xv -xvid -xvmc -zoran" VIDEO_CARDS="-mga -nvidia -s3virge -tdfx -vesa"
I need to move (or remove) the quicktime and real use flags, since they depend on the win32codecs. Basically, both options are for binary support, not internal libavcodec support.
Any progress?(In reply to comment #3) > I need to move (or remove) the quicktime and real use flags, since they depend > on the win32codecs. Any progress?
(In reply to comment #4) > Any progress?(In reply to comment #3) > > I need to move (or remove) the quicktime and real use flags, since they depend > > on the win32codecs. > > Any progress? 08 Feb 2013; Alexis Ballier <aballier@gentoo.org> mplayer-9999.ebuild: + Merge all binary codec support under win32codecs useflag +