[FFmpeg-cvslog] r9581 - in trunk/libavcodec: dsputil.c h263.h i386/dsputil_mmx.c mpegvideo_enc.c msmpeg4.h
Aurelien Jacobs
aurel
Wed Jul 11 01:23:58 CEST 2007
On Tue, 10 Jul 2007 18:30:37 -0300
Ramiro Ribeiro Polla <ramiro at lisha.ufsc.br> wrote:
> aurel wrote:
> > Author: aurel
> > Date: Tue Jul 10 22:23:08 2007
> > New Revision: 9581
> >
> > Log:
> > Avoid linking with h263.c functions when the relevant codecs
> > are not compiled in.
> >
> >
>
> There are still some missing in libavcodec/dsputil.c, and
> libavcodec/i386/dsputil_mmx.c (and possibly on other arches I haven't
> looked).
>
> ramiro at drake:/usrc/ffmpeg/build$ ../src/configure --disable-muxers
> --disable-parsers --disable-demuxers --disable-encoders
> --disable-decoders --disable-bsfs
> ramiro at drake:/usrc/ffmpeg/build$ make
> [builds everything and gives this error:]
> ramiro at drake:/usrc/ffmpeg/build$ make
> make -C libavutil all
> make[1]: Entering directory `/export/usrc/ffmpeg/build/libavutil'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/export/usrc/ffmpeg/build/libavutil'
> make -C libavcodec all
> make[1]: Entering directory `/export/usrc/ffmpeg/build/libavcodec'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/export/usrc/ffmpeg/build/libavcodec'
> make -C libavformat all
> make[1]: Entering directory `/export/usrc/ffmpeg/build/libavformat'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/export/usrc/ffmpeg/build/libavformat'
> gcc -L"/usrc/ffmpeg/build"/libavformat -L"/usrc/ffmpeg/build"/libavcodec
> -L"/usrc/ffmpeg/build"/libavutil -Wl,--warn-common -Wl,--as-needed
> -Wl,-rpath-link,"/usrc/ffmpeg/build"/libavcodec
> -Wl,-rpath-link,"/usrc/ffmpeg/build"/libavformat
> -Wl,-rpath-link,"/usrc/ffmpeg/build"/libavutil -g -o ffmpeg_g ffmpeg.o
> cmdutils.o -lavformat -lavcodec -lavutil -lm -lz -ldl
> /usrc/ffmpeg/build/libavformat/libavformat.a(utils.o): In function
> `av_write_header':/usrc/ffmpeg/src/libavformat/utils.c:2093: undefined
> reference to `av_codec_get_tag'
> /usrc/ffmpeg/build/libavcodec/libavcodec.a(dsputil.o): In function
> `h263_v_loop_filter_c':/usrc/ffmpeg/src/libavcodec/dsputil.c:2645:
> undefined reference to `ff_h263_loop_filter_strength'
> /usrc/ffmpeg/build/libavcodec/libavcodec.a(dsputil.o): In function
> `h263_h_loop_filter_c':/usrc/ffmpeg/src/libavcodec/dsputil.c:2680:
> undefined reference to `ff_h263_loop_filter_strength'
> /usrc/ffmpeg/build/libavcodec/libavcodec.a(dsputil_mmx.o): In function
> `h263_v_loop_filter_mmx':/usrc/ffmpeg/src/libavcodec/i386/dsputil_mmx.c:627:
> undefined reference to `ff_h263_loop_filter_strength'
> /usrc/ffmpeg/build/libavcodec/libavcodec.a(dsputil_mmx.o): In function
> `h263_h_loop_filter_mmx':/usrc/ffmpeg/src/libavcodec/i386/dsputil_mmx.c:673:
> undefined reference to `ff_h263_loop_filter_strength'
> collect2: ld returned 1 exit status
> make: *** [ffmpeg_g] Error 1
Sorry, I can't reproduce this. Could you try a make clean first ?
Aurel
More information about the ffmpeg-cvslog
mailing list