LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-22-2006, 09:22 AM   #1
jimjamjahaa
Member
 
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127

Rep: Reputation: 15
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?
 
Old 01-23-2006, 02:23 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,907

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error compiling mplayer on gentoo aeruzcar Linux - Software 8 08-08-2005 10:05 AM
strange error while compiling from source Nadim Slackware 2 08-01-2005 10:59 PM
compiling mplayer from source attempt simcox1 Linux - Software 8 05-18-2005 03:10 PM
Mplayer compiling error FreeBSD 4.10 agarfors *BSD 8 09-28-2004 05:30 AM
error with gtk compiling mplayer with gui Anubis Linux - General 2 02-29-2004 01:20 PM


All times are GMT -5. The time now is 10:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration