Hallo zusammen,
es gibt ein 'kleines' Problem beim Übersetzen von einigen Plugins
- Plugin ist in das PLUGIN/src-Verzeichnis entpackt
- Beim Aufruf von 'make all' kommt folgende Fehlermeldung
Quote
In file included from /usr/include/vdr/ci.h:15,
from /usr/include/vdr/device.h:13,
from /usr/include/vdr/config.h:20,
from /usr/include/vdr/osd.h:16,
from /usr/include/vdr/menuitems.h:13,
from /usr/include/vdr/plugin.h:14,
from statusleds.c:12:
/usr/include/vdr/thread.h:54: syntax error before `;'
/usr/include/vdr/thread.h: In method `void cRwLock::rdLock()':
/usr/include/vdr/thread.h:58: `rwlock' undeclared (first use this function)
/usr/include/vdr/thread.h:58: (Each undeclared identifier is reported only once
/usr/include/vdr/thread.h:58: for each function it appears in.)
/usr/include/vdr/thread.h:58: implicit declaration of function `int pthread_rwlock_rdlock(...)'
/usr/include/vdr/thread.h: In method `void cRwLock::rwLock()':
/usr/include/vdr/thread.h:59: implicit declaration of function `int pthread_rwlock_wrlock(...)'
/usr/include/vdr/thread.h: In method `void cRwLock::Unlock()':
/usr/include/vdr/thread.h:60: implicit declaration of function `int pthread_rwlock_unlock(...)'
statusleds.c: In method `cMenuSetupStatusLeds::cMenuSetupStatusLeds()':
statusleds.c:101: warning: field width is not type int (arg 3)
statusleds.c: In method `bool cPluginStatusLeds::ProcessArgs(int, char **)':
statusleds.c:253: warning: field width is not type int (arg 3)
statusleds.c:253: warning: format argument is not a pointer (arg 4)
statusleds.c:256: warning: field width is not type int (arg 3)
statusleds.c: In method `bool cPluginStatusLeds::SetupParse(const char *, const char *)':
statusleds.c:381: warning: field width is not type int (arg 3)
make: *** [statusleds.o] Fehler 1
Display More
- auf der Zeile 12 von statusleds.c steht '#include <vdr/plugin.h>'
- Andere Plugins z.B. Status benutzen ebenfalls diese Include-Datei und lassen sich aber erstellen
- VDR ist 1.2.6kp-a, alle *.h - Dateien sind in das Verzeichnis /usr/include/vdr kopiert
- der Fehler tritt z.b. auch bei dem Plugin 'lcdproc' auf
Was für Informationen sind noch notwendig?
Wo liegt eventl. der Fehler?
Auf reichlich Hilfe hoffend
Hardy