[mythtv-users] DVB: videoout_xv.o compile error

Jon Whitear mythtv at whitear.org
Mon Mar 8 00:56:35 EST 2004


I'm using the gentoo MythTV-0.14-r1 ebuild, and having some problems
installing. I have unpacked the ebuild (as per the EPIA how-to at
alterself.com) and edited my settings.pro to uncomment DVB, Via CLE266 and
native ALSA support. The DVB include path is correct
(/usr/src/linux-2.6.1-epia/include).

The compile error I'm getting is:-

g++ -c -pipe `artsc-config --cflags` -Wall -W -O3 -march=i686
-fomit-frame-pointer `freetype-config --c
flags` -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX=\"/usr\" -DMMX -DUSING_IVTV -D
USING_DVB -DUSING_VIASLICE -DUSING_XV -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-I/usr/qt/3/mkspecs/linux-g++ -
I. -I/usr/include -I/usr/src/linux-2.6.1-epia/include -I../libmyth -I..
-Idvbdev -I../libavcodec -I/usr
/qt/3/include -o videoout_xv.o videoout_xv.cpp
In file included from ../libavcodec/common.h:88,
                 from ../libavcodec/avcodec.h:14,
                 from videoout_xv.cpp:26:
/usr/include/inttypes.h:396: error: parse error before `__attribute__'
/usr/include/inttypes.h:414: error: parse error before `__attribute__'
/usr/include/inttypes.h:430: error: parse error before `__attribute__'
/usr/include/inttypes.h:449: error: parse error before `__attribute__'
In file included from ../libavcodec/avcodec.h:15,
                 from videoout_xv.cpp:26:
../libavcodec/rational.h:35: error: parse error before `__attribute__'
../libavcodec/rational.h:43: error: parse error before `__attribute__'
In file included from videoout_xv.cpp:26:
../libavcodec/avcodec.h:2073: error: parse error before `}' token
make[2]: *** [videoout_xv.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mythtv-0.14-r1/work/mythtv-0.14/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory
`/var/tmp/portage/mythtv-0.14-r1/work/mythtv-0.14/libs'
make: *** [sub-libs] Error 2

!!! ERROR: media-tv/mythtv-0.14-r1 failed.
!!! Function src_compile, Line 113, Exitcode 2
!!! compile problem

A search of this forum revealed someone having this problem before, also
with a TwinHan DVB card
(http://mythtv.org/pipermail/mythtv-users/2003-November/020066.html).
However, the issue seems to be kernel specific, and I'm using a different
kernel version (2.6.1-epia). My gcc is version 3.3.2 20031218 (Gentoo
Linux 3.3.2-r5, propolice-3.3-7.)

Any help would be much appreciated.

Cheers,


Jon




More information about the mythtv-users mailing list