LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   error compiling mplayer from source (https://www.linuxquestions.org/questions/linux-software-2/error-compiling-mplayer-from-source-406515/)

jimjamjahaa 01-22-2006 09:22 AM

error compiling mplayer from source
 
im using kubuntu breezy and mplayer is not downloading from the repository at the moment, so i am trying to compile it from source.

i ./configure d it with no problem, then i sudo make d it, and it went ok for quite a while, but then i got this...

Code:

/bin/sh ../libtool --silent --mode=link gcc  -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2  -Wformat-security -Wmissing-format-attribute  -o libkmplayerbackend.la  kmplayer_backend_skel.lo kmplayer_callback_stub.lo
/usr/share/qt3/bin/moc ./xvplayer.h -o xvplayer.moc
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/include/kde/kio  -I/usr/include/kde -I/usr/share/qt3/include -I.  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -MT xvplayer.o -MD -MP -MF ".deps/xvplayer.Tpo" \
  -c -o xvplayer.o `test -f 'xvplayer.cpp' || echo './'`xvplayer.cpp; \
then mv -f ".deps/xvplayer.Tpo" ".deps/xvplayer.Po"; \
else rm -f ".deps/xvplayer.Tpo"; exit 1; \
fi
xvplayer.cpp:43:34: error: X11/extensions/Xvlib.h: No such file or directory
xvplayer.cpp: In function ‘void putVideo()’:
xvplayer.cpp:105: error: ‘XvPutVideo’ was not declared in this scope
xvplayer.cpp: In member function ‘void KXVideoPlayer::init()’:
xvplayer.cpp:223: error: ‘XvAdaptorInfo’ was not declared in this scope
xvplayer.cpp:223: error: ‘ai’ was not declared in this scope
xvplayer.cpp:228: error: ‘XvQueryAdaptors’ was not declared in this scope
xvplayer.cpp:233: error: ‘XvInputMask’ was not declared in this scope
xvplayer.cpp:234: error: ‘XvVideoMask’ was not declared in this scope
xvplayer.cpp:239: error: ‘XvAttribute’ was not declared in this scope
xvplayer.cpp:239: error: ‘attributes’ was not declared in this scope
xvplayer.cpp:241: error: ‘XvQueryPortAttributes’ was not declared in this scope
xvplayer.cpp:248: error: ‘XvGettable’ was not declared in this scope
xvplayer.cpp:248: error: ‘XvGetPortAttribute’ was not declared in this scope
xvplayer.cpp:260: error: ‘XvEncodingInfo’ was not declared in this scope
xvplayer.cpp:260: error: ‘encodings’ was not declared in this scope
xvplayer.cpp:262: error: ‘XvQueryEncodings’ was not declared in this scope
xvplayer.cpp:284: error: ‘XvFreeEncodingInfo’ was not declared in this scope
xvplayer.cpp:289: error: ‘XvFreeAdaptorInfo’ was not declared in this scope
xvplayer.cpp: In member function ‘void KXVideoPlayer::play()’:
xvplayer.cpp:342: error: ‘XvGrabPort’ was not declared in this scope
xvplayer.cpp:344: error: ‘XvSelectPortNotify’ was not declared in this scope
xvplayer.cpp:345: error: ‘XvSelectVideoNotify’ was not declared in this scope
xvplayer.cpp:347: error: ‘XvGetPortAttribute’ was not declared in this scope
xvplayer.cpp:349: error: ‘XvSetPortAttribute’ was not declared in this scope
xvplayer.cpp:352: error: ‘XvGetPortAttribute’ was not declared in this scope
xvplayer.cpp:354: error: ‘XvSetPortAttribute’ was not declared in this scope
xvplayer.cpp:357: error: ‘XvAttribute’ was not declared in this scope
xvplayer.cpp:357: error: ‘attributes’ was not declared in this scope
xvplayer.cpp:357: error: ‘XvQueryPortAttributes’ was not declared in this scope
xvplayer.cpp:380: error: ‘XvSetPortAttribute’ was not declared in this scope
xvplayer.cpp:382: error: ‘XvSetPortAttribute’ was not declared in this scope
xvplayer.cpp: In member function ‘void KXVideoPlayer::stop()’:
xvplayer.cpp:397: error: ‘XvStopVideo’ was not declared in this scope
xvplayer.cpp:399: error: ‘XvSetPortAttribute’ was not declared in this scope
xvplayer.cpp:403: error: ‘XvSetPortAttribute’ was not declared in this scope
xvplayer.cpp:406: error: ‘XvUngrabPort’ was not declared in this scope
xvplayer.cpp: In member function ‘void KXVideoPlayer::saturation(int)’:
xvplayer.cpp:423: error: ‘XvSetPortAttribute’ was not declared in this scope
xvplayer.cpp: In member function ‘void KXVideoPlayer::hue(int)’:
xvplayer.cpp:430: error: ‘XvSetPortAttribute’ was not declared in this scope
xvplayer.cpp: In member function ‘void KXVideoPlayer::contrast(int)’:
xvplayer.cpp:437: error: ‘XvSetPortAttribute’ was not declared in this scope
xvplayer.cpp: In member function ‘void KXVideoPlayer::brightness(int)’:
xvplayer.cpp:444: error: ‘XvSetPortAttribute’ was not declared in this scope
xvplayer.cpp: In member function ‘void KXVideoPlayer::volume(int)’:
xvplayer.cpp:451: error: ‘XvSetPortAttribute’ was not declared in this scope
xvplayer.cpp: In member function ‘void KXVideoPlayer::frequency(int)’:
xvplayer.cpp:460: error: ‘XvSetPortAttribute’ was not declared in this scope
xvplayer.cpp: In member function ‘virtual void XEventThread::run()’:
xvplayer.cpp:514: error: ‘XvVideoNotify’ was not declared in this scope
xvplayer.cpp:515: error: ‘XvEvent’ was not declared in this scope
xvplayer.cpp:515: error: expected primary-expression before ‘)’ token
xvplayer.cpp: In function ‘int main(int, char**)’:
xvplayer.cpp:534: error: ‘XvQueryExtension’ was not declared in this scope
make[2]: *** [xvplayer.o] Error 1
make[2]: Leaving directory `/home/richard/Desktop/kmplayer-0.9.1a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/richard/Desktop/kmplayer-0.9.1a'
make: *** [all] Error 2


i have never got compilation to work really. sucks. any ideas?

bathory 01-23-2006 02:23 AM

Quote:

xvplayer.cpp:43:34: error: X11/extensions/Xvlib.h: No such file or directory
You should install the Xord-devel package which contains header files etc, in order to compile from source X-windows applications.


All times are GMT -5. The time now is 08:09 PM.