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

"Martin Gansser" <[email protected]>
Newsgroups gmane.linux.vdr
Message-ID <trinity-790f60fa-f323-4909-92dd-8422c7e6fef6-1538122899842@3c-app-gmx-bs11>
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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Werror=overloaded-virtual -Wno-parentheses -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/builddir/build/BUILD/vdr-2.4.0/include -c -DPLUGIN_NAME_I18N='"dvbhddevice"'  -o dvbhdffdevice.o dvbhdffdevice.c
make: Leaving directory '/builddir/build/BUILD/vdr-2.4.0/PLUGINS/src/dvbhddevice'
dvbhdffdevice.c: In member function 'virtual int64_t cDvbHdFfDevice::GetSTC()':
dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope
             if (ioctl(fd_audio, AUDIO_GET_PTS, &pts) == -1) {
                                 ^~~~~~~~~~~~~
dvbhdffdevice.c:569:33: note: suggested alternative: 'VIDEO_GET_PTS'
             if (ioctl(fd_audio, AUDIO_GET_PTS, &pts) == -1) {
                                 ^~~~~~~~~~~~~
                                 VIDEO_GET_PTS
make: *** [Makefile:64: dvbhdffdevice.o] Error 1

[1] https://kojipkgs.fedoraproject.org//work/tasks/6531/29936531/build.log

thanks
Martin

_______________________________________________
vdr mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.