Update: [mythtv] Mythtv-0.14: videoout_xv.o compile error (help!)

Jon Whitear mythtv at whitear.org
Mon Mar 8 23:23:36 EST 2004


Further research shows that glibc is complaining about some "inline defs".
 I'm no coder (and I _am_ somewhat of a Linux noob), so I'm at a loss as
to how to resolve this issue.

I have tried emerging a 2.4 kernel (2.4.25-epia to be precise) and linking
/usr/src/linux to that, but I still have the 2.6.1-epia include path there
(because of the DVB drivers.)

Apparently I should undef the inline defs (!) but I wouldn't know
where/how to do that. Any help would be greatly appreciated, since I've
been trying to get this Myth box working for (many) weeks!


> I originally posted this to the users list, and then realised that this
> was the more approprite place, so apologies for the duplicate post.
>
> 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 these lists revealed someone having this problem before, also
> with a TwinHan DVB card:-
>
> http://mythtv.org/pipermail/mythtv-users/2003-November/020066.html
>
> I initially thought this was a kernel specific issue, but it seems the
> cause is glibc not liking some headers. 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
> _______________________________________________
> 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