Compile Plugin dvbhddevice schlägt fehl

  • Hallo !



    Der Compile des Plugins dvbhddevice schlägt fehl:


    *** Plugin dvbhddevice:

    g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/backup/privat/tv/dvb/vdr-2.4.6/include -c -DPLUGIN_NAME_I18N='"dvbhddevice"' -I/backup/privat/tv/dvb/vdr-2.4.6/include -o dvbhdffdevice.o dvbhdffdevice.c

    dvbhdffdevice.c: In member function ‘virtual int64_t cDvbHdFfDevice::GetSTC()’:

    dvbhdffdevice.c:549:33: error: ‘AUDIO_GET_PTS’ was not declared in this scope

    if (ioctl(fd_audio, AUDIO_GET_PTS, &pts) == -1) {

    ^~~~~~~~~~~~~

    dvbhdffdevice.c:549:33: note: suggested alternative: ‘VIDEO_GET_PTS’

    if (ioctl(fd_audio, AUDIO_GET_PTS, &pts) == -1) {

    ^~~~~~~~~~~~~

    VIDEO_GET_PTS

    make[1]: *** [Makefile:64: dvbhdffdevice.o] Fehler 1



    Grüße,


    Dirk

  • Hi,



    Gruss

    Wolfgang

    TT S2-6400 - saa716x kompilieren unter 20.04(Focal)

  • Quote

    Im neuen Kernelverzeichnis (cd linux-5.11.xx):

    # make headers

    # [sudo] cp usr/include/linux/dvb/*.h /usr/include/linux/dvb/


    Dann VDR bauen....


    Danke Sören! ;)