Project

General

Profile

Actions

Bug #2243

closed

Compilierfehler für VDR 2.3.1

Added by Anonymous about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
09/28/2015
Due date:
% Done:

0%

Estimated time:

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
"


Related issues 1 (0 open1 closed)

Has duplicate VDR Streamdev Plugin - Bug #2249: does not compile with vdr-2.3.1Closed10/08/2015

Actions
Actions

Also available in: Atom PDF