[mythtv] Problem compilng mythtv on Xbox Xebian 1.0.3

Gertjan Assies gertjan at assies.nu
Fri Aug 27 04:22:46 EDT 2004


This did the trick, thanks
Gertjan

Paul Volkaerts wrote:

>Just FYI; I fixed this in my local copy by doing the following in vsync.h;
>it now compiles fine....
>
>Add before "class VideoSync" ...
>
>class VideoSync;
>typedef VideoSync * VideoSyncPtr;
>
>Then replace ...
>	static VideoSync * BestMethod( ....
>with
>	static VideoSyncPtr BestMethod( ...
>
>
>This shows it is definately a compiler wobbler rather than a problem.
>
>Paul
>
>
>
>
>
>  
>
>>-----Original Message-----
>>From: Paul Volkaerts [mailto:paul.volkaerts at lineone.net]
>>Sent: 27 August 2004 00:17
>>To: Development of mythtv
>>Subject: RE: [mythtv] Problem compilng mythtv on Xbox Xebian 1.0.3
>>
>>
>>I get the same exactly on standard Debian stable (gcc 2.95.4);
>>and its the first time I've checked out CVS so no hangovers in
>>there; the code just does not want to compile even though I can't
>>see anything wrong with it.
>>
>>    
>>
>>>-----Original Message-----
>>>From: mythtv-dev-bounces at mythtv.org
>>>[mailto:mythtv-dev-bounces at mythtv.org]On Behalf Of Gertjan Assies
>>>Sent: 26 August 2004 20:49
>>>To: mythtv-dev at mythtv.org
>>>Subject: [mythtv] Problem compilng mythtv on Xbox Xebian 1.0.3
>>>
>>>
>>>Hi,
>>>
>>>I've been running Mythtv for a while now,  my current systems is a
>>>backend with 2 PVR 250's, and 2 separate frontends.
>>>I also have an Xbox, which i want to turn in a frontend.
>>>I've installed Xebian 1.0.3 on my Xbox, and compiled QT 3.3.3 with the
>>>following configure :
>>>./configure -thread -qt-sql-mysql -I/usr/include/mysql
>>>
>>>when compiling mythtv  (cvs version of this morning) I encounter the
>>>following error
>>>
>>>g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer
>>>`freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE
>>>-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX
>>>-DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DUSING_XV -DQT_NO_DEBUG
>>>-DQT_THREAD_SUPPORT -DQT_SHARED -I/setup/qt/mkspecs/default -I.
>>>-I/usr/local/include -I../libmyth -I.. -Idvbdev -I../libavcodec
>>>-I/setup/qt//include -o NuppelVideoPlayer.o NuppelVideoPlayer.cpp
>>>In file included from NuppelVideoPlayer.cpp:37:
>>>vsync.h:71: ANSI C++ forbids declaration `VideoSync' with no type
>>>vsync.h:71: ANSI C++ forbids data member `VideoSync' with same name as
>>>enclosing class
>>>vsync.h:71: declaration of `int VideoSync::VideoSync'
>>>vsync.h:59: conflicts with previous declaration `void
>>>VideoSync::VideoSync(int)'
>>>vsync.h:71: parse error before `*'
>>>vsync.h:90: confused by earlier errors, bailing out
>>>cpp0: output pipe has been closed
>>>make[2]: *** [NuppelVideoPlayer.o] Error 1
>>>make[2]: Leaving directory `/setup/mythtv/libs/libmythtv'
>>>make[1]: *** [sub-libmythtv] Error 2
>>>make[1]: Leaving directory `/setup/mythtv/libs'
>>>make: *** [sub-libs] Error 2
>>>
>>>(my C++ knowledge is very limited so i'm guessing here)
>>>Is this a problem in the code (more than 1 constructor??) or am i using
>>>the wrong compiler version, my version of gcc is 2.95.4
>>>I removed  and updated vsync.cpp and vsync.h  from cvs,  and
>>>      
>>>
>>did a qmake
>>    
>>
>>>libmythtv.pro to no avail
>>>
>>>thanks,
>>>Gertjan
>>>
>>>
>>>_______________________________________________
>>>mythtv-dev mailing list
>>>mythtv-dev at mythtv.org
>>>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>>>
>>>      
>>>
>
>
>_______________________________________________
>mythtv-dev mailing list
>mythtv-dev at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>
>  
>



More information about the mythtv-dev mailing list