[mythtv-users] Compiling myth with DVB

cythraul cythrault at gmail.com
Sat Sep 25 13:37:08 EDT 2004


Looks like missing headers.

You did change the include path for the dvb drivers, right? Execute a
qmake mythtv.pro and a make clean afterward. Not sure if this is
necessary but that's the way I do it and I have no problem.

Also, I's running the cvs of mythtv, what version are you trying to
compile? Tho, I'v compiled .15, .16 and current CVS with this setup...

I hope someone else can see the problem, because off hand, I don't get
it, especially if your include path is set correctly.

I'll let you know if it comes to me.

Good day,
cythraul

----- Original Message -----
From: Mike Perry <pez at cus.org.uk>
Date: Sat, 25 Sep 2004 15:18:24 +0100
Subject: Re: [mythtv-users] Compiling myth with DVB
To: cythraul <cythrault at gmail.com>, Discussion about mythtv
<mythtv-users at mythtv.org>

Hi cythraul,

Thanks very much for the suggestions.
I tried compiling with dvb-kernel but got the same errors plus the
following just before the first errors:

dvbchannel.cpp: In member function `void DVBChannel::PrintChannelOptions()':
dvbchannel.cpp:514: warning: enumeration value `FE_ATSC' not handled in switch
dvbchannel.cpp: In member function `void DVBChannel::CheckOptions()':
dvbchannel.cpp:593: warning: enumeration value `FE_ATSC' not handled in switch
dvbchannel.cpp: In member function `bool DVBChannel::ParseQuery(QSqlQuery&)':
dvbchannel.cpp:783: warning: enumeration value `FE_ATSC' not handled in switch
dvbchannel.cpp: In member function `bool
DVBChannel::Tune(dvb_channel_t&, bool)':
dvbchannel.cpp:1062: warning: enumeration value `FE_ATSC' not handled in switch
dvbchannel.cpp: In member function `bool
DVBChannel::GetChannelOptions(QString)':
dvbchannel.cpp:273: warning: enumeration value `FE_ATSC' not handled in switch

Any other ideas what could be wrong?

Incidentily, I do have the card running properly using the the actual
kernel modules

Cheers,
Mike.


cythraul wrote: 


Hi Mike, 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 2.6.8.1 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/
Good day, cythraul 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[2]: *** [dvbdiseqc.o] Error
1 make[2]: Leaving directory
`/usr/local/src/mythtv/mythtv/libs/libmythtv' ... I am using: kernel
2.6.8.1 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 Mike.
________________________________
 _______________________________________________ mythtv-users mailing
list mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


More information about the mythtv-users mailing list