Project

General

Profile

Actions

Bug #2249

closed

does not compile with vdr-2.3.1

Added by Jarod over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Server (general)
Target version:
-
Start date:
10/08/2015
Due date:
% Done:

100%

Estimated time:

Description

Hi,

while trying to compile the streamdev plugin under Debian Jessie with vdr-2.3.1 on my RPI2 I got the following error message.

g++ -g -O0 -Wall -Werror=overloaded-virtual -Wno-parentheses -ggdb3 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/local/src/vdr-2.3.1-eepg/include -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-server"' -I/usr/local/src/vdr-2.3.1-eepg/include -I/usr/local/src/vdr-2.3.1-eepg/include -I.. -o connection.o connection.c
connection.c: In static member function ‘static const cChannel* cServerConnection::ChannelFromString(const char*, int*, int*)’:
connection.c:49:28: error: ‘Channels’ was not declared in this scope
if (temp >= 1 && temp <= Channels.MaxNumber())
^
connection.c:52:13: error: ‘Channels’ was not declared in this scope
channel = Channels.GetByChannelID(tChannelID::FromString(string));
^
streamdev-server.c: In member function ‘virtual void cPluginStreamdevServer::MainThreadHook()’:
streamdev-server.c:167:49: error: invalid conversion from ‘const cMainThreadHookSubscriber*’ to ‘cMainThreadHookSubscriber*’ [-fpermissive]
for (cMainThreadHookSubscriber *s = subs.First(); s; s = subs.Next(s))
^
streamdev-server.c:167:70: error: invalid conversion from ‘const cMainThreadHookSubscriber*’ to ‘cMainThreadHookSubscriber*’ [-fpermissive]
for (cMainThreadHookSubscriber *s = subs.First(); s; s = subs.Next(s))
^
streamdev-server.c: In member function ‘virtual cString cPluginStreamdevServer::SVDRPCommand(const char*, const char*, int&)’:
streamdev-server.c:203:40: error: invalid conversion from ‘const cServerConnection*’ to ‘cServerConnection*’ [-fpermissive]
cServerConnection *s = clients.First();
^
streamdev-server.c:210:32: error: invalid conversion from ‘const cServerConnection*’ to ‘cServerConnection*’ [-fpermissive]
for (; s; s = clients.Next(s))
^
streamdev-server.c:227:41: error: invalid conversion from ‘const cServerConnection*’ to ‘cServerConnection*’ [-fpermissive]
cServerConnection *s = clients.First();
^
streamdev-server.c:228:47: error: invalid conversion from ‘const cServerConnection*’ to ‘cServerConnection*’ [-fpermissive]
for (; s && s != client; s = clients.Next(s));
^
Makefile:39: recipe for target 'connection.o' failed
make[2]: *** [connection.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:39: recipe for target 'streamdev-server.o' failed
make[2]: *** [streamdev-server.o] Error 1
Makefile:76: recipe for target 'server' failed
make[1]: *** [server] Error 2

btw:
g++ version is:(Raspbian 4.9.2-10) 4.9.2


Related issues 1 (0 open1 closed)

Is duplicate of VDR Streamdev Plugin - Bug #2243: Compilierfehler für VDR 2.3.1Closed09/28/2015

Actions
Actions

Also available in: Atom PDF