Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99485 - kmplayer won't build --> numerous xvplayer.cpp errors
Summary: kmplayer won't build --> numerous xvplayer.cpp errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://www.theyoungs.ca/screen_dump.txt
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-18 22:49 UTC by Michael Young
Modified: 2005-07-21 08:01 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 Michael Young 2005-07-18 22:49:33 UTC
When I try to emerge kmplayer it fails with multiple xvplayer.cpp errors.

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

Actual Results:  
Actual Results

xvplayer.cpp:43:34: X11/extensions/Xvlib.h: No such file or directory
xvplayer.cpp: In function `void putVideo()':
xvplayer.cpp:105: error: `XvPutVideo' undeclared (first use this function)
xvplayer.cpp:105: error: (Each undeclared identifier is reported only once for
each function it appears in.)
xvplayer.cpp: In member function `void KXVideoPlayer::init()':
xvplayer.cpp:217: error: `XvAdaptorInfo' undeclared (first use this function)
xvplayer.cpp:217: error: `ai' undeclared (first use this function)
xvplayer.cpp:222: error: `XvQueryAdaptors' undeclared (first use this function)
xvplayer.cpp:227: error: `XvInputMask' undeclared (first use this function)
xvplayer.cpp:228: error: `XvVideoMask' undeclared (first use this function)
xvplayer.cpp:233: error: `XvAttribute' undeclared (first use this function)
xvplayer.cpp:233: error: `attributes' undeclared (first use this function)
xvplayer.cpp:235: error: `XvQueryPortAttributes' undeclared (first use this
function)
xvplayer.cpp:242: error: `XvGettable' undeclared (first use this function)
xvplayer.cpp:242: error: `XvGetPortAttribute' undeclared (first use this function)
xvplayer.cpp:254: error: `XvEncodingInfo' undeclared (first use this function)
xvplayer.cpp:254: error: `encodings' undeclared (first use this function)
xvplayer.cpp:256: error: `XvQueryEncodings' undeclared (first use this function)
xvplayer.cpp:278: error: `XvFreeEncodingInfo' undeclared (first use this function)
xvplayer.cpp:283: error: `XvFreeAdaptorInfo' undeclared (first use this function)
xvplayer.cpp: In member function `void KXVideoPlayer::play()':
xvplayer.cpp:336: error: `XvGrabPort' undeclared (first use this function)
xvplayer.cpp:338: error: `XvSelectPortNotify' undeclared (first use this function)
xvplayer.cpp:339: error: `XvSelectVideoNotify' undeclared (first use this function)
xvplayer.cpp:341: error: `XvGetPortAttribute' undeclared (first use this function)
xvplayer.cpp:343: error: `XvSetPortAttribute' undeclared (first use this function)
xvplayer.cpp:351: error: `XvQueryPortAttributes' undeclared (first use this
function)
xvplayer.cpp: In member function `void KXVideoPlayer::stop()':
xvplayer.cpp:391: error: `XvStopVideo' undeclared (first use this function)
xvplayer.cpp:393: error: `XvSetPortAttribute' undeclared (first use this function)
xvplayer.cpp:400: error: `XvUngrabPort' undeclared (first use this function)
xvplayer.cpp: In member function `void KXVideoPlayer::saturation(int)':
xvplayer.cpp:417: error: `XvSetPortAttribute' undeclared (first use this function)
xvplayer.cpp: In member function `void KXVideoPlayer::hue(int)':
xvplayer.cpp:424: error: `XvSetPortAttribute' undeclared (first use this function)
xvplayer.cpp: In member function `void KXVideoPlayer::contrast(int)':
xvplayer.cpp:431: error: `XvSetPortAttribute' undeclared (first use this function)
xvplayer.cpp: In member function `void KXVideoPlayer::brightness(int)':
xvplayer.cpp:438: error: `XvSetPortAttribute' undeclared (first use this function)
xvplayer.cpp: In member function `void KXVideoPlayer::volume(int)':
xvplayer.cpp:445: error: `XvSetPortAttribute' undeclared (first use this function)
xvplayer.cpp: In member function `void KXVideoPlayer::frequency(int)':
xvplayer.cpp:454: error: `XvSetPortAttribute' undeclared (first use this function)
xvplayer.cpp: In member function `virtual void XEventThread::run()':
xvplayer.cpp:503: error: `XvVideoNotify' undeclared (first use this function)
xvplayer.cpp:504: error: `XvEvent' undeclared (first use this function)
xvplayer.cpp:504: error: parse error before `;' token
xvplayer.cpp: In function `int main(int, char**)':
xvplayer.cpp:523: error: `XvQueryExtension' undeclared (first use this function)
make[2]: *** [xvplayer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from kmplayersource.h:28,
                 from kmplayerview.h:37,
                 from kmplayerview.cpp:48:
kmplayerplaylist.h:152: warning: `inline' is not at beginning of declaration
make[2]: Leaving directory
`/var/tmp/portage/kmplayer-0.8.4b/work/kmplayer-0.8.4b/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kmplayer-0.8.4b/work/kmplayer-0.8.4b'
make: *** [all] Error 2

!!! ERROR: media-video/kmplayer-0.8.4b failed.
!!! Function kde_src_compile, Line 164, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.



Expected Results:  
Expected Results

the typical 

>>> clean; No packages selected for removal.

>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date

linux-box ~ #

linux-box ~ # emerge-info

Gentoo Base System version 1.6.12
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 Intel(R) Celeron(TM) CPU                1000MHz
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jul  6 2005, 00:53:32)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
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=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.datapipe.net ftp://gentoo.mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="x86 X alsa arts avi bitmap-fonts crypt cups curl dvd emboss esd fam gif
gnome gtk gtk2 imagemagick imlib java javascript jpeg kde libg++ libwww mad mime
mozilla mp3 mpeg nas ogg oss pam pdflib perl png python quicktime readline samba
sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts usb vorbis
win32codecs xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

linux-box ~ #
Comment 1 cyril constantin 2005-07-19 03:19:36 UTC
try to remerge xorg.
an include file is missing.
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-07-19 05:56:05 UTC
Maybe you emerged xorg without the "xv" USE flag? 
 
Comment 3 Michael Young 2005-07-20 17:36:59 UTC
(In reply to comment #2)
> Maybe you emerged xorg without the "xv" USE flag? 
>  
Yep, that's what I did.  Sorry to waste our developers time.  I'm taking your
"xv USE flag" advice & will go the fourms for further help if required.

Best regards, Michael.
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2005-07-21 08:01:05 UTC
I added a check in the ebuild to avoid this error. For a proper solution bug  
2272 needs to be solved first...