<div dir="ltr"><br><div class="gmail_quote">On Fri, Mar 6, 2009 at 4:52 PM, Klaus Schmidinger <span dir="ltr"><<a href="mailto:Klaus.Schmidinger@cadsoft.de">Klaus.Schmidinger@cadsoft.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On 06.03.2009 15:37, Alex Betis wrote:<br>
><br>
> On Fri, Mar 6, 2009 at 4:17 PM, Klaus Schmidinger<br>
</div><div class="im">> <<a href="mailto:Klaus.Schmidinger@cadsoft.de">Klaus.Schmidinger@cadsoft.de</a> <mailto:<a href="mailto:Klaus.Schmidinger@cadsoft.de">Klaus.Schmidinger@cadsoft.de</a>>> wrote:<br>
><br>
> On 03.03.2009 22:23, Gregoire Favre wrote:<br>
> > Hello,<br>
> ><br>
> > just tried compiling vdr-1.7.4 against my v4l-dvb hg's source which<br>
> > fails if I don't use this :<br>
> ><br>
> > --- vdr.c~ 2009-01-18 12:02:37.000000000 +0100<br>
> > +++ vdr.c 2009-03-03 22:17:49.000000000 +0100<br>
> > @@ -32,6 +32,7 @@<br>
> > #include <pwd.h><br>
> > #include <signal.h><br>
> > #include <stdlib.h><br>
> > +#include <linux/types.h><br>
> > #include <sys/capability.h><br>
> > #include <sys/prctl.h><br>
> > #include <termios.h><br>
><br>
> vdr.c compiles just fine here with the most recent version of<br>
> v4l-dvb from<br>
</div>> <a href="http://linuxtv.org" target="_blank">linuxtv.org</a> <<a href="http://linuxtv.org" target="_blank">http://linuxtv.org</a>> (6bd427caa0cb).<br>
<div class="im">><br>
> I did report a problem with the driver's header files, though, in<br>
><br>
> <a href="http://linuxtv.org/pipermail/linux-dvb/2009-March/031934.html" target="_blank">http://linuxtv.org/pipermail/linux-dvb/2009-March/031934.html</a><br>
><br>
> However, there has been no repsonse to that, and the problem still<br>
> persists with the current version.<br>
><br>
> Just curious: don't you have a problem compiling dvbdevice.c?<br>
><br>
> I've faced the same problem after upgrading kernel to 2.6.27.19<br>
><br>
> Found the solution on the net: add the following to VDR Makefile:<br>
> DEFINES += -D__KERNEL_STRICT_NAMES<br>
<br>
</div>Let's be careful to not mix up two different things here.<br>
There's apparently the problem Gregoire reported, which he solved by<br>
adding an #include, but which doesn't happen here (kernel 2.6.25.20).<br>
That one has nothing to do with the driver.<br>
<br>
@Gregoire: does this happen with plain vanilla VDR 1.7.4 or are there<br>
any patches involved?<br>
Can you compile dvbdevice.c with the latest driver header files?<br>
<br>
@Alex: are you referring to the problem Gregoire reported or to the<br>
one I reported?</blockquote><div>I refer to your problem with many redefinitions like the following:<br><br><pre>/usr/include/sys/select.h:78: error: conflicting declaration 'typedef struct fd_set fd_set'<br>/usr/include/linux/types.h:12: error: 'fd_set' has a previous declaration as 'typedef struct __kernel_fd_set fd_set'<br>
</pre><br>I probably missed Gregorie's error report, so I don't know what was it about.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div><div></div><div class="h5"><br>
Klaus<br>
<br>
_______________________________________________<br>
vdr mailing list<br>
<a href="mailto:vdr@linuxtv.org">vdr@linuxtv.org</a><br>
<a href="http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr" target="_blank">http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr</a><br>
</div></div></blockquote></div><br></div>