Hallo zusammen,
ich habe ein Problem unter Ubuntu 20.04 auf einem Raspberry PI 4 VDR und eigentlich alle PLugins welche ich so haben möchte bekomme ich compilet. Leider scheitere ich derzeit an dem Streamdev-Server.
Es kommt relativ weit, aber scheitert dann hier:
Code
connectionVTP.c: In member function 'bool cConnectionVTP::CmdMOVC(const char*)':
connectionVTP.c:1885:38: error: invalid conversion from 'cChannel*' to 'int' [-fpermissive]
1885 | cDevice::SetCurrentChannel(CurrentChannel);
| ^~~~~~~~~~~~~~
| |
| cChannel*
In file included from /tmp/vdr/include/vdr/dvbdevice.h:15,
from /tmp/vdr/include/vdr/menuitems.h:14,
from /tmp/vdr/include/vdr/plugin.h:14,
from ../common.h:15,
from ../server/connection.h:9,
from ../server/connectionVTP.h:4,
from connectionVTP.c:5:
/tmp/vdr/include/vdr/device.h:366:37: note: initializing argument 1 of 'static void cDevice::SetCurrentChannel(int)'
366 | static void SetCurrentChannel(int ChannelNumber) { currentChannel = ChannelNumber; }
| ~~~~^~~~~~~~~~~~~
connectionVTP.c: In member function 'bool cConnectionVTP::CmdDELC(const char*)':
connectionVTP.c:1986:35: error: invalid conversion from 'cChannel*' to 'int' [-fpermissive]
1986 | cDevice::SetCurrentChannel(CurrentChannel);
| ^~~~~~~~~~~~~~
| |
| cChannel*
In file included from /tmp/vdr/include/vdr/dvbdevice.h:15,
from /tmp/vdr/include/vdr/menuitems.h:14,
from /tmp/vdr/include/vdr/plugin.h:14,
from ../common.h:15,
from ../server/connection.h:9,
from ../server/connectionVTP.h:4,
from connectionVTP.c:5:
/tmp/vdr/include/vdr/device.h:366:37: note: initializing argument 1 of 'static void cDevice::SetCurrentChannel(int)'
366 | static void SetCurrentChannel(int ChannelNumber) { currentChannel = ChannelNumber; }
| ~~~~^~~~~~~~~~~~~
make[2]: *** [Makefile:39: connectionVTP.o] Error 1
make[1]: *** [Makefile:79: server] Error 2
Alles anzeigen
Code
# cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.3 LTS"
VERSION_ID="20.04"
Paket lade ich so:
Weiß zufällig jemand was ich falsch mache? Übersehe ich mal wieder etwas total offensichtliches?
Danke und Grüße
Chris