markad-standalone + kernel 3.9.2

  • Ich bekomme markad-standalone nicht mehr gegen ein "aktuellen" kernel gebaut:



    Fehler:

    Code
    make all
    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 -I/usr/include -I.. -I/usr/include/libavcodec -I/usr/include/libavutil   markad-standalone.cpp
    In file included from /usr/include/fcntl.h:41:0,
                     from markad-standalone.cpp:13:
    /usr/include/x86_64-linux-gnu/bits/stat.h:91:21: error: field ‘st_atim’ has incomplete type
    /usr/include/x86_64-linux-gnu/bits/stat.h:92:21: error: field ‘st_mtim’ has incomplete type
    /usr/include/x86_64-linux-gnu/bits/stat.h:93:21: error: field ‘st_ctim’ has incomplete type
    /usr/include/x86_64-linux-gnu/bits/stat.h:152:21: error: field ‘st_atim’ has incomplete type
    /usr/include/x86_64-linux-gnu/bits/stat.h:153:21: error: field ‘st_mtim’ has incomplete type
    /usr/include/x86_64-linux-gnu/bits/stat.h:154:21: error: field ‘st_ctim’ has incomplete type


    Es scheint so, als ob sich in der stat.h mit dem genannten Kernel was geändert hat...? :schiel


    Gruß
    iNOB

    Edited 3 times, last by iNOB ().

  • Hat sich im Falle von markad schon was getan? Mit neuerem ffmpeg geht's nicht mehr: X(


    ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
    built on Jul 22 2013 19:48:32 with gcc 4.7 (SUSE Linux)
    configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --disable-static --enable-debug --disable-stripping --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -I/usr/include/gsm' --enable-gpl --enable-x11grab --enable-version3 --enable-pthreads --enable-avfilter --enable-libpulse --enable-libvpx --enable-libopus --enable-libass --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libxvid --enable-libx264 --enable-libschroedinger --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-postproc --enable-libdc1394 --enable-librtmp --enable-libfreetype --enable-avresample --enable-libtwolame --enable-libvo-aacenc
    libavutil 52. 38.100 / 52. 38.100
    libavcodec 55. 18.102 / 55. 18.102
    libavformat 55. 12.100 / 55. 12.100
    libavdevice 55. 3.100 / 55. 3.100
    libavfilter 3. 79.101 / 3. 79.101
    libavresample 1. 1. 0 / 1. 1. 0
    libswscale 2. 3.100 / 2. 3.100
    libswresample 0. 17.102 / 0. 17.102
    libpostproc 52. 3.100 / 52. 3.100


    make
    g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/local/src/DVB/linux/include/uapi -rdynamic -funroll-loops -c -D__STDC_CONSTANT_MACROS -D__USE_XOPEN_EXTENDED -I/usr/local/src/vdr-2.0.2/include -o decoder.o decoder.cpp
    decoder.cpp: In constructor ‘cMarkAdDecoder::cMarkAdDecoder(bool, int)’:
    decoder.cpp:155:5: error: ‘CodecID’ was not declared in this scope
    decoder.cpp:155:13: error: expected ‘;’ before ‘video_codecid’
    decoder.cpp:159:9: error: ‘video_codecid’ was not declared in this scope
    decoder.cpp:163:9: error: ‘video_codecid’ was not declared in this scope
    decoder.cpp:166:40: error: ‘video_codecid’ was not declared in this scope
    decoder.cpp:176:47: error: ‘avcodec_alloc_context’ was not declared in this scope
    decoder.cpp: In member function ‘bool cMarkAdDecoder::Clear()’:
    decoder.cpp:326:36: error: ‘avcodec_alloc_context’ was not declared in this scope
    make[2]: *** [decoder.o] Error 1


    Es steht im Zusammenhang mit ‘avcodec_alloc_context’, was bei osdpip auch aufgeführt wird. Wer kann helfen? :§$%


    Danke und Gruß,
    Stefan

  • Hallo Stefan,


    Hatte gerade das gleich Problem beim Einrichten eines aktuellen VDRs unter Opensuse 12.3


    MIt einem
    zypper install libffmpeg-devel
    wurde zwar eine Menge Software installiert, aber es genügte nicht.
    Es gibt auch noch libffmpeg1-devel in Version 1.0.6 im Packman Repository.
    Hab das einfach zusätzlich installiert.
    Danach lief das make vom marad-Plugin durch.


    Gruß
    Roland

    TV3: GA-MA74GM-S2H Rev 4.0, Athlon 64 x2 3800 EE SFF, 2GB Ram, 2TB Platte, TT S2-6400, serieller IR-Einschalter atric
    TV2: GA -M61P-S3, Athlon 64 x2 3800 EE SFF, 2GB Ram, 1TB Platte, TT S-2300 + TT S-1500, serieller IR-Einschalter atric

  • Es steht im Zusammenhang mit ‘avcodec_alloc_context’, was bei osdpip auch aufgeführt wird. Wer kann helfen?


    Mit dem Patch von Copperhead baut es mit ffmpeg 2.0: https://github.com/CReimer/vdr…kad/markad-ffmpeg2.0.diff

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Hallo Roland,


    haha, das war's :D . Danke !!!
    Und osdpip wird auch wieder gebaut...


    Gruß,
    Stefan

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!