[Ffmpeg-devel] Build failure if snow is disabled

Luca Abeni lucabe72
Fri Mar 17 12:30:41 CET 2006

Hi all,

if I configure with
./configure --disable-decoder=snow --disable-encoder=snow
I get
gcc -Wl,--warn-common -rdynamic -g -o ffmpeg_g ffmpeg.o cmdutils.o -L./libavformat -lavformat -L./libavcodec -lavcodec -L./libavutil -lavutil -lm -lz -ldl
./libavcodec/libavcodec.a(dsputil.o): In function `dsputil_init':/tmp/ffmpeg/libavcodec/dsputil.c:4052: undefined reference to `ff_snow_horizontal_compose97i'
:/tmp/ffmpeg/libavcodec/dsputil.c:4053: undefined reference to `ff_snow_inner_add_yblock'
:/tmp/ffmpeg/libavcodec/dsputil.c:4051: undefined reference to `ff_snow_vertical_compose97i'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1

I do not know what's the best way to fix this bug. It seems that all the
other codecs address this issue by still compiling some code even if
they are disabled (for example, if I do "--disable-decoder=h264
--disable-encoder=h264", h264idct.c is still compiled).
This increases the library size a lot... :(

Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !

 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 Ricevi loghi trendy per il tuo cellulare da Jamba!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4846&d=17-3

More information about the ffmpeg-devel mailing list