[mythtv] [mythtv-commits] mythtv commit: r13660 by nigel

Nigel Pearson nigel at ind.tansu.com.au
Thu Jun 14 01:44:54 UTC 2007


>> 2) X11-ish aspects (e.g. XV) will not compile if X11 is not enabled
>
> This shouldn't be needed. xv, xvmc, ... depend on x11 (see mythtv
> dependencies) and if the dependency isn't met they will (or should)  
> get
> disabled.

Some source files are used in both X11 and non-X11 envs,
but they use things like HAVE_XV to select headers and classes.

> Does configure fail or does the build fail?

The latter:

g++ -c -pipe -Wno-long-double -F/System/Library/Frameworks/ 
{AGL,ApplicationServices,Carbon,Cocoa,OpenGL,QuickTime}.framework/ 
Frameworks -F/System/Library/PrivateFrameworks/{DVD}.framework/ 
Frameworks -Wall -W -I/Volumes/MythBuild/.osx-packager/build/include - 
no-cpp-precomp -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit- 
frame-pointer -g -Wall -Wno-switch -Wdisabled-optimization -Wpointer- 
arith -Wredundant-decls -O3 -Wno-non-virtual-dtor - 
D__STDC_CONSTANT_MACROS -fomit-frame-pointer -I/Volumes/ 
MythBuild/.osx-packager/build/include/freetype2 -I/Volumes/ 
MythBuild/.osx-packager/build/include -DPIC -fPIC  -DMMX -Di386 - 
DUSING_APPLEREMOTE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/ 
Volumes/MythBuild/.osx-packager/build\" -DLIBDIR=\"/Volumes/ 
MythBuild/.osx-packager/build/lib\" -D_LARGEFILE_SOURCE - 
DUSING_H264TOOLS -DUSING_XV -DUSING_FRONTEND -DUSING_DBOX2 - 
DUSING_IPTV -DUSING_HDHOMERUN -DUSING_IVTV -DUSING_BACKEND - 
DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED - 
DQT_ACCESSIBILITY_SUPPORT -I/Volumes/MythBuild/.osx-packager/src/qt- 
mac-free-3.3.6/mkspecs/default -I. -I../../../../../build/include - 
I../../../../../build/include -I../.. -I.. -I../libmyth -I../ 
libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -Iiptv - 
I../libmythlivemedia/BasicUsageEnvironment/include -I../ 
libmythlivemedia/groupsock/include -I../libmythlivemedia/liveMedia/ 
include -I../libmythlivemedia/UsageEnvironment/include -I/Volumes/ 
MythBuild/.osx-packager/src/qt-mac-free-3.3.6/include -o  
videooutbase.o videooutbase.cpp
In file included from videooutbase.cpp:11:
videoout_xv.h:10:23: error: X11/Xatom.h: No such file or directory
videoout_xv.h:11:23: error: X11/Xutil.h: No such file or directory
videoout_xv.h:12:33: error: X11/extensions/XShm.h: No such file or  
directory
videoout_xv.h:13:31: error: X11/extensions/Xv.h: No such file or  
directory
videoout_xv.h:14:34: error: X11/extensions/Xvlib.h: No such file or  
directory
g++ -c -pipe -Wno-long-double -F/System/Library/Frameworks/ 
{AGL,ApplicationServices,Carbon,Cocoa,OpenGL,QuickTime}.framework/ 
Frameworks -F/System/Library/PrivateFrameworks/{DVD}.framework/ 
Frameworks -Wall -W -I/Volumes/MythBuild/.osx-packager/build/include - 
no-cpp-precomp -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit- 
frame-pointer -g -Wall -Wno-switch -Wdisabled-optimization -Wpointer- 
arith -Wredundant-decls -O3 -Wno-non-virtual-dtor - 
D__STDC_CONSTANT_MACROS -fomit-frame-pointer -I/Volumes/ 
MythBuild/.osx-packager/build/include/freetype2 -I/Volumes/ 
MythBuild/.osx-packager/build/include -DPIC -fPIC  -DMMX -Di386 - 
DUSING_APPLEREMOTE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/ 
Volumes/MythBuild/.osx-packager/build\" -DLIBDIR=\"/Volumes/ 
MythBuild/.osx-packager/build/lib\" -D_LARGEFILE_SOURCE - 
DUSING_H264TOOLS -DUSING_XV -DUSING_FRONTEND -DUSING_DBOX2 - 
DUSING_IPTV -DUSING_HDHOMERUN -DUSING_IVTV -DUSING_BACKEND - 
DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED - 
DQT_ACCESSIBILITY_SUPPORT -I/Volumes/MythBuild/.osx-packager/src/qt- 
mac-free-3.3.6/mkspecs/default -I. -I../../../../../build/include - 
I../../../../../build/include -I../.. -I.. -I../libmyth -I../ 
libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -Iiptv - 
I../libmythlivemedia/BasicUsageEnvironment/include -I../ 
libmythlivemedia/groupsock/include -I../libmythlivemedia/liveMedia/ 
include -I../libmythlivemedia/UsageEnvironment/include -I/Volumes/ 
MythBuild/.osx-packager/src/qt-mac-free-3.3.6/include -o  
videobuffers.o videobuffers.cpp
videoout_xv.h:101: error: 'Display' has not been declared
videoout_xv.h:101: error: 'Window' has not been declared
videoout_xv.h:108: error: expected ';' before '(' token
videoout_xv.h:111: error: 'Display' has not been declared
videoout_xv.h:174: error: 'Window' does not name a type
videoout_xv.h:175: error: 'Window' does not name a type
videoout_xv.h:176: error: 'Window' does not name a type
videoout_xv.h:177: error: 'GC' does not name a type
videoout_xv.h:178: error: ISO C++ forbids declaration of 'Screen'  
with no type
videoout_xv.h:178: error: expected ';' before '*' token
videoout_xv.h:179: error: ISO C++ forbids declaration of 'Display'  
with no type
videoout_xv.h:179: error: expected ';' before '*' token
videoout_xv.h:192: error: 'XShmSegmentInfo' was not declared in this  
scope
videoout_xv.h:192: error: template argument 1 is invalid
videoout_xv.h:192: error: template argument 2 is invalid
videoout_xv.h:196: error: ISO C++ forbids declaration of 'XImage'  
with no type
videoout_xv.h:196: error: expected ';' before '*' token
make[2]: *** [videooutbase.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [sub-libmythtv] Error 2
make: *** [sub-libs] Error 2

--
Nigel Pearson, nigel at ind.tansu.com.au|"Gentlemen,
Telstra Net. Eng., Sydney, Australia | you can't fight in here-
Office: 9202 3900    Fax:  9261 3912 |   this is the war room!"
Mobile: 0408 664435  Home: 9792 6998 |     Dr Strangelove




More information about the mythtv-dev mailing list