Compile-Probleme mit Plugins unter vdr 1.5.17

  • Hallo !


    Folgende Plugins lassen sich unter vdr 1.5.17 und openSUSE 10.3/gcc 4.2.1


    nicht kompilieren:


    make[1]: Entering directory `/backup/privat/tv/dvb/vdr-1.5.17/PLUGINS/src/text2skin'
    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -O2 -g -c -DUSE_CMDSUBMENU -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUS
    E_DVLVIDPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_SORTRECORDS -DUSE_SYNCEARLY
    -DHAVE_IMAGEMAGICK -DHAVE_FREETYPE -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"text2skin"' -I../../../../DVB/include -I/usr/include/freetype2 -I../..
    /../include -I../../../../DVB/linux/include -I../../../../DVB/include -I. -o text2skin.o text2skin.c
    text2skin.c: In member function 'virtual bool cText2SkinPlugin::Start()':
    text2skin.c:28: error: invalid conversion from 'char*' to 'int'
    text2skin.c:28: error: initializing argument 1 of 'void cText2SkinStatus::SetLanguage(int)'
    make[1]: *** [text2skin.o] Error 1
    make[1]: Leaving directory `/backup/privat/tv/dvb/vdr-1.5.17/PLUGINS/src/text2skin'


    ake[1]: Entering directory `/backup/privat/tv/dvb/vdr-1.5.17/PLUGINS/src/softdevice'
    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -DHAVE_CONFIG -DUSE_CMDSUBMENU -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYIN
    REC -DUSE_DVLVIDPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_SORTRECORDS -DUSE_SY
    NCEARLY -D__STDC_CONSTANT_MACROS -DPLUGIN_NAME_I18N='"softdevice"' -D_GNU_SOURCE -DPLUGINLIBDIR='"./PLUGINS/lib"' -DSHM_SUPPORT -I../../../.
    ./DVB/include -I../../../include -I../../../../DVB/include -I/usr/local/include -I/usr/local/include/ffmpeg -I/usr/local/include/postproc
    VideoFilter.c
    VideoFilter.c: In member function 'virtual void cLibAvPostProc::Filter(sPicBuffer*&, sPicBuffer*)':
    VideoFilter.c:585: error: invalid conversion from 'const uint8_t**' to 'uint8_t**'
    VideoFilter.c:585: error: initializing argument 1 of 'void pp_postprocess(uint8_t**, int*, uint8_t**, int*, int, int, int8_t*, int, pp_mod
    e_t*, pp_context_t*, int)'
    make[1]: *** [VideoFilter.o] Error 1
    make[1]: Leaving directory `/backup/privat/tv/dvb/vdr-1.5.17/PLUGINS/src/softdevice'


    make[1]: Entering directory `/backup/privat/tv/dvb/vdr-1.5.17/PLUGINS/src/pvrusb2-0.1.1a'
    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -DUSE_CMDSUBMENU -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_DVLVI
    DPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_SORTRECORDS -DUSE_SYNCEARLY -D_GNU_
    SOURCE -DPLUGIN_NAME_I18N='"pvrusb2"' -I../../../../DVB/include -I../../../include -I../../../../DVB/include device.c
    device.c: In static member function 'static cChannel* cRMDevice::Pvr2VdrChannel(cRMChannel*)':
    device.c:515: error: no matching function for call to 'cChannel::SetPids(const int&, int, int [2], char [1][8], int [1], char [1][8], int)'
    ../../../include/vdr/channels.h:230: note: candidates are: void cChannel::SetPids(int, int, int*, char (*)[8], int*, char (*)[8], int*, char
    (*)[8], int)
    device.c: In static member function 'static void cRMDevice::Pvr2VdrChannel(cRMChannel*, cChannel*)':
    device.c:530: error: no matching function for call to 'cChannel::SetPids(const int&, int, int [2], char [1][8], int [1], char [1][8], int)'
    ../../../include/vdr/channels.h:230: note: candidates are: void cChannel::SetPids(int, int, int*, char (*)[8], int*, char (*)[8], int*, char
    (*)[8], int)
    make[1]: *** [device.o] Error 1
    make[1]: Leaving directory `/backup/privat/tv/dvb/vdr-1.5.17/PLUGINS/src/pvrusb2-0.1.1a'


    Plugin osdpip:
    make[1]: Entering directory `/backup/privat/tv/dvb/vdr-1.5.17/PLUGINS/src/osdpip-0.0.8'
    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -DUSE_CMDSUBMENU -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_DVLVI
    DPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_SORTRECORDS -DUSE_SYNCEARLY -DPLUGI
    N_NAME_I18N='"osdpip"' -D_GNU_SOURCE -I../../../include -I. -I../../../../ffmpeg-0.4.8/libavcodec -o osdpip.o osdpip.c
    osdpip.c: In member function 'virtual cOsdObject* cPluginOsdpip::MainMenuAction()':
    osdpip.c:92: error: no matching function for call to 'cDevice::GetDevice(const cChannel*&, int)'
    ../../../include/vdr/device.h:139: note: candidates are: static cDevice* cDevice::GetDevice(int)
    ../../../include/vdr/device.h:143: note: static cDevice* cDevice::GetDevice(const cChannel*, int, bool)
    make[1]: *** [osdpip.o] Error 1
    make[1]: Leaving directory `/backup/privat/tv/dvb/vdr-1.5.17/PLUGINS/src/osdpip-0.0.8'


    Plugin osdteletext:
    make[1]: Entering directory `/backup/privat/tv/dvb/vdr-1.5.17/PLUGINS/src/osdteletext-0.5.1'
    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -DUSE_CMDSUBMENU -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_DVLVI
    DPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_SORTRECORDS -DUSE_SYNCEARLY -DPLUGI
    N_NAME_I18N='"osdteletext"' -D_GNU_SOURCE -I../../../include txtrecv.c
    txtrecv.c: In constructor 'cTxtReceiver::cTxtReceiver(int, tChannelID)':
    txtrecv.c:705: error: no matching function for call to 'cReceiver::cReceiver(int, int, int&)'
    ../../../include/vdr/receiver.h:41: note: candidates are: cReceiver::cReceiver(tChannelID, int, int, const int*, const int*, const int*)
    ../../../include/vdr/receiver.h:17: note: cReceiver::cReceiver(const cReceiver&)
    make[1]: *** [txtrecv.o] Error 1
    make[1]: Leaving directory `/backup/privat/tv/dvb/vdr-1.5.17/PLUGINS/src/osdteletext-0.5.1'


    Plugin ffnetdev:
    make[1]: Entering directory `/backup/privat/tv/dvb/vdr-1.5.17/PLUGINS/src/ffnetdev'
    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -g -c -DUSE_CMDSUBMENU -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_DV
    LVIDPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_SORTRECORDS -DUSE_SYNCEARLY -D_G
    NU_SOURCE -DPLUGIN_NAME_I18N='"ffnetdev"' -DDEBUG -I../../../../DVB/include -I../../../include -I../../../../DVB/include -I. -o ffnetdev.o f
    fnetdev.c
    In file included from tsworker.h:15,
    from ffnetdev.c:14:
    remote.h:20: error: 'uint64' has not been declared
    In file included from tsworker.h:16,
    from ffnetdev.c:14:
    ../../../include/vdr/osd.h:415: warning: 'virtual cOsd* cOsdProvider::CreateOsd(int, int, uint)' was hidden
    netosd.h:34: warning: by 'virtual cOsd* cNetOSDProvider::CreateOsd(int, int)'
    make[1]: *** [ffnetdev.o] Error 1
    make[1]: Leaving directory `/backup/privat/tv/dvb/vdr-1.5.17/PLUGINS/src/ffnetdev'


    Von text2skin, softdevice und ffnetdev nutze ich die aktuellen CVS-Stände.


    Dirk

  • ffnetdev läßt sich inzwischen durch den Patch aus dem Thread problemlos


    kompilieren.


    Die cvs-Version von softdevice läßt sich nicht kompilieren:


    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -DHAVE_CONFIG -DUSE_CMDSUBMENU -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_DVLVIDPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_SORTRECORDS -DUSE_SYNCEARLY -D__STDC_CONSTANT_MACROS -DPLUGIN_NAME_I18N='"softdevice"' -D_GNU_SOURCE -DPLUGINLIBDIR='"./PLUGINS/lib"' -DSHM_SUPPORT -I../../../../DVB/include -I../../../include -I../../../../DVB/include -I/usr/local/include -I/usr/local/include/swscale -I/usr/local/include/ffmpeg -I/usr/local/include -I/usr/local/include/ffmpeg -I/usr/local/include/postproc setup-softlog-menu.c
    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -DHAVE_CONFIG -DUSE_CMDSUBMENU -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_DVLVIDPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_SORTRECORDS -DUSE_SYNCEARLY -D__STDC_CONSTANT_MACROS -DPLUGIN_NAME_I18N='"softdevice"' -D_GNU_SOURCE -DPLUGINLIBDIR='"./PLUGINS/lib"' -DSHM_SUPPORT -I../../../../DVB/include -I../../../include -I../../../../DVB/include -I/usr/local/include -I/usr/local/include/swscale -I/usr/local/include/ffmpeg -I/usr/local/include -I/usr/local/include/ffmpeg -I/usr/local/include/postproc sync-timer.c
    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -DHAVE_CONFIG -DUSE_CMDSUBMENU -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_DVLVIDPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_SORTRECORDS -DUSE_SYNCEARLY -D__STDC_CONSTANT_MACROS -DPLUGIN_NAME_I18N='"softdevice"' -D_GNU_SOURCE -DPLUGINLIBDIR='"./PLUGINS/lib"' -DSHM_SUPPORT -I../../../../DVB/include -I../../../include -I../../../../DVB/include -I/usr/local/include -I/usr/local/include/swscale -I/usr/local/include/ffmpeg -I/usr/local/include -I/usr/local/include/ffmpeg -I/usr/local/include/postproc SoftOsd.c
    SoftOsd.c: In destructor 'virtual cSoftOsd::~cSoftOsd()':
    SoftOsd.c:103: error: 'vidWin' was not declared in this scope
    SoftOsd.c: In member function 'virtual void cSoftOsd::Flush()':
    SoftOsd.c:297: error: 'vidWin' was not declared in this scope
    make[1]: *** [SoftOsd.o] Error 1
    make[1]: Leaving directory `/backup/privat/tv/dvb/vdr-1.5.17/PLUGINS/src/softdevice'


    Dirk

  • vermutlich hat sich das schon erledigt, aber fuer die suche:


    probier mal im softdevice-dir "./configure --disable-yaepg".


    Wenn du den Extensions-Patch angewendet hast, aber yaepg deaktiviert, dann erkennt das softdevice-configure das nicht korrekt.

    VDR: ASUS AT3ION-T, 2GB, Satix S2 Dual, 1TB 2.5", yavdr 0.4
    Server: Intel DH67CF, Pentium G620, 8GB, 2x1000GB 2.5" Raid1, WLAN, Ubuntu 12.04 @22W
    TV: Panasonic P50G30

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!