[Ffmpeg-devel] [PATCH] enable libswscale

Diego Biurrun diego
Wed Aug 16 00:56:41 CEST 2006


On Tue, Aug 15, 2006 at 01:13:33AM +0200, V?ctor Paesa wrote:
> 
> Under Cygwin, if I configure with --disable-static --enable-shared
> --enable-swscaler, then the build fails because of I have undefined
> references (forbidden in Win32 shared libraries):
> 
> /home/Inma/src/FFmpeg-20060813-5994/ffmpeg/libswscale/swscale.c:2313:
> undefined reference to `_av_log'

Huh?  You made libswscale work?  It's not yet compiling..

> --- ffmpeg-old/libswscale/Makefile      2006-08-11 20:15:30.000000000 +0200
> +++ ffmpeg/libswscale/Makefile  2006-08-15 00:37:06.546875000 +0200
> @@ -5,6 +5,7 @@
>  ifeq ($(BUILD_SHARED),yes)
>  LIBVERSION=$(SWSVERSION)
>  LIBMAJOR=$(SWSMAJOR)
> +EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF)
>  endif

This is bad, you're throwing away the contents of EXTRALIBS.

Diego




More information about the ffmpeg-devel mailing list