[mythtv] Problem compilng mythtv on Xbox Xebian 1.0.3
Gertjan Assies
gertjan at assies.nu
Thu Aug 26 15:49:29 EDT 2004
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
More information about the mythtv-dev
mailing list