The latest version of Mplayer Fails to compile when building with aalib with following error: make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre7/work/MPlayer-1.0pre7/libmenu' cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O2 -march=athlon-xp -frename-registers -fno-pie -fno-pie -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I. -I/usr/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o edl.o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a libao2/libao2.a libmenu/libmenu.a Gui/libgui.a libmpcodecs/libmpcodecs.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a -ldvdread libavcodec/libavcodec.a libavformat/libavformat.a -lmad -lfaad -llzo -ldivxdecore -lmp3lame -lxvidcore -lm -lpng -lz -lz -ljpeg -lasound -ldl -lpthread /usr/lib/libxmms.so.1 -export-dynamic -lfreetype -lz -lcdda_interface -lcdda_paranoia -lnsl -lungif -lfontconfig mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a -L/usr/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib -lGL -lXv -lXvMC -lXvMCNVIDIA -lXxf86vm -L/usr/X11R6/lib -lXext -lX11 -lnsl -lnsl -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -L/usr/kde/3.4/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lbio2jack -ljack -lpthread -ldl -rdynamic -lm libvo/libvo.a(vo_aa.o)(.text+0x13): In function `resize': : undefined reference to `aa_resize' libvo/libvo.a(vo_aa.o)(.text+0x490): In function `printosdtext': : undefined reference to `aa_printf' libvo/libvo.a(vo_aa.o)(.text+0x581): In function `printosdtext': : undefined reference to `aa_printf' libvo/libvo.a(vo_aa.o)(.text+0x94e): In function `draw_frame': : undefined reference to `aa_fastrender' libvo/libvo.a(vo_aa.o)(.text+0x9af): In function `draw_frame': : undefined reference to `aa_render' libvo/libvo.a(vo_aa.o)(.text+0xaac): In function `draw_slice': : undefined reference to `aa_fastrender' libvo/libvo.a(vo_aa.o)(.text+0xaec): In function `draw_slice': : undefined reference to `aa_render' libvo/libvo.a(vo_aa.o)(.text+0xb1f): In function `flip_page': : undefined reference to `aa_flush' libvo/libvo.a(vo_aa.o)(.text+0xc4e): In function `flip_page': : undefined reference to `aa_flush' libvo/libvo.a(vo_aa.o)(.text+0xc85): In function `flip_page': : undefined reference to `aa_puts' libvo/libvo.a(vo_aa.o)(.text+0xcc3): In function `flip_page': : undefined reference to `aa_puts' libvo/libvo.a(vo_aa.o)(.text+0xce9): In function `check_events': : undefined reference to `aa_getevent' libvo/libvo.a(vo_aa.o)(.text+0xdd7): In function `check_events': : undefined reference to `aa_getevent' libvo/libvo.a(vo_aa.o)(.text+0xfc7): In function `uninit': : undefined reference to `aa_close' libvo/libvo.a(vo_aa.o)(.text+0x1064): In function `uninit': : undefined reference to `aa_close' libvo/libvo.a(vo_aa.o)(.text+0x1717): In function `preinit': : undefined reference to `aa_defrenderparams' libvo/libvo.a(vo_aa.o)(.text+0x1724): In function `preinit': : undefined reference to `aa_defparams' libvo/libvo.a(vo_aa.o)(.text+0x1729): In function `preinit': : undefined reference to `aa_parseoptions' libvo/libvo.a(vo_aa.o)(.text+0x175c): In function `preinit': : undefined reference to `aa_defrenderparams' libvo/libvo.a(vo_aa.o)(.text+0x1767): In function `preinit': : undefined reference to `aa_defparams' libvo/libvo.a(vo_aa.o)(.text+0x176c): In function `preinit': : undefined reference to `aa_parseoptions' libvo/libvo.a(vo_aa.o)(.text+0x17eb): In function `preinit': : undefined reference to `aa_displayrecommended' libvo/libvo.a(vo_aa.o)(.text+0x17f0): In function `preinit': : undefined reference to `aa_getfirst' libvo/libvo.a(vo_aa.o)(.text+0x1803): In function `preinit': : undefined reference to `aa_displayrecommended' libvo/libvo.a(vo_aa.o)(.text+0x1808): In function `preinit': : undefined reference to `aa_recommendhi' libvo/libvo.a(vo_aa.o)(.text+0x180f): In function `preinit': : undefined reference to `aa_defparams' libvo/libvo.a(vo_aa.o)(.text+0x1814): In function `preinit': : undefined reference to `aa_autoinit' libvo/libvo.a(vo_aa.o)(.text+0x1831): In function `preinit': : undefined reference to `aa_autoinitkbd' libvo/libvo.a(vo_aa.o)(.text+0x184f): In function `preinit': : undefined reference to `aa_resizehandler' libvo/libvo.a(vo_aa.o)(.text+0x185c): In function `preinit': : undefined reference to `aa_hidecursor' libvo/libvo.a(vo_aa.o)(.text+0x1861): In function `preinit': : undefined reference to `aa_getrenderparams' libvo/libvo.a(vo_aa.o)(.text+0x1a21): In function `preinit': : undefined reference to `aa_help' libvo/libvo.a(vo_aa.o)(.text+0x1b10): In function `preinit': : undefined reference to `aa_close' libvo/libvo.a(vo_aa.o)(.text+0x1b43): In function `preinit': : undefined reference to `aa_displayrecommended' libvo/libvo.a(vo_aa.o)(.text+0x1b48): In function `preinit': : undefined reference to `aa_recommendlow' libvo/libvo.a(vo_aa.o)(.text+0x1b57): In function `preinit': : undefined reference to `aa_displayrecommended' libvo/libvo.a(vo_aa.o)(.text+0x1b5c): In function `preinit': : undefined reference to `aa_recommendhi' collect2: ld returned 1 exit status make: *** [mplayer] Błąd 1 Reproducible: Always Steps to Reproduce: 1.USE="aalib" 2.unmask package version 1.0-pre7 3.emerge mplayer Expected Results: Should compile fine h4x80x ~ # emerge -pv mplayer These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] media-video/mplayer-1.0_pre7 [1.0_pre6-r1] -3dfx +3dnow -3dnowext +X -aac +aalib* +alsa (-altivec) +arts +avi -bidi -bl +cdparanoia -cpudetection +custom-cflags* -debug -dga -directfb +divx4linux -doc -dts -dv -dvb +dvd +dvdread -edl +encode -esd +fbcon -ggi +gif +gtk -i8x0 +ipv6* +jack* +joystick +jpeg -libcaca -lirc -live +lzo +mad +matroska* -matrox +mmx -mmxext -mythtv -nas +nls +nvidia +opengl +oss +png +real +rtc -samba +sdl +sse -sse2 -svga -tga -theora +truetype -v4l +v4l2 +vorbis* +xanim -xinerama +xmms +xv +xvid +xvmc 0 kB ----------------------------------------------------------------------------- Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.10-mm1 i686) ================================================================= System uname: 2.6.10-mm1 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 24 2005, 14:11:34)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.5, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://mir.zyrianes.net/gentoo/" LANG="pl_PL.ISO8859-2" LC_ALL="pl_PL.ISO8859-2" LINGUAS="pl en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib activefilter alsa apache2 apm arts artswrappersuid avi berkdb bitmap-fonts bzip2 bzlib cdb cdparanoia cdr codecs crypt cups curl custom-cflags divx4linux dvd dvdr dvdread emacs-w3 emboss encode ethereal exif extraicons extramodules fbcon flac foomatic foomaticdb fortran gd gdbm geoip gif gimp gimpprint gkrellm gnome gphoto2 gpm gstreamer gtk gtk2 hpijs imagemagick imlib ipv6 jabber jack java javascript joystick jpeg kadu-modules kadu-voice kde libg++ libwww lzo mad matroska mikmod mmx motif movies mozilla mp3 mpeg msql mule mysqli ncurses network nls nptl nvidia ogg oggvorbis opengl oss pam pdflib perl php png ppds python qt quicktime readline real remote rtc scanner sdl spell sse ssl stats tcltk tcpd tidy tiff tlen truetype truetype-fonts type1-fonts usb v4l2 videos voice vorbis wmf xanim xine xml2 xmms xprint xv xvid xvmc zlib linguas_pl linguas_en" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS ----------------------------------------------------------------------------- Maybe it has some connection with bug #85861
Thank you for the notice, looks like aalib support isn't in the right shape...
this is a ld/automake templates/gcc profiling problem. i build with: LDFLAGS="-Wl,-O1,--sort-common,--allow-shlib-undefined,--allow-multiple-definition,--enable-new-dtags,--hash-size=8161,-z,now,-z,combreloc,-z,muldefs,-s" but the ld flags are ignored in the build. i add them to me cflags and endure the the linking not done messages when i build the mplayer. cflags wont need to be striped -- sse conflicts are resolved .
Could you please open another bug about your issue that looks QUITE different from the issue discussed here?
*** Bug 90831 has been marked as a duplicate of this bug. ***
The problems should be fixed, please check again.
OK, tacking onto this bug, as it's a related problem, even though my build enviornment is x86_64. MPlayer-1.0pre7 fails with aalib errors still: libvo/libvo.a(vo_aa.o)(.text+0xc): In function `resize': : undefined reference to `aa_resize' libvo/libvo.a(vo_aa.o)(.text+0x504): In function `printosdtext': : undefined reference to `aa_printf' libvo/libvo.a(vo_aa.o)(.text+0x5de): In function `printosdtext': : undefined reference to `aa_printf' libvo/libvo.a(vo_aa.o)(.text+0xa45): In function `draw_frame': : undefined reference to `aa_fastrender' libvo/libvo.a(vo_aa.o)(.text+0xa8f): In function `draw_frame': : undefined reference to `aa_render' libvo/libvo.a(vo_aa.o)(.text+0xb99): In function `draw_slice': : undefined reference to `aa_fastrender' libvo/libvo.a(vo_aa.o)(.text+0xbdd): In function `draw_slice': : undefined reference to `aa_render' libvo/libvo.a(vo_aa.o)(.text+0xd4f): In function `flip_page': : undefined reference to `aa_puts' libvo/libvo.a(vo_aa.o)(.text+0xd7d): In function `flip_page': : undefined reference to `aa_puts' libvo/libvo.a(vo_aa.o)(.text+0xd9b): In function `check_events': : undefined reference to `aa_getevent' libvo/libvo.a(vo_aa.o)(.text+0xe71): In function `check_events': : undefined reference to `aa_getevent' libvo/libvo.a(vo_aa.o)(.text+0x1820): In function `preinit': : undefined reference to `aa_defparams' libvo/libvo.a(vo_aa.o)(.text+0x1837): In function `preinit': : undefined reference to `aa_defrenderparams' libvo/libvo.a(vo_aa.o)(.text+0x183c): In function `preinit': : undefined reference to `aa_parseoptions' libvo/libvo.a(vo_aa.o)(.text+0x1866): In function `preinit': : undefined reference to `aa_defrenderparams' libvo/libvo.a(vo_aa.o)(.text+0x186b): In function `preinit': : undefined reference to `aa_defparams' libvo/libvo.a(vo_aa.o)(.text+0x187a): In function `preinit': : undefined reference to `aa_parseoptions' libvo/libvo.a(vo_aa.o)(.text+0x18e4): In function `preinit': : undefined reference to `aa_displayrecommended' libvo/libvo.a(vo_aa.o)(.text+0x18e9): In function `preinit': : undefined reference to `aa_getfirst' libvo/libvo.a(vo_aa.o)(.text+0x18fa): In function `preinit': : undefined reference to `aa_displayrecommended' libvo/libvo.a(vo_aa.o)(.text+0x18ff): In function `preinit': : undefined reference to `aa_recommendhi' libvo/libvo.a(vo_aa.o)(.text+0x1904): In function `preinit': : undefined reference to `aa_defparams' libvo/libvo.a(vo_aa.o)(.text+0x1909): In function `preinit': : undefined reference to `aa_autoinit' libvo/libvo.a(vo_aa.o)(.text+0x1923): In function `preinit': : undefined reference to `aa_autoinitkbd' libvo/libvo.a(vo_aa.o)(.text+0x193c): In function `preinit': : undefined reference to `aa_resizehandler' libvo/libvo.a(vo_aa.o)(.text+0x1948): In function `preinit': : undefined reference to `aa_hidecursor' libvo/libvo.a(vo_aa.o)(.text+0x194d): In function `preinit': : undefined reference to `aa_getrenderparams' libvo/libvo.a(vo_aa.o)(.text+0x1af8): In function `preinit': : undefined reference to `aa_help' libvo/libvo.a(vo_aa.o)(.text+0x1bc0): In function `preinit': : undefined reference to `aa_close' libvo/libvo.a(vo_aa.o)(.text+0x1be8): In function `preinit': : undefined reference to `aa_displayrecommended' libvo/libvo.a(vo_aa.o)(.text+0x1bed): In function `preinit': : undefined reference to `aa_recommendlow' libvo/libvo.a(vo_aa.o)(.text+0x1bf7): In function `preinit': : undefined reference to `aa_displayrecommended' libvo/libvo.a(vo_aa.o)(.text+0x1bfc): In function `preinit': : undefined reference to `aa_recommendhi' libvo/libvo.a(vo_aa.o)(.text+0xc13): In function `flip_page': : undefined reference to `aa_flush' libvo/libvo.a(vo_aa.o)(.text+0xd2b): In function `flip_page': : undefined reference to `aa_flush' libvo/libvo.a(vo_aa.o)(.text+0x104a): In function `uninit': : undefined reference to `aa_close' libvo/libvo.a(vo_aa.o)(.text+0x10de): In function `uninit': : undefined reference to `aa_close' collect2: ld returned 1 exit status make: *** [mplayer] Error 1 vulcan ~ # emerge -pv mplayer These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/mplayer-1.0_pre7 (-3dfx) (-3dnow) -3dnowext +X -aac +aalib* +alsa (-altivec) +arts -bidi -bl +cdparanoia -cpudetection -custom-cflags -debug -dga -directfb (-divx4linux) -doc -dts -dv -dvb +dvd +dvdread -edl +encode -esd -fbcon -ggi +gif +gtk -i8x0 +ipv6 -jack -joystick +jpeg -libcaca -lirc -live -lzo +mad -matroska -matrox (-mmx) (-mmxext) -mythtv -nas +nls +nvidia +opengl +oss +png -real -rtc +samba +sdl (-sse) (-sse2) (-svga) -tga -theora +truetype -v4l -v4l2 +vorbis (-win32codecs) -xanim -xinerama +xmms +xv +xvid -xvmc 0 kB vulcan ~ # emerge --info Portage 2.0.51.21-r1 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-ck4 x86_64) ================================================================= System uname: 2.6.11-ck4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.11 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.5-r2 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi alsa arts audiofile berkdb bitmap-fonts cdparanoia cdr crypt curl dvd dvdread encode fam flac font-server fortran gif gpm gstreamer gtk imagemagick imlib ipv6 jp2 jpeg kde kdeenablefinal lzw lzw-tiff mad motif mp3 ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis opengl oss pam perl png python qt rdesktop readline samba sdl speex spell ssl tcpd tiff truetype truetype-fonts type1-fonts urandom usb userlocales vorbis wxgtk1 xine xml2 xmms xpm xrandr xscreensaver xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY NOTE: setting USE="-aalib" on command line allows build to complete properly
The problem remains here as well (x86). I'm using ebuild from portage tree from May 9 21:35.
please try again that time should be fixed
Compiles cleanly here. Thanks.
confirmed on ~amd64 as well - thank you!
Perfect