[mythtv] Another CVS compile error with DVB

Torbjörn Jansson torbjorn.jansson at mbox200.swipnet.se
Tue Jan 25 13:22:00 EST 2005


mythtv-dev-bounces at mythtv.org <> wrote:
> When I enable DVB I get a compile error on
> mythcdrom-linux.cpp, this is
> because the DVB settings.pro includes files from
> /usr/src/linux/includes
> Including files directly from the kernel in Linux user space programs
> is no longer supported by the kernel developers.
> 
> I've attached a patch that copies the three dvb files from
> the kernel we
> use into myth. These are dvb/dmx.h, dvb/frontend.h, and dvb/version.h,
> these are renamed dvbdmx_myth.h, dvbfrontend_myth.h, dvbversion_myth.h
> and should be put in the libs/libmythtv directory with videodev_myth.h
> and videodev2_myth.h which serve a simlar purpose. The patch itself
> changes the files that include the kernel files to use the
> myth copies,
> and removes the INCLUDE line from settings.pro that causes
> the compile
> problem.

I've always used the INCLUDEPATH line just below USING_DVB in settings.pro
and set it to point to the include dir in a copy of the linux dvb source.
And that have always worked.

Have something changed recently to prevent this? It worked just fine
yesterday.



More information about the mythtv-dev mailing list