Will gerade einen neuen VDR unter Debian 9 einrichten.
Leider übersetzen mit dem VDR 2.2 die beiden Plugins suspendoutput und iptv nicht mehr.
Code
*** Plugin iptv:
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DPLUGIN_NAME_I18N='"iptv"' -I/usr/src/VDR/vdr-2.2.0/include -o common.o common.c
In file included from common.c:9:0:
common.c: In function 'int select_single_desc(int, int, bool)':
common.h:39:34: error: unable to find string literal operator 'operator""errstr' with 'const char [14]', 'long unsigned int' arguments
esyslog("[%s,%d]: "errstr": %s", __FILE__, __LINE__, \
^
/usr/src/VDR/vdr-2.2.0/include/vdr/tools.h:34:76: note: in definition of macro 'esyslog'
#define esyslog(a...) void( (SysLogLevel > 0) ? syslog_with_tid(LOG_ERR, a) : void() )
^
common.h:47:40: note: in expansion of macro 'ERROR_IF_FUNC'
#define ERROR_IF_RET(exp, errstr, ret) ERROR_IF_FUNC(exp, errstr, ,ret);
^~~~~~~~~~~~~
common.c:61:3: note: in expansion of macro 'ERROR_IF_RET'
ERROR_IF_RET(retval < 0, "select()", return retval);
^~~~~~~~~~~~
Makefile:90: die Regel für Ziel „common.o" scheiterte
make[1]: *** [common.o] Fehler 1
Alles anzeigen
Code
*** Plugin suspendoutput:
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DPLUGIN_NAME_I18N='"suspendoutput"' -I/usr/src/VDR/vdr-2.2.0/include -o timer.o timer.c
In file included from timer.c:14:0:
timer.h:245:14: error: redeclaration of 'template<class TCLASS> cTimerEvent* CreateTimerEvent(TCLASS*, void (TCLASS::*)(), unsigned int, bool)' may not have default arguments [-fpermissive]
cTimerEvent *CreateTimerEvent(TCLASS *c, void (TCLASS::*fp)(void),
^~~~~~~~~~~~~~~~
timer.h:252:14: error: redeclaration of 'template<class TCLASS, class TARG1> cTimerEvent* CreateTimerEvent(TCLASS*, void (TCLASS::*)(TARG1), TARG1, unsigned int, bool)' may not have default arguments [-fpermissive]
cTimerEvent *CreateTimerEvent(TCLASS *c, void (TCLASS::*fp)(TARG1),
^~~~~~~~~~~~~~~~
Makefile:67: die Regel für Ziel „timer.o" scheiterte
make[1]: *** [timer.o] Fehler 1
Alles anzeigen
Zum IPTV Plugin hab ich noch folgendes gefunden:
https://linuxtv.org/pipermail/vdr/2016-May/029042.html
Gibt es für die beiden Plugins eine Lösung für die Problematik oder ein Patch ?
Vielen Dank und schönen Gruß
dile