[mythtv-users] Compiling myth with DVB
cythrault at gmail.com
Fri Sep 24 19:57:51 EDT 2004
Don't use linuxtv 1.x with kernel 2.6.x.
As of 2.6, DVB support is included in the kernel. But, I had some
problem myself compiling again't 188.8.131.52 and I was told that the
userspace headers are not present. So, I got the CVS of dvb-kernel.
You can checkout the latest version using:
cvs -d :pserver:anonymous at linuxtv.org:/cvs/linuxtv co dvb-kernel
Then, in settings.pro of mythtv, change the include path for the dvb
drivers. For example:
INCLUDEPATH += /usr/src/dvb-kernel/linux/include
This will take care of mythtv but you also have to make the dvb
drivers work. For that, I went under dvb-kernel/build-2.6 and ran a
make from that point then ran ./insmod.sh
While not elegant, it works for me.
If you have an IR receiver on your dvb card, you may also notice a
problem with key repetion, there's a thread on dvbn for that.
For more details, you may want to visit dvbn on http://www.dvbn.happysat.org/
On Sat, 25 Sep 2004 00:04:13 +0100, Mike Perry <pez at cus.org.uk> wrote:
> Hi, anyone got any ideas what I can do about this?
> I have been trying to compile mythtv with the dvb option but I keep
> getting the same error:
> dvbdiseqc.cpp: In member function `bool
> DVBDiSEqC::PositionerGotoAngular(dvb_tuning_t&, bool, bool&)':
> dvbdiseqc.cpp:587: error: `M_PI' undeclared (first use this function)
> dvbdiseqc.cpp:587: error: (Each undeclared identifier is reported only
> once for
> each function it appears in.)
> dvbdiseqc.cpp:603: error: `tan' undeclared (first use this function)
> dvbdiseqc.cpp:603: error: `sin' undeclared (first use this function)
> dvbdiseqc.cpp:603: error: `atan2' undeclared (first use this function)
> dvbdiseqc.cpp:631: error: `round' undeclared (first use this function)
> make: *** [dvbdiseqc.o] Error 1
> make: Leaving directory `/usr/local/src/mythtv/mythtv/libs/libmythtv'
> I am using:
> kernel 184.108.40.206
> mythtv latest cvs
> and have tried setting the DVB include files to the kernel and
> linuxtv-dvb versions 1.0.1, 1.1.0, and 1.1.1
> Myth compiled without the dvb option so I am assuming it is related to
> that. I'm sure it is something obvious but I can't find any solutions in
> the list archives or google.
> Thanks for any help
More information about the mythtv-users