[Ffmpeg-devel] [PATCH] enable libswscale

Víctor Paesa wzrlpy
Tue Aug 15 01:13:33 CEST 2006


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'
...


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

 # NOTE: -I.. is needed to include config.h

I attach the patch, my mailer is known to corrupt things.

Regards,
V?ctor Paesa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.cygwin.swscale.1.patch
Type: application/octet-stream
Size: 331 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060815/9ffb9416/attachment.obj>



More information about the ffmpeg-devel mailing list