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

Bug 90831

Summary: mplayer-1.0_pre7 won't complie (libvo)
Product: Gentoo Linux Reporter: Jan Dusek <j.d>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: configure log

Description Jan Dusek 2005-04-29 01:28:52 UTC
When I try to emerge mplayer-1.0_pre7, it crashes while compiling libvo (at least I guess :))

Reproducible: Always
Steps to Reproduce:
1. echo "=media-video/mplayer-1.0_pre7" >> /etc/portage/package.unmask
2. emerge mplayer
3.

Actual Results:  
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium3
-mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -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     -I/usr/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   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   -lfreetype   /usr/lib/live/liveMedia/libliveMedia.a
/usr/lib/live/groupsock/libgroupsock.a
/usr/lib/live/UsageEnvironment/libUsageEnvironment.a
/usr/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a -lstdc++  -lnsl 
-lungif    -lfontconfig    mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a
tremor/libvorbisidec.a -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib  -lGL  -lXv 
-lXxf86vm  -L/usr/X11R6/lib -lXext -lX11 -lnsl -lnsl -L/usr/lib
-Wl,-rpath,/usr/lib -lSDL -lpthread      -L/usr/lib -lcaca -lX11
-L/usr/X11R6/lib -lncurses -lncurses  -L/usr/lib -lesd -laudiofile -lm -lasound
        -lpthread -ldl -rdynamic   -lm
libvo/libvo.a(vo_aa.o)(.text+0x1e7): In function `printosdtext':
: undefined reference to `aa_printf'
libvo/libvo.a(vo_aa.o)(.text+0x298): In function `printosdtext':
: undefined reference to `aa_printf'
libvo/libvo.a(vo_aa.o)(.text+0x364): In function `config':
: undefined reference to `aa_resize'
libvo/libvo.a(vo_aa.o)(.text+0x74c): In function `flip_page':
: undefined reference to `aa_flush'
libvo/libvo.a(vo_aa.o)(.text+0x8b1): In function `flip_page':
: undefined reference to `aa_puts'
libvo/libvo.a(vo_aa.o)(.text+0x8ef): In function `flip_page':
: undefined reference to `aa_puts'
libvo/libvo.a(vo_aa.o)(.text+0x920): In function `check_events':
: undefined reference to `aa_getevent'
libvo/libvo.a(vo_aa.o)(.text+0xb8b): In function `preinit':
: undefined reference to `aa_displayrecommended'
libvo/libvo.a(vo_aa.o)(.text+0xb90): In function `preinit':
: undefined reference to `aa_getfirst'
libvo/libvo.a(vo_aa.o)(.text+0xba3): In function `preinit':
: undefined reference to `aa_displayrecommended'
libvo/libvo.a(vo_aa.o)(.text+0xba8): In function `preinit':
: undefined reference to `aa_recommendhi'
libvo/libvo.a(vo_aa.o)(.text+0xbaf): In function `preinit':
: undefined reference to `aa_defparams'
libvo/libvo.a(vo_aa.o)(.text+0xbb4): In function `preinit':
: undefined reference to `aa_autoinit'
libvo/libvo.a(vo_aa.o)(.text+0xbcf): In function `preinit':
: undefined reference to `aa_autoinitkbd'
libvo/libvo.a(vo_aa.o)(.text+0xbee): In function `preinit':
: undefined reference to `aa_resizehandler'
libvo/libvo.a(vo_aa.o)(.text+0xbfc): In function `preinit':
: undefined reference to `aa_hidecursor'
libvo/libvo.a(vo_aa.o)(.text+0xc01): In function `preinit':
: undefined reference to `aa_getrenderparams'
libvo/libvo.a(vo_aa.o)(.text+0xcc1): In function `preinit':
: undefined reference to `aa_close'
libvo/libvo.a(vo_aa.o)(.text+0xd82): In function `preinit':
: undefined reference to `aa_displayrecommended'
libvo/libvo.a(vo_aa.o)(.text+0xd87): In function `preinit':
: undefined reference to `aa_recommendlow'
libvo/libvo.a(vo_aa.o)(.text+0xd8e): In function `preinit':
: undefined reference to `aa_displayrecommended'
libvo/libvo.a(vo_aa.o)(.text+0xd9c): In function `preinit':
: undefined reference to `aa_recommendhi'
libvo/libvo.a(vo_aa.o)(.text+0xf86): In function `resize':
: undefined reference to `aa_resize'
libvo/libvo.a(vo_aa.o)(.text+0x14fb): In function `draw_frame':
: undefined reference to `aa_fastrender'
libvo/libvo.a(vo_aa.o)(.text+0x1546): In function `draw_frame':
: undefined reference to `aa_render'
libvo/libvo.a(vo_aa.o)(.text+0x167a): In function `draw_slice':
: undefined reference to `aa_fastrender'
libvo/libvo.a(vo_aa.o)(.text+0x16b4): In function `draw_slice':
: undefined reference to `aa_render'
libvo/libvo.a(vo_aa.o)(.text+0x17ae): In function `uninit':
: undefined reference to `aa_close'
libvo/libvo.a(vo_aa.o)(.text+0x1e24): In function `parse_suboptions':
: undefined reference to `aa_defrenderparams'
libvo/libvo.a(vo_aa.o)(.text+0x1e38): In function `parse_suboptions':
: undefined reference to `aa_defparams'
libvo/libvo.a(vo_aa.o)(.text+0x1e3d): In function `parse_suboptions':
: undefined reference to `aa_parseoptions'
libvo/libvo.a(vo_aa.o)(.text+0x20a8): In function `parse_suboptions':
: undefined reference to `aa_defrenderparams'
libvo/libvo.a(vo_aa.o)(.text+0x20c2): In function `parse_suboptions':
: undefined reference to `aa_defparams'
libvo/libvo.a(vo_aa.o)(.text+0x20c7): In function `parse_suboptions':
: undefined reference to `aa_parseoptions'
libvo/libvo.a(vo_aa.o)(.text+0x20d2): In function `parse_suboptions':
: undefined reference to `aa_help'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

Expected Results:  
emerge cleanly

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r2 i686)
=================================================================
System uname: 2.6.10-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  9 2005, 16:18:36)]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
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.9.4, 1.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"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
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/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks 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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa cdr cups dvd foomaticdb gtk gtk2 gtkhtml icq jpeg mmx mozsvg
mpeg ncurses opengl pam perl png pnp ppds quicktime sse ssl truetype trusted
unicode usb x86 xprint xv xvid"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Roland Bär 2005-04-29 02:20:12 UTC
First to check your use flags, could you please paste or attach
the output "emerge info"
The intresting point is wether or not you are using "aalib" 
Comment 2 Jan Dusek 2005-04-29 03:04:44 UTC
Well, my 'emerge info' is already attached. Here is what I have in package.use:

media-video/mplayer aalib dvdread encode divx4linux live lzo gif mmx2 lzo rtc xv oggvorbis opengl sdl libcaca mad network real esd

So in total, that'd be:

# emerge mplayer -pv
...
[ebuild     U ] media-video/mplayer-1.0_pre7 [1.0_pre6-r5] -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

So, yep, I'm using aalib...
Comment 3 Roland Bär 2005-04-29 04:07:22 UTC
Halfway confirmed....
If I emerge it with your use useflags, then, also here, in config.mak:
AA_LIB = 
is empty, but manually running ./configure results, and should be:
AA_LIB = -laa

You should attach your configure.log 
 /var/tmp/portage/mplayer-1.0_pre7/work/MPlayer-1.0pre7/configure.log 
Comment 4 Jan Dusek 2005-04-29 04:34:10 UTC
Created attachment 57564 [details]
configure log
Comment 5 Jan Brinkmann (RETIRED) gentoo-dev 2005-05-05 06:12:46 UTC

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