Hi Leute !
Ich hab mal wieder ein Problem:
Ich wollte gerade das Calendar-Plugin auf meiner mit dem Komplettpatch versehenen 1.2.5 installieren. Beim Kompilieren kommt folgender Fehler:
Code
linux:/usr/local/src/vdr-1.2.5 # make plugins
make[1]: Entering directory `/usr/local/src/vdr-1.2.5/PLUGINS/src/calendar-0.1.1'
g++ -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"calendar"' -I../../../include -I../../../../DVB/include calendar.c
In file included from ../../../include/vdr/ci.h:15,
from ../../../include/vdr/device.h:13,
from ../../../include/vdr/config.h:20,
from ../../../include/vdr/osd.h:16,
from ../../../include/vdr/menuitems.h:13,
from ../../../include/vdr/plugin.h:14,
from calendar.c:10:
../../../include/vdr/thread.h:54: syntax error before `;'
../../../include/vdr/thread.h: In method `void cRwLock::rdLock()':
../../../include/vdr/thread.h:58: `rwlock' undeclared (first use this function)
../../../include/vdr/thread.h:58: (Each undeclared identifier is reported only once
../../../include/vdr/thread.h:58: for each function it appears in.)
../../../include/vdr/thread.h:58: implicit declaration of function `int pthread_rwlock_rdlock(...)'
../../../include/vdr/thread.h: In method `void cRwLock::rwLock()':
../../../include/vdr/thread.h:59: implicit declaration of function `int pthread_rwlock_wrlock(...)'
../../../include/vdr/thread.h: In method `void cRwLock::Unlock()':
../../../include/vdr/thread.h:60: implicit declaration of function `int pthread_rwlock_unlock(...)'
make[1]: *** [calendar.o] Error 1
make[1]: Leaving directory `/usr/local/src/vdr-1.2.5/PLUGINS/src/calendar-0.1.1'
Alles anzeigen
Was jetzt ?