<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi cythraul,<br>
<br>
Thanks very much for the suggestions.<br>
I tried compiling with dvb-kernel but got the same errors plus the
following just before the first errors:<br>
<br>
dvbchannel.cpp: In member function `void
DVBChannel::PrintChannelOptions()':<br>
dvbchannel.cpp:514: warning: enumeration value `FE_ATSC' not handled in
switch<br>
dvbchannel.cpp: In member function `void DVBChannel::CheckOptions()':<br>
dvbchannel.cpp:593: warning: enumeration value `FE_ATSC' not handled in
switch<br>
dvbchannel.cpp: In member function `bool
DVBChannel::ParseQuery(QSqlQuery&amp;)':<br>
dvbchannel.cpp:783: warning: enumeration value `FE_ATSC' not handled in
switch<br>
dvbchannel.cpp: In member function `bool
DVBChannel::Tune(dvb_channel_t&amp;, bool)':<br>
dvbchannel.cpp:1062: warning: enumeration value `FE_ATSC' not handled
in switch<br>
dvbchannel.cpp: In member function `bool
DVBChannel::GetChannelOptions(QString)':<br>
dvbchannel.cpp:273: warning: enumeration value `FE_ATSC' not handled in
switch<br>
<br>
Any other ideas what could be wrong?<br>
<br>
Incidentily, I do have the card running properly using the the actual
kernel modules<br>
<br>
Cheers,<br>
Mike.<br>
<br>
<br>
cythraul wrote:
<blockquote cite="midac7c89f504092416572d31d1ad@mail.gmail.com"
 type="cite">
  <pre wrap="">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@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 <a class="moz-txt-link-freetext" href="http://www.dvbn.happysat.org/">http://www.dvbn.happysat.org/</a>

Good day,
cythraul

On Sat, 25 Sep 2004 00:04:13 +0100, Mike Perry <a class="moz-txt-link-rfc2396E" href="mailto:pez@cus.org.uk">&lt;pez@cus.org.uk&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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&amp;, bool, bool&amp;)':
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.
    </pre>
    <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
    </pre>
  </blockquote>
</blockquote>
<br>
</body>
</html>