[mythtv-users] Mythtv, Gentoo, DVB and 2.6.28 kernel not compiling

jk90090 jk90090 at gmail.com
Sat Jan 24 22:14:10 UTC 2009


John Drescher wrote:
> I wonder if this was fixed in a newer svn. I am using a newer svn rev
> but older kernel (need openvz containers).
>
> I am running svn 19706
>
>
> If you want to try the ebuilds are in my overlay here:
>
> http://github.com/drescherjm/jmdgentoooverlay/tree/c2c73506b334f152f56e7dca3640ba9310f66858/media-tv/mythtv
>
> All the plugins also are updated so everything is 19706.
>
> John
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>   
So I just tested the svn (  svn co 
http://svn.mythtv.org/svn/branches/release-0-21-fixes/ ) and as expected 
it has the same problem :

g++ -c -pipe -march=pentiumpro -fomit-frame-pointer -O3 -Wall 
-Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor 
-D__STDC_CONSTANT_MACROS -I/usr/include/freetype2 -D_REENTRANT -DPIC 
-fPIC  -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_H264TOOLS -DUSING_X11 -DUSING_XV 
-DUSING_XVMC -DUSING_XVMC_PBUFFER -DUSING_OPENGL -DUSING_XVMC_OPENGL 
-DUSING_OPENGL_VSYNC -DUSING_OPENGL_VIDEO -DUSING_FRONTEND 
-DUSING_FFMPEG_THREADS -DUSING_V4L -DUSING_LINUX_FIREWIRE 
-DUSING_FIREWIRE -DUSING_LIBAVC_5_3 -DUSING_DBOX2 -DUSING_IPTV 
-DUSING_HDHOMERUN -DUSING_IVTV -DUSING_DVB -DUSING_BACKEND -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT 
-I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/local/include -I/usr/include 
-I../.. -I.. -I. -I../libmyth -I../libavcodec -I../libavutil 
-I../libmythmpeg2 -Idvbdev -Impeg -Iiptv 
-I../libmythlivemedia/BasicUsageEnvironment/include 
-I../libmythlivemedia/groupsock/include 
-I../libmythlivemedia/liveMedia/include 
-I../libmythlivemedia/UsageEnvironment/include -I/usr/qt/3/include 
-I/usr/X11R6/include -I/usr/X11R6/include -o videosource.o videosource.cpp
In file included from videosource.cpp:43:
dvbtypes.h:23:6: error: #error "DVB driver includes with API version 3 
not found!"
dvbtypes.h:33:2: warning: #warning DVB API version < 3.1
dvbtypes.h:34:2: warning: #warning ATSC will not be supported using the 
Linux DVB drivers
In file included from ../libmyth/mythwidgets.h:20,
                 from videosource.cpp:26:
/usr/qt/3/include/qimage.h: In member function 'bool 
QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/usr/qt/3/include/qimage.h:61: warning: suggest parentheses around && 
within ||
make[2]: *** [videosource.o] Error 1
make[2]: Leaving directory 
`/root/src/release-0-21-fixes/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/root/src/release-0-21-fixes/mythtv/libs'
make: *** [sub-libs] Error 2


Next I tried the trunk ( svn co http://svn.mythtv.org/svn/trunk/ ) , 
which built fine. 

frontend libmythtv # diff dvbtypes.h 
~/src/release-0-21-fixes/mythtv/libs/libmythtv/dvbtypes.h
22c22
< #if (DVB_API_VERSION != 3 && DVB_API_VERSION != 5)
---
 > #if (DVB_API_VERSION != 3)
30c30
< #if ((DVB_API_VERSION == 3 && DVB_API_VERSION_MINOR >= 1) || 
(DVB_API_VERSION > 3))
---
 > #if (DVB_API_VERSION >= 3 && DVB_API_VERSION_MINOR >= 1)


So, my obvious question is why someone would change this in the latest 
trunk, which I assume is the yet unreleased 0.22, but not change these 
rather important lines for the current stable?  At any rate, I'm going 
to look into getting someone to update the DVB support (not just the 
header file, but also the cpp) for 0.21 . 

-JK





More information about the mythtv-users mailing list