vdr-softdevice-work compile

  • Пытаюсь собрать vdr-softdevice-work, сопутствующие либы вроде все собрал, вылетает при сборке с такой диагностикой:


    setup-softdevice.h:21: warning: 'class cSetupStore' has virtual functions but non-virtual destructor
    mpeg2decoder.c: In constructor 'cStreamDecoder::cStreamDecoder(AVCodecContext*)':
    mpeg2decoder.c:123: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c:123: warning: too many arguments for format
    mpeg2decoder.c: In member function 'virtual void cStreamDecoder::Action()':
    mpeg2decoder.c:143: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c:183: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c: In member function 'int cMpeg2Decoder::seek(offset_t, int)':
    mpeg2decoder.c:1003: warning: format '%d' expects type 'int', but argument 2 has type 'offset_t'
    mpeg2decoder.c: In member function 'void cMpeg2Decoder::initStream()':
    mpeg2decoder.c:1021: error: invalid conversion from 'int (*)(void*, offset_t, int)' to 'offset_t (*)(void*, offset_t, int)'
    mpeg2decoder.c:1021: error: initializing argument 8 of 'int init_put_byte(ByteIOContext*, unsigned char*, int, int, void*, int (*)(void*, uint8_t*, int), int (*)(void*, uint8_t*, int), offset_t (*)(void*, offset_t, int))'
    mpeg2decoder.c: In member function 'virtual void cMpeg2Decoder::Action()':
    mpeg2decoder.c:1028: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c:1075: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c: In member function 'void cMpeg2Decoder::DecodePacket(const AVFormatContext*, AVPacket&)':
    mpeg2decoder.c:1082: error: request for member 'codec_type' in '((AVStream*)ic->AVFormatContext::streams[pkt->AVPacket::stream_index])->AVStream::codec', which is of non-class type 'AVCodecContext*'
    mpeg2decoder.c:1092: error: no matching function for call to 'cAudioStreamDecoder::cAudioStreamDecoder(AVCodecContext**, cAudioOut*&, int&)'
    mpeg2decoder.c:251: note: candidates are: cAudioStreamDecoder::cAudioStreamDecoder(AVCodecContext*, cAudioOut*, int)
    mpeg2decoder.h:142: note: cAudioStreamDecoder::cAudioStreamDecoder(const cAudioStreamDecoder&)
    mpeg2decoder.c:1095: error: request for member 'codec_type' in '((AVStream*)ic->AVFormatContext::streams[pkt->AVPacket::stream_index])->AVStream::codec', which is of non-class type 'AVCodecContext*'
    mpeg2decoder.c:1105: error: no matching function for call to 'cVideoStreamDecoder::cVideoStreamDecoder(AVCodecContext**, cVideoOut*&, cClock*)'
    mpeg2decoder.c:367: note: candidates are: cVideoStreamDecoder::cVideoStreamDecoder(AVCodecContext*, cVideoOut*, cClock*)
    mpeg2decoder.h:166: note: cVideoStreamDecoder::cVideoStreamDecoder(const cVideoStreamDecoder&)
    mpeg2decoder.c: In member function 'void cMpeg2Decoder::Start(bool)':
    mpeg2decoder.c:1128: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c: In member function 'void cMpeg2Decoder::Suspend()':
    mpeg2decoder.c:1148: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c: In member function 'void cMpeg2Decoder::Resume()':
    mpeg2decoder.c:1157: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c: In member function 'void cMpeg2Decoder::Play()':
    mpeg2decoder.c:1181: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c: In member function 'void cMpeg2Decoder::Freeze()':
    mpeg2decoder.c:1194: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c: In member function 'void cMpeg2Decoder::Stop(bool)':
    mpeg2decoder.c:1212: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c:1237: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c: In member function 'int cMpeg2Decoder::StillPicture(uchar*, int)':
    mpeg2decoder.c:1248: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c:1260: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c: In member function 'void cMpeg2Decoder::Clear()':
    mpeg2decoder.c:1270: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c:1273: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    mpeg2decoder.c: In member function 'void cMpeg2Decoder::TrickSpeed(int)':
    mpeg2decoder.c:1281: warning: format '%04d' expects type 'int', but argument 2 has type 'long long unsigned int'
    make[1]: *** [mpeg2decoder.o] Ошибка 1


    Кто сталкивался? Что делать?
    Либы такие:
    DFB++-0.9.25
    DirectFB-0.9.25.1
    vidix-0.9.9.1
    ffmpeg-0.4.9-2.3.20051207.110asp

  • Цитата

    Со слов пользователя free-x
    это snapshot softdevice из CVS или как? ?(


    По ссылке с Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.
    пошёл на Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. оттуда, прочитав README на
    Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. там взял
    Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.


    Не там брал?

  • Цитата

    Со слов пользователя free-x
    это snapshot softdevice из CVS или как? ?(


    Взял Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.
    он собрался, буду пробовать :-)


    Может в WiKi поправить ссылки?

    Сообщение было отредактировано 1 раз, последнее редактирование пользователем schs ().

  • Рано радовался...
    Запустился softdevice, снял я SS1, осталась только SS2 2.6d, теперь закрытые каналы показывать не хочет, даже обращения к sc похоже нет... Открытые каналы, радио показывает.
    Попробовал без softdevice, только с streamdev-server, тоже самое.
    Извечный вопрос - куда копать?

  • можно чуть подробнее: ффдекса заменяет сц? если стоят две карты сс1 и сс2, то надо ставить только ффдекса и обе будут работать? и как быть с версиями: последняя сц 1.4.4, а ффдекса 1.4.3.