Hallo,wünsche euch allen ein "Gutes neues Jahr"!
Wollte vdr-plugin-mp3 unter VDR-2.7.3 bauen,bricht mit Fehler ab.
Quelle "vdr-projects" https://github.com/vdr-projects/vdr-plugin-mp3
Code
make[2]: Entering directory '/<<PKGBUILDDIR>>'
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_GNU_SOURCE -DAPIVERSNUM=20703 -DHAVE_SNDFILE -DHAVE_VORBISFILE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/vdr/include mp3.c
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_GNU_SOURCE -DAPIVERSNUM=20703 -DHAVE_SNDFILE -DHAVE_VORBISFILE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/vdr/include data.c
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_GNU_SOURCE -DAPIVERSNUM=20703 -DHAVE_SNDFILE -DHAVE_VORBISFILE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/vdr/include menu.c
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_GNU_SOURCE -DAPIVERSNUM=20703 -DHAVE_SNDFILE -DHAVE_VORBISFILE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/vdr/include data-mp3.c
mp3.c: In static member function ‘static bool cMP3Control::SetPlayList(cPlayList*)’:
mp3.c:284:39: error: no matching function for call to ‘cMP3Control::Control()’
284 | cControl *control=cControl::Control();
| ^
In file included from /usr/include/vdr/status.h:15,
from mp3.c:30:
/usr/include/vdr/player.h:129:20: note: candidate: ‘static cControl* cControl::Control(cMutexLock&, bool)’
129 | static cControl *Control(cMutexLock &MutexLock, bool Hidden = false);
| ^~~~~~~
/usr/include/vdr/player.h:129:20: note: candidate expects 2 arguments, 0 provided
mp3.c: In member function ‘virtual eOSState cMP3Control::ProcessKey(eKeys)’:
mp3.c:672:5: warning: case value ‘32769’ not in enumerated type ‘eKeys’ [-Wswitch]
672 | case kDown|k_Repeat:
| ^~~~
mp3.c:679:5: warning: case value ‘32773’ not in enumerated type ‘eKeys’ [-Wswitch]
679 | case kLeft|k_Repeat:
| ^~~~
mp3.c:690:5: warning: case value ‘32774’ not in enumerated type ‘eKeys’ [-Wswitch]
690 | case kRight|k_Repeat:
| ^~~~
mp3.c:697:5: warning: case value ‘32795’ not in enumerated type ‘eKeys’ [-Wswitch]
697 | case kFastFwd|k_Repeat:
| ^~~~
mp3.c:686:5: warning: case value ‘32796’ not in enumerated type ‘eKeys’ [-Wswitch]
686 | case kFastRew|k_Repeat:
| ^~~~
mp3.c:668:5: warning: case value ‘32797’ not in enumerated type ‘eKeys’ [-Wswitch]
668 | case kNext|k_Repeat:
| ^~~~
mp3.c:674:5: warning: case value ‘32798’ not in enumerated type ‘eKeys’ [-Wswitch]
674 | case kPrev|k_Repeat:
| ^~~~
mp3.c: In member function ‘virtual cString cPluginMp3::SVDRPCommand(const char*, const char*, int&)’:
mp3.c:1697:41: error: no matching function for call to ‘cControl::Control()’
1697 | cControl *control=cControl::Control();
| ^
In file included from /usr/include/vdr/status.h:15,
from mp3.c:30:
/usr/include/vdr/player.h:129:20: note: candidate: ‘static cControl* cControl::Control(cMutexLock&, bool)’
129 | static cControl *Control(cMutexLock &MutexLock, bool Hidden = false);
| ^~~~~~~
/usr/include/vdr/player.h:129:20: note: candidate expects 2 arguments, 0 provided
make[2]: *** [Makefile:193: mp3.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" all VDRDIR=/usr/include/vdr LIBDIR=. LOCALEDIR=locale returned exit code 2
make[1]: *** [debian/rules:15: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Display More
Könnte sich das ein Wissender mal anschauen?
Merci & Gruss
Wolfgang