softdevice + ffmpeg

  • Пытаюсь собрать на FedoraCore 10 softdevice:
    # rpm -qa|grep ffmpeg
    ffmpeg-devel-0.4.9-0.52.20080908.fc10.i386
    ffmpeg-libs-0.4.9-0.52.20080908.fc10.i386
    ffmpeg-0.4.9-0.52.20080908.fc10.i386


    # rpm -qa|grep vdr
    vdr-1.6.0-8.fc10.i386
    vdr-devel-1.6.0-8.fc10.i386
    vdradmin-am-3.6.2-1.fc9.noarch
    vdr-sc-0.8.6-schs1.i386



    # rpmbuild -ba vdr-softdevice.spec
    Выполняется(%prep): /bin/sh -e /var/tmp/rpm-tmp.1f2LVq
    + umask 022
    + cd /root/rpmbuild/BUILD
    + LANG=C
    + export LANG
    + unset DISPLAY
    + cd /root/rpmbuild/BUILD
    + rm -rf vdr-softdevice-cvs20090330
    + /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/vdr-softdevice-cvs20090330.tar.bz2
    + /bin/tar -xf -
    + STATUS=0
    + '[' 0 -ne 0 ']'
    + cd vdr-softdevice-cvs20090330
    + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
    + exit 0
    Выполняется(%build): /bin/sh -e /var/tmp/rpm-tmp.YPwnCK
    + umask 022
    + cd /root/rpmbuild/BUILD
    + cd vdr-softdevice-cvs20090330
    + LANG=C
    + export LANG
    + unset DISPLAY
    + ./configure
    Testing system and cpu type... found Linux on i386 cpu.
    Checking for pkg-config... Found.
    Checking for ffmpeg... Ok.
    Checking for ffmpeg/libswscale... Using libswscale.
    Checking for pp_postprocess 1st arg ... is: const uint8_t **
    Checking ffmpeg for member of AVCodecContext: error_recognition ... ./configure
    'error_recognition' NOT found
    Checking for ALSA sound... Enabled audio-alsa.
    Checking for OSS sound... Enabled audio-oss.
    Checking for linux frambuffer... Enabled video-fb.
    Checking for yaepg patch... Not Found.
    Checking for DirectFB and DFB++... Not Found.
    Checking for vidix... Not found.
    Checking for Xv... Enabled video-xv.
    Checking for Xinerama... Enabled Xinerama.
    Creating temporary config.h and config.mak
    updated config.h
    updated config.mak
    Configure is finished. Please check config.log in case of problems.
    + make all -j2 LIBDIR=. VDRDIR=/usr/lib/vdr STRIP=/bin/true
    g++ -MM -MG -DHAVE_CONFIG -D__STDC_CONSTANT_MACROS -DPLUGIN_NAME_I18N='"softdev
    g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -
    g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -
    g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -
    g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -
    In file included from mpeg2decoder.h:19,
    from softdevice.h:18,
    from softdevice.c:9:
    /usr/include/ffmpeg/libavcodec/avcodec.h:2388: warning: 'ImgReSampleContext' is
    /usr/include/ffmpeg/libavcodec/avcodec.h:2398: warning: 'ImgReSampleContext' is
    In file included from video.h:26,
    from mpeg2decoder.h:31,
    from softdevice.h:18,
    from softdevice.c:9:
    PicBuffer.h:60: warning: 'typedef' was ignored in this declaration
    softdevice.c: In constructor 'cSoftDevice::cSoftDevice(int, int, char*)':
    softdevice.c:188: warning: deprecated conversion from string constant to 'char*
    softdevice.c:194: warning: deprecated conversion from string constant to 'char*
    softdevice.c:209: warning: deprecated conversion from string constant to 'char*
    softdevice.c: In member function 'void cSoftDevice::LoadSubPlugin(char*, char*)
    softdevice.c:343: warning: ignoring return value of 'int asprintf(char**, const
    1
    softdevice.c: In constructor 'cPluginSoftDevice::cPluginSoftDevice()':
    softdevice.c:822: warning: deprecated conversion from string constant to 'char*
    g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -
    In file included from PicBuffer.h:21,
    from video.h:26,
    from video.c:17:
    /usr/include/ffmpeg/libavcodec/avcodec.h:2388: warning: 'ImgReSampleContext' is
    /usr/include/ffmpeg/libavcodec/avcodec.h:2398: warning: 'ImgReSampleContext' is
    In file included from video.h:26,
    from video.c:17:
    PicBuffer.h:60: warning: 'typedef' was ignored in this declaration
    video.c: In member function 'virtual void cVideoOut::EvaluateDelay(int64_t, int
    video.c:630: warning: deprecated conversion from string constant to 'char*'
    video.c:658: warning: deprecated conversion from string constant to 'char*'
    video.c:667: warning: deprecated conversion from string constant to 'char*'
    video.c:674: warning: deprecated conversion from string constant to 'char*'
    video.c: In member function 'virtual void cVideoOut::ResetDelay()':
    video.c:691: warning: deprecated conversion from string constant to 'char*'
    g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -
    In file included from mpeg2decoder.h:19,
    from mpeg2decoder.c:15:
    /usr/include/ffmpeg/libavcodec/avcodec.h:2388: warning: 'ImgReSampleContext' is
    /usr/include/ffmpeg/libavcodec/avcodec.h:2388: warning: 'ImgReSampleContext' is
    /usr/include/ffmpeg/libavcodec/avcodec.h:2398: warning: 'ImgReSampleContext' is
    In file included from video.h:26,
    from mpeg2decoder.h:31,
    from mpeg2decoder.c:15:
    PicBuffer.h:60: warning: 'typedef' was ignored in this declaration
    mpeg2decoder.c: In member function 'virtual int cVideoStreamDecoder::DecodePack
    mpeg2decoder.c:935: warning: comparison between signed and unsigned integer exp
    mpeg2decoder.c: In constructor 'cMpeg2Decoder::cMpeg2Decoder(cAudioOut*, cVideo
    mpeg2decoder.c:1034: warning: 'unsigned int avcodec_build()' is deprecated (dec
    mpeg2decoder.c:1034: warning: 'unsigned int avcodec_build()' is deprecated (dec
    mpeg2decoder.c:1038: warning: 'unsigned int avcodec_build()' is deprecated (dec
    mpeg2decoder.c:1038: warning: 'unsigned int avcodec_build()' is deprecated (dec
    g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -
    g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -
    In file included from PicBuffer.h:21,
    from video.h:26,
    from video-dummy.h:12,
    from video-dummy.c:13:
    /usr/include/ffmpeg/libavcodec/avcodec.h:2388: warning: 'ImgReSampleContext' is
    /usr/include/ffmpeg/libavcodec/avcodec.h:2398: warning: 'ImgReSampleContext' is
    In file included from video.h:26,
    from video-dummy.h:12,
    from video-dummy.c:13:
    PicBuffer.h:60: warning: 'typedef' was ignored in this declaration
    g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -
    setup-softdevice.c: In member function 'char* cSetupStore::getPPdeintValue()':
    setup-softdevice.c:433: warning: deprecated conversion from string constant to
    setup-softdevice.c:434: warning: deprecated conversion from string constant to
    setup-softdevice.c:435: warning: deprecated conversion from string constant to
    setup-softdevice.c:436: warning: deprecated conversion from string constant to
    setup-softdevice.c:437: warning: deprecated conversion from string constant to
    setup-softdevice.c: In member function 'char* cSetupStore::getPPValue()':
    setup-softdevice.c:446: warning: deprecated conversion from string constant to
    setup-softdevice.c:447: warning: deprecated conversion from string constant to
    setup-softdevice.c:448: warning: deprecated conversion from string constant to
    g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -
    g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -
    setup-softlog.c: In member function 'virtual int cSetupSoftlog::SetLogFile(cons
    setup-softlog.c:162: warning: deprecated conversion from string constant to 'ch
    setup-softlog.c:189: warning: deprecated conversion from string constant to 'ch
    g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -
    make: *** No rule to make target `font.h', needed by `SoftOsd.o'. Stop.
    make: *** Waiting for unfinished jobs....


    Какую версию ffmpeg и softdevice реально собрать?

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

  • я собирал все из cvs, но софтдевайс нужно подправить ручками в сырцах
    как через rpm не знаю

  • Цитата

    Со слов пользователя ua0lnj
    я собирал все из cvs, но софтдевайс нужно подправить ручками в сырцах
    как через rpm не знаю


    Что правил? RPM в данном случае набор скриптов, если собирать руками будет то же самое.

  • Цитата
    Исходный код
    make: *** No rule to make target `font.h', needed by `SoftOsd.o'. Stop.
    make: *** Waiting for unfinished jobs....


    vdr заголовков не находит. Например в /usr/include/vdr/

  • Цитата

    Со слов пользователя free-x
    vdr заголовков не находит. Например в /usr/include/vdr/


    Точно, стормозил.
    Configure находит в нужном месте, но makefile делает неправильный.
    Собралось, спасибо.