[FFmpeg-cvslog] r22522 - in trunk: configure libavcodec/Makefile libavcodec/dsputil.c libavcodec/dsputil.h libavcodec/dwt.c libavcodec/dwt.h libavcodec/ivi_dsp.c libavcodec/snow.c libavcodec/snow.h libavcodec/x86/...

Stefano Sabatini stefano.sabatini-lala
Sun Mar 14 22:51:50 CET 2010


On date Sunday 2010-03-14 18:50:12 +0100, mru wrote:
> Author: mru
> Date: Sun Mar 14 18:50:12 2010
> New Revision: 22522
> 
> Log:
> Separate DWT from snow and dsputil
> 
> This moves the DWT functions from snow.c and dsputil.c to a file of
> their own.  A new struct, DWTContext, holds the function pointers
> previously part of DSPContext.

This or one of the following commits broke linking here:
stefano at geppetto ~/s/ffmpeg.git> make
gcc -L"/home/stefano/src/ffmpeg.git"/libavcodec -L"/home/stefano/src/ffmpeg.git"/libavdevice -L"/home/stefano/src/ffmpeg.git"/libavfilter -L"/home/stefano/src/ffmpeg.git"/libavformat -L"/home/stefano/src/ffmpeg.git"/libavutil -L"/home/stefano/src/ffmpeg.git"/libpostproc -L"/home/stefano/src/ffmpeg.git"/libswscale -L/home/stefano/lib -Wl,--warn-common -Wl,--as-needed -Wl,-rpath-link,"/home/stefano/src/ffmpeg.git"/libpostproc -Wl,-rpath-link,"/home/stefano/src/ffmpeg.git"/libswscale -Wl,-rpath-link,"/home/stefano/src/ffmpeg.git"/libavfilter -Wl,-rpath-link,"/home/stefano/src/ffmpeg.git"/libavdevice -Wl,-rpath-link,"/home/stefano/src/ffmpeg.git"/libavformat -Wl,-rpath-link,"/home/stefano/src/ffmpeg.git"/libavcodec -Wl,-rpath-link,"/home/stefano/src/ffmpeg.git"/libavutil -Wl,-Bsymbolic -o ffmpeg_g ffmpeg.o cmdutils.o -lavdevice -lavfilter -lavformat -lavcodec -lswscale -lavutil -lz -pthread -lm -lmp3lame -lm -lspeex -lvorbisenc -lvorbis -logg -lasound -ljack -ldl -lasound -ljack -lX11 -lXext -lXfixes -lasound
/home/stefano/src/ffmpeg.git/libavcodec/libavcodec.a(dwt.o): In function `ff_dwt_init':
/home/stefano/src/ffmpeg.git/libavcodec/dwt.c:842: undefined reference to `ff_dwt_init_x86'
collect2: ld returned 1 exit status

I suppose this may be related to the fact that I'm not compiling with
optimization, and ff_dwt_init_x86() is defined in
libavcodec/x86/snowdsp_mmx and maybe it's not compiled (just guessing
to true inspection and no time for that...).

My configure:
/configure \
--prefix=$HOME \
--enable-gpl \
--disable-shared \
--enable-debug=3 \
--enable-pthreads \
--enable-libvorbis \
--enable-avfilter \
--enable-nonfree \
--enable-x11grab \
--enable-libmp3lame \
--enable-libspeex \
--disable-optimizations \
--disable-mmx \
--disable-stripping \

Regards.



More information about the ffmpeg-cvslog mailing list