[mythtv] Another CVS compile error with DVB

Endaf Jones jonese at zener.com
Tue Jan 25 14:01:21 EST 2005


I've always used the includes from the kernel-dvb CVS sources (once I 
have merged it with 2.6.10).

INCLUDEPATH += /usr/local/src/dvb-kernel-cvs/linux/include


# Endaf

Torbjörn Jansson wrote:

>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.
>
>_______________________________________________
>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