Hallo Zusammen,
ich versuche gerade epg2vdr auf dem PI2 zu bauen, leider aber bricht der Compiler beim Bauen von libhorchi mit folgendem Fehler ab:
Display Spoiler
Code
server03 epg2vdr-git # LC_MESSAGES=C make
g++ -MM -MG -ggdb -O0 -fPIC -Wreturn-type -Wall -Wno-parentheses -Wformat -pedantic -Wno-long-long -Wunused-variable -Wunused-label -Wno-unused-result -Wunused-value -Wunused-but-set-variable -Wunused-function -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Werror=overloaded-virtual -Wno-parentheses -g -O3 -Wall -g -ggdb -O0 -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fPIC -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DEPG2VDR_DATA_DIR='"/var/cache/vdr"' -DEPG2VDR -DLOG_PREFIX='"epg2vdr: "' -DVDR_PLUGIN -DUSEUUID -DUSEMD5 -DUSEJSON -DUSEGUNZIP -DPLUGIN_NAME_I18N='"epg2vdr"' -DGIT_REV='"8e4b2b2"' -I/usr/include/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 && make -s lib)
Compile common ...
Compile configuration ...
In file included from configuration.h:11:0,
from configuration.c:8:
thread.h:17:7: error: redefinition of ‘class cThread’
class cThread
^
In file included from /usr/include/vdr/tools.h:29:0,
from common.h:34,
from thread.h:11,
from configuration.h:11,
from configuration.c:8:
/usr/include/vdr/thread.h:77:7: error: previous definition of ‘class cThread’
class cThread {
^
In file included from configuration.h:11:0,
from configuration.c:8:
thread.h:54:7: error: redefinition of ‘class cCondWait’
class cCondWait
^
In file included from /usr/include/vdr/tools.h:29:0,
from common.h:34,
from thread.h:11,
from configuration.h:11,
from configuration.c:8:
/usr/include/vdr/thread.h:17:7: error: previous definition of ‘class cCondWait’
class cCondWait {
^
In file included from configuration.h:11:0,
from configuration.c:8:
thread.h:73:7: error: redefinition of ‘class cCondVar’
class cCondVar
^
In file included from /usr/include/vdr/tools.h:29:0,
from common.h:34,
from thread.h:11,
from configuration.h:11,
from configuration.c:8:
/usr/include/vdr/thread.h:42:7: error: previous definition of ‘class cCondVar’
class cCondVar {
^
configuration.c: In member function ‘virtual void cSystemNotification::action()’:
configuration.c:69:51: error: no matching function for call to ‘cCondVar::TimedWait(cMyMutex&, int)’
waitCondition.TimedWait(mutex, interval*1000);
^
configuration.c:69:51: note: candidate is:
In file included from /usr/include/vdr/tools.h:29:0,
from common.h:34,
from thread.h:11,
from configuration.h:11,
from configuration.c:8:
/usr/include/vdr/thread.h:49:8: note: bool cCondVar::TimedWait(cMutex&, int)
bool TimedWait(cMutex &Mutex, int TimeoutMs);
^
/usr/include/vdr/thread.h:49:8: note: no known conversion for argument 1 from ‘cMyMutex’ to ‘cMutex&’
Makefile:84: recipe for target 'configuration.o' failed
make[1]: *** [configuration.o] Error 1
Makefile:115: recipe for target 'hlib' failed
make: *** [hlib] Error 2
server03 epg2vdr-git #
Display More
Hat Jemand eine Idee, wie man das beheben kann?