Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70006 - mplayer 1.0_pre5-r4 does not compile with +nvidia +xvmc
Summary: mplayer 1.0_pre5-r4 does not compile with +nvidia +xvmc
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-03 22:01 UTC by Joel
Modified: 2004-11-08 22:11 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 Joel 2004-11-03 22:01:35 UTC
As soon as I change to -xvmc, it comiles fine.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  

gcc -I../libvo -I../../libvo -I/usr/X11R6/include -O2 -march=athlon-xp -pipe
-fno-stack-protector -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -Ilibmpdemux -Iloader -Ilibvo -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/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 unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a
libao2/libao2.a libmenu/libmenu.a vidix/libvidix.a Gui/libgui.a
libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.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 -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a   -lmad  
-lfaad    -lpng -lz -lz -ljpeg -lasound -ldl -lpthread    -lfreetype -lz    
-lungif   -lsmbclient  -lfontconfig    -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk
-rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib -laa
-lGL -lXxf86dga  -lXvMC -lXvMCNVIDIA -lXxf86vm  -L/usr/X11R6/lib -lXext -lX11
-lnsl -lnsl     -lvgagl -lvga -lm  -L/usr/lib -lcaca -lX11 -L/usr/X11R6/lib
-lncurses -lncurses          -lpthread -ldl -rdynamic   -lm
libvo/libvo.a(vo_xvmc.o)(.text+0x7b): In function `allocate_xvimage':
: undefined reference to `XvShmCreateImage'
libvo/libvo.a(vo_xvmc.o)(.text+0x146): In function `allocate_xvimage':
: undefined reference to `XvCreateImage'
libvo/libvo.a(vo_xvmc.o)(.text+0x295): In function `init_keycolor':
: undefined reference to `XvGetPortAttribute'
libvo/libvo.a(vo_xvmc.o)(.text+0x2d9): In function `init_keycolor':
: undefined reference to `XvQueryPortAttributes'
libvo/libvo.a(vo_xvmc.o)(.text+0x360): In function `init_keycolor':
: undefined reference to `XvSetPortAttribute'
libvo/libvo.a(vo_xvmc.o)(.text+0x75b): In function `xvmc_find_surface_by_format':
: undefined reference to `XvQueryAdaptors'
libvo/libvo.a(vo_xvmc.o)(.text+0x8c9): In function `xvmc_find_surface_by_format':
: undefined reference to `XvGrabPort'
libvo/libvo.a(vo_xvmc.o)(.text+0xb0a): In function `preinit':
: undefined reference to `XvQueryExtension'
libvo/libvo.a(vo_xvmc.o)(.text+0x2a95): In function `xvmc_free':
: undefined reference to `XvUngrabPort'
libvo/libvo.a(vo_xvmc.o)(.text+0x3391): In function `control':
: undefined reference to `vo_xv_set_eq'
libvo/libvo.a(vo_xvmc.o)(.text+0x33ae): In function `control':
: undefined reference to `vo_xv_get_eq'
/usr/X11R6/lib/libXvMCNVIDIA.a(NVXVMC.o)(.text+0x1a0f): In function
`XvMCCreateContext':
: undefined reference to `XvGetPortAttribute'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

!!! ERROR: media-video/mplayer-1.0_pre5-r4 failed.
!!! Function src_compile, Line 381, Exitcode 2
!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, NOT this status message.




Portage 2.0.51-r2 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.7 i686)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.mirrors.pair.com/"
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 alsa avi berkdb cdr cjk compositor crypt dga dvd flac
gdbm gif gpm gstreamer gtk gtk2 java javascript joystick jpeg libcaca mad mmx
mpeg ncurses nls nvidia opengl png python quicktime readline real samba sse ssl
svga tcpd tiff truetype xv zlib"
Comment 1 Chris White (RETIRED) gentoo-dev 2004-11-08 22:11:18 UTC
I tried compiling this many times, still can't reproduce this.  I'd try upgrading
xorg-x11 and nvidia-kernel/glx.