Ich habe ein Problem beim Kompilieren des Plugins. Mein System ist ein aktuelles Centos 7, VDR-2.4.4. Die Build-Umgebung wird mit "scl enable devtoolset-8 bash" hergestellt. Die folgende Fehlermeldung erscheint nach Eingabe von make.
root@xyz vdr-plugin-osd2web]# make
(cd lib && make -s lib)
g++ -c -pthread -fPIC -std=c++17 -Wall -Wreturn-type -Wformat -pedantic -Wunused-variable -Wunused-label -Wunused-value -Wunused-function -Wno-long-long -Wno-unused-parameter -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -ggdb -O0 -Wunused-but-set-variable -Wunused-but-set-parameter -D__STL_CONFIG_H -DOSD2WEB -DLOG_PREFIX='"osd2web: "' -DVDR_PLUGIN -DUSEJSON -DUSEGUNZIP -DPLUGIN_NAME_I18N='"osd2web"' -DGIT_REV='"25309c0"' -o websock.o websock.c
websock.c: In static member function ‘static int cWebSock::callbackHttp(lws*, lws_callback_reasons, void*, void*, size_t)’:
websock.c:356:12: error: ‘LWS_CALLBACK_HTTP_CONFIRM_UPGRADE’ was not declared in this scope
case LWS_CALLBACK_HTTP_CONFIRM_UPGRADE:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
websock.c:356:12: note: suggested alternative: ‘LWS_CALLBACK_VHOST_CERT_UPDATE’
case LWS_CALLBACK_HTTP_CONFIRM_UPGRADE:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LWS_CALLBACK_VHOST_CERT_UPDATE
make: *** [Makefile:91: websock.o] Fehler 1
Leider habe ich diesbezüglich nur ein begrenztes Wissen und hoffe auf Hilfe.
VG Bernd