Actions
Bug #2555
closedvdr-epg2vdr-1.1.90: common.h:421:1: error: expected class-name before '{' token
Start date:
02/25/2018
Due date:
% Done:
0%
Estimated time:
Description
Hallo,
die Version 1.1.90 lässt sich bei mir nicht kompilieren, ich bekomme folgende Fehlermeldungen:
uffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -Werror=overloaded-virtual -Wno-parentheses -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STL_CONFIG_H -DEPG2VDR_DATA_DIR='"/var/cache/vdr"' -DEPG2VDR -DLOG_PREFIX='"epg2vdr: "' -DVDR_PLUGIN -DUSEUUID -DUSEMD5 -DUSEJSON -DUSEGUNZIP -DPLUGIN_NAME_I18N='"epg2vdr"' -DGIT_REV='""' -I/usr/include/mysql -I/usr/include/mysql/mysql epg2vdr.c service.c update.c plgconfig.c parameters.c timer.c recording.c recinfofile.c status.c ttools.c svdrpclient.c menu.c menusched.c menutimers.c menudone.c menusearchtimer.c > .dependencies (cd lib && /usr/bin/make -s lib) Compile common ... In file included from common.c:33:0: common.h:421:1: error: expected class-name before '{' token { ^ common.h:438:7: error: 'cCondVar' does not name a type cCondVar waitCondition; ^~~~~~~~ common.c: In constructor 'cTimerThread::cTimerThread(cTimerThread::sendEventFct, int, time_t, void*, bool)': common.c:1937:4: error: 'Start' was not declared in this scope Start(); ^~~~~ common.c:1937:4: note: suggested alternative: 'stat' Start(); ^~~~~ stat common.c: In member function 'virtual void cTimerThread::Action()': common.c:1946:4: error: 'cMutex' was not declared in this scope cMutex mutex; ^~~~~~ common.c:1946:4: note: suggested alternative: 'cMyMutex' cMutex mutex; ^~~~~~ cMyMutex common.c:1950:4: error: 'mutex' was not declared in this scope mutex.Lock(); ^~~~~ common.c:1953:32: error: 'Running' was not declared in this scope while (time(0) < theTime && Running() && active) ^~~~~~~ common.c:1953:32: note: suggested alternative: 'unlink' while (time(0) < theTime && Running() && active) ^~~~~~~ unlink common.c:1957:7: error: 'waitCondition' was not declared in this scope waitCondition.TimedWait(mutex, (theTime - time(0)) * 1000); ^~~~~~~~~~~~~ make[1]: *** [Makefile:86: common.o] Error 1 make: *** [Makefile:117: hlib] Error 2
Updated by horchi over 6 years ago
schau mal bitte ob es hiermit geht:
Mist die + verschwinden hier beim patch :o
diff --git a/lib/common.h b/lib/common.h index 3d0aa95..1cd57e0 100644 --- a/lib/common.h +++ b/lib/common.h @@ -20,7 +20,6 @@ #ifdef USESYSD # include <systemd/sd-daemon.h> #endif - #ifdef USEMD5 # include <openssl/md5.h> // MD5_* #endif @@ -417,6 +416,10 @@ class LogDuration // Timer Thread //*************************************************************************** +#ifdef VDR_PLUGIN +# include <vdr/thread.h> +#endif + class cTimerThread : public cThread { public:
ah jetzt ...!
Actions