Re: [vdr] Compilation issues with recent DVB header files vs libc6
Tobi wrote: 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. The patches have been applied for 2.6.30. -- 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
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? Regadrs, Matthias ___ 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
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
Re: [vdr] Compilation issues with recent DVB header files vs libc6
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
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
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
Re: [vdr] Compilation issues with recent DVB header files vs libc6
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 sys/* includes appear before the linux DVB header includes linux/*. 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 asm/types.h +#include linux/types.h 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
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
Tony Houghton wrote: I used -D__KERNEL_STRICT_NAMES but compilation then failed on the use of __u8 in linux/frontend.h. ISTR reading that might only be a problem for 64-bit. I didn't had this problem. VDR 1.6.0 and 1.7.4 compile fine with 2.6.29 and GCC 4.3 on x86_64. It works also with the latest drivers from Igors repository. 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
On 04/08/09 01:21, 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 sys/* includes appear before the linux DVB header includes linux/*. 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 asm/types.h +#include linux/types.h 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? My 2ct: - An application should not need to use -D__KERNEL_STRICT_NAMES. - Any header file that requires other header files to be included should do so by itself. - The sequence in which header files are included should not matter. I normally list them alphabetically, to easily find a particular one. I currently solve the broken DVB driver header files by replacing them with the ones from an earlier driver version, where they still worked. I had posted this problem on the linux-dvb ML a while ago, but apparently nobody cared... 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
Hi, is the linux-dvb ML still alive? maybe http://vger.kernel.org/vger-lists.html#linux-media is read more frequently Regards, Matthias 2009/4/8 Klaus Schmidinger klaus.schmidin...@cadsoft.de: On 04/08/09 01:21, 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 sys/* includes appear before the linux DVB header includes linux/*. 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 asm/types.h +#include linux/types.h 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? My 2ct: - An application should not need to use -D__KERNEL_STRICT_NAMES. - Any header file that requires other header files to be included should do so by itself. - The sequence in which header files are included should not matter. I normally list them alphabetically, to easily find a particular one. I currently solve the broken DVB driver header files by replacing them with the ones from an earlier driver version, where they still worked. I had posted this problem on the linux-dvb ML a while ago, but apparently nobody cared... Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr ___ 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
Op Wo, 8 april, 2009 15:04, schreef Klaus Schmidinger: On 04/08/09 15:00, Matthias Becker wrote: Hi, is the linux-dvb ML still alive? maybe http://vger.kernel.org/vger-lists.html#linux-media is read more frequently That one has way too much non DVB related traffic for me. Klaus According to my information (a message on the linux-dvb mailinglist), the old mailinglists (V4L and DVB) are now merged into linux-media. The V4L/DVB mailinglist are infact not used any more for patches (and a global statement was made to send those patches to the linux-media mailinglist) and I haven't seen any of the developers being active on it for some time. Full information was made in early January I believe. More information is available on the Linuxtv.org frontpage [1]. Regards, Niels Wagenaar [1] http://www.linuxtv.org/news.php?entry=2009-01-06.mchehab ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr