[FFmpeg-devel] libswscale causes FFmpeg to fail to build when built with --enable-swscale

Benoit Fouet benoit.fouet
Thu Jul 10 17:12:37 CEST 2008


Hi,

David Bolt wrote:
> I'm not sure if this is the right place for this so, if I'm wrong, point
> me in the right direction please.
>
> Building FFmpeg with --enable-swscale fails due to an error in the
> latest commit to libswscale (27244). The error returned is:
>
> gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I. -I"/usr/src/packages/BUILD/ffmpeg" -O2 -g -fmessage-
> length=0 -D_FORTIFY_SOURCE=2  -fPIC -I/usr/include/gsm -fomit-frame-pointer -march=athlon64 -pthread -g -Wdeclaration-after-statement -Wall -
> Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno        -
> fPIC -DPIC -c -o libswscale/swscale.o libswscale/swscale.c
> In file included from libswscale/swscale.c:897:
> libswscale/swscale_template.c: In function swScale_MMX2:
> libswscale/swscale_template.c:3142: warning: cast from pointer to integer of different size
> libswscale/swscale_template.c:3143: warning: cast from pointer to integer of different size
> libswscale/swscale_template.c:3149: warning: cast from pointer to integer of different size
> libswscale/swscale_template.c:3150: warning: cast from pointer to integer of different size
> libswscale/swscale_template.c:3158: warning: cast from pointer to integer of different size
> libswscale/swscale_template.c:3166: warning: cast from pointer to integer of different size
> libswscale/swscale.c: In function sws_getCachedContext:
> libswscale/swscale.c:2917: warning: assignment discards qualifiers from pointer target type
> make: *** No rule to make target `libswscale/swscale_avoption.o', needed by `libswscale/libswscale.so.0'.  Stop.
>
>   

a file is missing in svn right now, but should be committed soon

-- 
Benoit Fouet
Purple Labs S.A.
www.purplelabs.com




More information about the ffmpeg-devel mailing list