Re: [vdr] Compilation issues with recent DVB header files vs libc6

2009-04-09 Thread Tobi
Anssi Hannula wrote:

> The kernel headers should be fixed to use strict types (patches
> available). See my earlier reply on the issue:
> http://linuxtv.org/pipermail/vdr/2009-March/019783.html

You're right. Thanks for the pointer! I've seen this weeks ago and thought
 it would have already made it into 2.6.29.

I've applied the patch from Arnd Bergmann's core/header-fixes branch to
2.6.29.1 which seems to work fine.

Let's hope this gets fixed in 2.6.29.x or 2.6.30.

Tobias

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Compilation issues with recent DVB header files vs libc6

2009-04-09 Thread Anssi Hannula
Tobi wrote:
> Hi!
> 
> Recent DVB driver releases (now in Kernel 2.6.29) cause trouble compiling
> VDR (see snippet A below).
> 
> The common solution to this seems to be to add a "-D__KERNEL_STRICT_NAMES".
> 
> It felt wrong somehow and I didn't liked this, so I tried another
> solution, which is to have any libc6  includes appear before the
> linux DVB header includes . Doing this only in dvbdevice.c seems
> to do the trick for VDR (see snippet B). I works for VDR 1.6.0 as well as
> VDR 1.7.4.
> 
> I think the root of this problem is caused by the Kernel headers / DVB
> drivers changing from asm/types.h to linux/types.h:
> 
> -#include 
> +#include 
> 
> How should this problem ideally be fixed? Is my solution (snippet B)
> better than using -D__KERNEL_STRICT_NAMES or should the kernel / DVB
> driver developers be blamed for this?

The kernel headers should be fixed to use strict types (patches
available). See my earlier reply on the issue:
http://linuxtv.org/pipermail/vdr/2009-March/019783.html

-- 
Anssi Hannula

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Compilation issues with recent DVB header files vs libc6

2009-04-09 Thread Tobi
Tobi wrote:

> I've forwarded the header issue to linux-media. If there will be any
> answers / comments about it, I'll keep you informed.
> 
> http://www.mail-archive.com/linux-me...@vger.kernel.org/msg04232.html

Seems this is more of a general issue. As I digged a little bit deeper, I
saw, that the root of all evil is a clash between glibc's stdint.h and
linux/types.h (the latter defines some POSIX types defined in stdint.h as
well, which wasn't the case for asm/types.h).

I'm not sure yet, if this is a glibc or a kernel issue, but I'll file a
bug report as soon as I know.

As for the problem Reinhard Nissl reported for the missing 'uint16_t' in
linux/dvb/audio.h - I can't reproduce this problem. Not with 2.6.29 and
not with the latest driver from http://linuxtv.org/hg/v4l-dvb.

Tobias

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] only get DVB-related messages from linux-media (was: Re: Compilation issues with recent DVB header files vs libc6)

2009-04-09 Thread Paul Menzel
Am Donnerstag, den 09.04.2009, 09:35 +0200 schrieb Klaus Schmidinger:
> On 04/09/09 09:25, Niels Wagenaar wrote:
> > Op Do, 9 april, 2009 08:29, schreef Matthias Becker:
> >>> According to my information (a message on the linux-dvb mailinglist),
> >>> the
> >>> old mailinglists (V4L and DVB) are now merged into linux-media.
> >> what does "merged" mean? Are Posts on the "old" list
> >> replicated to the new one?
> >>
> > 
> > No. Merge as in combined to one and/or a replacement for the old V4L/DVB
> > mailinglists. Messages send to the 'old' mailinglists will not automaticly
> > be available on the linux-media mailinglist. That is, if you don't count a
> > CC as a replication method ;-)
> 
> Well, so what is the preferred method of making the DVB driver developers
> aware of bugs, if one doesn't want to suffer from all the traffic on the
> linux-media list?
> 
> I did initially subscribe to that list, but after a few days I unsubscribed
> again, because there was way too much non DVB related stuff there.

I conclude your current situation is, that right now you do not get any
dvd-related messages, since you are not subscribed.

I propose, that you subscribe, and do one of the following.

• Either configure your list options to not receive any messages. That
way you can send messages to report bugs and maybe ask to CC you.

• Or set up a filter in your mail program to delete all messages from
this list except they have [DVB] or so in the subject line and make sure
the subject of your messages contains this word.

[…]


Thanks,

Paul


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Compilation issues with recent DVB header files vs libc6

2009-04-09 Thread Tobi
Klaus Schmidinger wrote:

> Well, so what is the preferred method of making the DVB driver developers
> aware of bugs, if one doesn't want to suffer from all the traffic on the
> linux-media list?

I've forwarded the header issue to linux-media. If there will be any
answers / comments about it, I'll keep you informed.

http://www.mail-archive.com/linux-me...@vger.kernel.org/msg04232.html

Tobias

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Compilation issues with recent DVB header files vs libc6

2009-04-09 Thread Klaus Schmidinger
On 04/09/09 09:25, Niels Wagenaar wrote:
> Op Do, 9 april, 2009 08:29, schreef Matthias Becker:
>>> According to my information (a message on the linux-dvb mailinglist),
>>> the
>>> old mailinglists (V4L and DVB) are now merged into linux-media.
>> what does "merged" mean? Are Posts on the "old" list
>> replicated to the new one?
>>
> 
> No. Merge as in combined to one and/or a replacement for the old V4L/DVB
> mailinglists. Messages send to the 'old' mailinglists will not automaticly
> be available on the linux-media mailinglist. That is, if you don't count a
> CC as a replication method ;-)

Well, so what is the preferred method of making the DVB driver developers
aware of bugs, if one doesn't want to suffer from all the traffic on the
linux-media list?

I did initially subscribe to that list, but after a few days I unsubscribed
again, because there was way too much non DVB related stuff there.

As for VDR, I'll probably just add a note to the INSTALL file, saying
that the DVB driver header files are broken and should be patched or
replaced with an older version.

Klaus

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Compilation issues with recent DVB header files vs libc6

2009-04-09 Thread Niels Wagenaar
Op Do, 9 april, 2009 08:29, schreef Matthias Becker:
>> According to my information (a message on the linux-dvb mailinglist),
>> the
>> old mailinglists (V4L and DVB) are now merged into linux-media.
>
> what does "merged" mean? Are Posts on the "old" list
> replicated to the new one?
>

No. Merge as in combined to one and/or a replacement for the old V4L/DVB
mailinglists. Messages send to the 'old' mailinglists will not automaticly
be available on the linux-media mailinglist. That is, if you don't count a
CC as a replication method ;-)

> Regadrs,
> Matthias
>

Regards,

Niels Wagenaar


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr