Compile-Probleme markad

  • Hallo !



    Nach dem Update auf ffmpeg 3.1.1 läuft der markad-Compile (aus dem git) nicht mehr:



    for i in command plugin; do make -C $i; done
    make[1]: Entering directory '/backup/privat/tv/dvb/vdr-2.2.0/PLUGINS/src/vdr-plugin-markad/command'
    g++ -g -rdynamic -O3 -funroll-loops -Wall -Wextra -Woverloaded-virtual -Wno-parentheses -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__USE_XOPEN_EXTENDED markad-standalone.cpp
    markad-standalone.cpp: In static member function ‘static void* cOSDMessage::send(void*)’:
    markad-standalone.cpp:161:53: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same expression as the source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
    memcpy(&name.sin_addr.s_addr,host->h_addr,sizeof(host->h_addr));
    ^
    g++ -g -rdynamic -O3 -funroll-loops -Wall -Wextra -Woverloaded-virtual -Wno-parentheses -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__USE_XOPEN_EXTENDED decoder.cpp
    decoder.cpp: In constructor ‘cMarkAdDecoder::cMarkAdDecoder(bool, int)’:
    decoder.cpp:237:43: warning: ‘AVCodecContext::codec_name’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1664) [-Wdeprecated-declarations]
    memset(video_context->codec_name,0,sizeof(video_context->codec_name));
    ^
    decoder.cpp:237:43: warning: ‘AVCodecContext::codec_name’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1664) [-Wdeprecated-declarations]
    decoder.cpp:237:78: warning: ‘AVCodecContext::codec_name’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1664) [-Wdeprecated-declarations]
    memset(video_context->codec_name,0,sizeof(video_context->codec_name));
    ^
    decoder.cpp:237:78: warning: ‘AVCodecContext::codec_name’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1664) [-Wdeprecated-declarations]
    decoder.cpp:285:51: error: ‘avcodec_alloc_frame’ was not declared in this scope
    video_frame = avcodec_alloc_frame();
    ^
    decoder.cpp: In member function ‘bool cMarkAdDecoder::Clear()’:
    decoder.cpp:357:17: warning: ‘int avcodec_copy_context(AVCodecContext*, const AVCodecContext*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4182) [-Wdeprecated-declarations]
    if (avcodec_copy_context(dest,video_context)!=0) ret=false;
    ^
    decoder.cpp:357:56: warning: ‘int avcodec_copy_context(AVCodecContext*, const AVCodecContext*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4182) [-Wdeprecated-declarations]
    if (avcodec_copy_context(dest,video_context)!=0) ret=false;
    ^
    decoder.cpp: In member function ‘bool cMarkAdDecoder::DecodeVideo(MarkAdContext*, uchar*, int)’:
    decoder.cpp:452:13: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4753) [-Wdeprecated-declarations]
    len=avcodec_decode_video2(video_context,video_frame,&video_frame_ready,
    ^
    decoder.cpp:453:41: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4753) [-Wdeprecated-declarations]
    &avpkt);
    ^
    Makefile:48: recipe for target 'decoder.o' failed
    make[1]: *** [decoder.o] Error 1
    make[1]: Leaving directory '/backup/privat/tv/dvb/vdr-2.2.0/PLUGINS/src/vdr-plugin-markad/command'
    make[1]: Entering directory '/backup/privat/tv/dvb/vdr-2.2.0/PLUGINS/src/vdr-plugin-markad/plugin'
    g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"markad"' -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I../../../../include markad.cpp
    g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -shared markad.o status.o menu.o setup.o -o libvdr-markad.so
    cp --remove-destination libvdr-markad.so ../../../lib/libvdr-markad.so.2.2.0
    xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --msgid-bugs-address='<see README>' -o po/markad.pot markad.cpp setup.cpp menu.cpp status.cpp version.h menu.h status.h markad.h setup.h
    msgmerge -U --no-wrap --no-location --backup=none -q po/fi_FI.po po/markad.pot
    msgfmt -c -o po/fi_FI.mo po/fi_FI.po
    cp po/fi_FI.mo ../../../../locale/fi_FI/LC_MESSAGES/vdr-markad.mo
    msgmerge -U --no-wrap --no-location --backup=none -q po/es_ES.po po/markad.pot
    msgfmt -c -o po/es_ES.mo po/es_ES.po
    cp po/es_ES.mo ../../../../locale/es_ES/LC_MESSAGES/vdr-markad.mo
    msgmerge -U --no-wrap --no-location --backup=none -q po/it_IT.po po/markad.pot
    msgfmt -c -o po/it_IT.mo po/it_IT.po
    cp po/it_IT.mo ../../../../locale/it_IT/LC_MESSAGES/vdr-markad.mo
    msgmerge -U --no-wrap --no-location --backup=none -q po/sk_SK.po po/markad.pot
    msgfmt -c -o po/sk_SK.mo po/sk_SK.po
    po/sk_SK.po:7: Warnung: Das Feld »Language« im Kopfeintrag hat immer noch den anfänglichen Vorgabewert
    cp po/sk_SK.mo ../../../../locale/sk_SK/LC_MESSAGES/vdr-markad.mo
    msgmerge -U --no-wrap --no-location --backup=none -q po/de_DE.po po/markad.pot
    msgfmt -c -o po/de_DE.mo po/de_DE.po
    cp po/de_DE.mo ../../../../locale/de_DE/LC_MESSAGES/vdr-markad.mo
    make[1]: Leaving directory '/backup/privat/tv/dvb/vdr-2.2.0/PLUGINS/src/vdr-plugin-markad/plugin'



    Grüße,


    Dirk

  • yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!