Bug #2243
closedCompilierfehler für VDR 2.3.1
0%
Description
Hallo Klaus,
ich will ja keinen Zeitdruck für die noch junge Dev-Version machen, aber das Plugin will nicht mit VDR-2.3.1:
"[...]
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-client"' -I/usr/src/vdr/include -I/usr/src/vdr/include -I.. -o device.o device.c
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-client"' -I/usr/src/vdr/include -I/usr/src/vdr/include -I.. -o filter.o filter.c
filter.c: In member function ‘int cStreamdevFilters::OpenFilter(u_short, u_char, u_char)’:
filter.c:222:2: error: reference to ‘Lock’ is ambiguous
Lock();
^
In file included from /usr/src/vdr/include/vdr/tools.h:29:0,
from /usr/src/vdr/include/vdr/i18n.h:14,
from /usr/src/vdr/include/vdr/config.h:19,
from ../client/filter.h:8,
from filter.c:5:
/usr/src/vdr/include/vdr/thread.h:92:8: note: candidates are: void cThread::Lock()
void Lock(void) { mutex.Lock(); }
^
In file included from /usr/src/vdr/include/vdr/i18n.h:14:0,
from /usr/src/vdr/include/vdr/config.h:19,
from ../client/filter.h:8,
from filter.c:5:
/usr/src/vdr/include/vdr/tools.h:509:8: note: bool cListBase::Lock(cStateKey&, bool, int) const
bool Lock(cStateKey &StateKey, bool Write = false, int TimeoutMs = 0) const;
^
Makefile:34: recipe for target 'filter.o' failed
make2: * [filter.o] Error 1
Makefile:72: recipe for target 'client' failed
make1: * [client] Error 2
"
Updated by schmirl about 9 years ago
Client ist eingecheckt. Kann mit "make client; make install-client" separat kompiliert werden. Für den Server brauche ich noch eine Weile.
Updated by schmirl about 9 years ago
- Status changed from New to Closed
Duplikat von #2249. Schließe dieses Ticket, da das andere Ticket auf Englisch verfasst ist und somit mehr Leuten hilft.