[Ffmpeg-devel] [PATCH] enable libswscale

Luca Abeni lucabe72
Wed Aug 16 08:27:51 CEST 2006


Hi V?ctor,

On Tue, 2006-08-15 at 01:13 +0200, V?ctor Paesa wrote:
> Hi,
> 
> 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'
> ...
Ops... Sorry, I did not know that win32 shared libraries have this problem

> I removed the problem by adding libavutil:
> 
> --- 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
Thanks for the report. I think the correct line should be
EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)

If Diego agrees, I'll commit the fix this evening.


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





More information about the ffmpeg-devel mailing list