Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-10-10 Thread Martin Gansser
Thanks for you help Martin  Gesendet: Mittwoch, 10. Oktober 2018 um 11:50 Uhr Von: "Klaus Schmidinger" An: vdr@linuxtv.org Betreff: Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope On 10/10/18 11:46 AM, Martin Gansser wrote: > I have contacted Andreas. > >

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-10-10 Thread Klaus Schmidinger
On 10/10/18 11:46 AM, Martin Gansser wrote: I have contacted Andreas. On advice of Andreas, I have defined the IOCTL myself in the file dvbhdffdevice.h this is the Patch: define_AUDIO_GET_PTS.patch with this patch i get this warnings: [2] ---

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-10-09 Thread Martin Gansser
Hi Klaus, I will contact him. Many Thank Martin Gesendet: Dienstag, 09. Oktober 2018 um 11:31 Uhr Von: "Klaus Schmidinger" An: vdr@linuxtv.org Betreff: Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope On 10/9/18 10:27 AM, Martin Gansser wrote: > Hello

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-10-09 Thread Klaus Schmidinger
On 10/9/18 10:27 AM, Martin Gansser wrote: Hello Klaus, will you provide a kernel> = 4.8 patch or will I need to contact the kernel developer for this? Hello Martin, please contact Andreas Regel about this. He maintains the dvbhddevice plugin. Greetings Klaus

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-10-09 Thread Jasmin Jessich
Hello Martin! The Kernel maintainers removed it on purpose and in my opinion this was correct. So asking the maintainers is useless at all. BR, Jasmin Am 9. Oktober 2018 10:37:44 MESZ schrieb fnu : >Martin, > >just in case you missed it, that is obviously an issue of >vdr-plugin-dvbhddevice

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-10-09 Thread fnu
Martin, just in case you missed it, that is obviously an issue of vdr-plugin-dvbhddevice and not core VDR, maintained by Klaus ... Cheers Frank -Ursprüngliche Nachricht- Von: vdr Im Auftrag von Martin Gansser Gesendet: Dienstag, 9. Oktober 2018 10:27 An: vdr@linuxtv.org Betreff: Re:

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-10-09 Thread Martin Gansser
Hello Klaus, will you provide a kernel> = 4.8 patch or will I need to contact the kernel developer for this? Martin Gesendet: Sonntag, 30. September 2018 um 11:36 Uhr Von: "Klaus Schmidinger" An: vdr@linuxtv.org Betreff: Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-09-30 Thread Jasmin J.
Hello! > Any idea why it was necessary to break these things? No, I just used Google to find it. > BTW: I always thought that Linux kernel policy is not to allow userspace > applications to break. Apparently this is no longer the case :-(. In general Kernel APIs do not change, but sometimes this

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-09-30 Thread Klaus Schmidinger
On 9/28/18 8:05 PM, Jasmin J. wrote: Hi! This is obsolete since Kernel 4.8: https://www.kernel.org/doc/html/v4.8/media/uapi/dvb/audio-get-pts.html So VDR would already have needed to be changed quite some time ago. I guess it is time to do it now. BTW: I always thought that Linux kernel

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-09-28 Thread Klaus Schmidinger
On 9/28/18 8:05 PM, Jasmin J. wrote: Hi! This is obsolete since Kernel 4.8: https://www.kernel.org/doc/html/v4.8/media/uapi/dvb/audio-get-pts.html Any idea why it was necessary to break these things? So VDR would already have needed to be changed quite some time ago. I guess it is time

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-09-28 Thread Jasmin J.
Hi! This is obsolete since Kernel 4.8: https://www.kernel.org/doc/html/v4.8/media/uapi/dvb/audio-get-pts.html So VDR would already have needed to be changed quite some time ago. I guess it is time to do it now. In this particular case I would also suggest to create a patch for VDR 2.4.0, so

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-09-28 Thread Alexander Grothe
He tried to remove AUDIO_GET_PTS in 2011: https://github.com/torvalds/linux/commit/fa24198897ff0e8d34876be0e61f9b35d3c0d467 and had to revert it: https://github.com/torvalds/linux/commit/7a2b66b1bd26d717763985bad401410665fa0672 Alexander Am 28.09.2018 um 14:53 schrieb Klaus Schmidinger: On

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-09-28 Thread Klaus Schmidinger
On 9/28/18 12:02 PM, Alexander Grothe wrote: It seems this definition has been removed upstream, because it was considered to be "unused": https://github.com/torvalds/linux/commit/d21c249b26311dd193b100e65fc9e7ae96233d40#diff-56193b27b16cac28881a16f295c6ff3cL133 Signed-off-by: Mauro Carvalho

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-09-28 Thread Martin Gansser
I have opened a fedora ticket [1] https://bugzilla.redhat.com/show_bug.cgi?id=1633979 thanks Martin   Gesendet: Freitag, 28. September 2018 um 12:02 Uhr Von: "Alexander Grothe" An: "VDR Mailing List" Betreff: Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-09-28 Thread Alexander Grothe
It seems this definition has been removed upstream, because it was considered to be "unused": https://github.com/torvalds/linux/commit/d21c249b26311dd193b100e65fc9e7ae96233d40#diff-56193b27b16cac28881a16f295c6ff3cL133 Am Fr., 28. Sep. 2018 um 11:22 Uhr schrieb Klaus Schmidinger <

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-09-28 Thread Klaus Schmidinger
On 9/28/18 11:04 AM, Martin Gansser wrote: ok, the Fedora30 package [1] kernel-headers-4.19.0-0.rc5.git2.1.fc30.x86_64.rpm contains the file /usr/include/linux/dvb/audio.h, but definition #define AUDIO_GET_PTS _IOR('o', 19, __u64) fehlt. [1]

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-09-28 Thread Martin Gansser
ok, the Fedora30 package [1] kernel-headers-4.19.0-0.rc5.git2.1.fc30.x86_64.rpm contains the file /usr/include/linux/dvb/audio.h, but definition #define AUDIO_GET_PTS _IOR('o', 19, __u64) fehlt. [1]

Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-09-28 Thread Klaus Schmidinger
On 9/28/18 10:21 AM, Martin Gansser wrote: ... dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope if (ioctl(fd_audio, AUDIO_GET_PTS, ) == -1) { ^ dvbhdffdevice.c:569:33: note: suggested alternative:

[vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

2018-09-28 Thread Martin Gansser
Hi, i am trying to compile vdr-2.4.0 for Fedora 30 on the Fedora rpm build server, but this fails with the following error message [1]: g++ -O3 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches