[mythtv-users] CVS compile problem: videoout_xv.cpp]

Joseph A. Caputo jcaputo1 at comcast.net
Wed Nov 12 10:15:27 EST 2003


On Wednesday 12 November 2003 08:30, Grant Totten wrote:
> (I'd sent this to the mythtv-dev list originally, which was probably
> inappropriate.  Can anyone on the mythtv-users list help me out?)
>
> Hi all,
>
> I'm trying to compile up mythtv on my RH9 system, with
> linux-2.6.0-test9 kernel, and the Twinhan DST VP-1020 DVB-S card. 
> I've gotten the card working (can use szap and dvbstream to tune a
> FTA channel and capture frames), so now I've moved on to getting
> MythTV compiled up.
>
> I grabbed a CVS checkout as of this morning at about 11:00am EST, and
> updated mythtv/mythtv/settings.pro by un-commenting this:
>
> # DVB support
> CONFIG += using_dvb
> DEFINES += USING_DVB
> INCLUDEPATH += /usr/src/linux/include/linux/dvb/
>
> and adding this:
>
> INCLUDEPATH += /usr/src/linux/include/
>
> Then I did a "make distclean" and a "make".  This is what I'm
> getting:
>
> ...snip...
> make[2]: Entering directory
> `/local/usr/src/cvs/mythtv/mythtv/libs/libdvbdev'
> make[2]: Nothing to be done for `first'.
> make[2]: Leaving directory
> `/local/usr/src/cvs/mythtv/mythtv/libs/libdvbdev' cd libmythtv &&
> make -f Makefile
> make[2]: Entering directory
> `/local/usr/src/cvs/mythtv/mythtv/libs/libmythtv'
> g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer
> `freetype-config --cflags` -D_REENTRANT  -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DUSING_DVB
> -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.1/mkspecs/default
> -I. -I/usr/local/include -I/usr/src/linux/include/linux/dvb
> -I/usr/src/linux/include -I../libmyth -I.. -I../libavcodec
> -I../libavformat -I../libdvbdev -I/usr/lib/qt-3.1/include -o
> videoout_xv.o videoout_xv.cpp
> In file included from ../libavcodec/common.h:148,
>                 from ../libavcodec/avcodec.h:14,
>                 from videoout_xv.cpp:26:
> /usr/include/inttypes.h:396: parse error before `__attribute__'
> /usr/include/inttypes.h:414: parse error before `__attribute__'
> /usr/include/inttypes.h:430: parse error before `__attribute__'
> /usr/include/inttypes.h:449: parse error before `__attribute__'
> In file included from ../libavcodec/avcodec.h:15,
>                 from videoout_xv.cpp:26:
> ../libavcodec/rational.h:35: parse error before `__attribute__'
> ../libavcodec/rational.h:43: parse error before `__attribute__'
> In file included from videoout_xv.cpp:26:
> ../libavcodec/avcodec.h:1817: parse error before `}' token
> make[2]: *** [videoout_xv.o] Error 1
> make[2]: Leaving directory
> `/local/usr/src/cvs/mythtv/mythtv/libs/libmythtv' make[1]: ***
> [sub-libmythtv] Error 2
> make[1]: Leaving directory `/local/usr/src/cvs/mythtv/mythtv/libs'
> make: *** [sub-libs] Error 2
>
> I'm using this version of gcc:
>
> [root at mumbles mythtv]# gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --with-system-zlib --enable-__cxa_atexit
> --host=i386-redhat-linux
> Thread model: posix
> gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
>
>
> Does anyone have any suggestions?
>
> Thanks,
> Grant Totten

Not sure if this is needed, but did you run qmake after editing 
settings.pro?

-JAC



More information about the mythtv-users mailing list