[FFmpeg-devel] swscale build error

Bombay Boy bombay_boy1974
Sat Sep 13 07:54:33 CEST 2008


I am a newbie trying to?build latest SVN source file obtained from:
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg

I am trying to build on Linux Debian on ARCH_x86. I get the below error: Could you please help me how to resolve this error?
In file included from libswscale/swscale.c:924:
libswscale/swscale_template.c: In function `yuv2yuv1_3DNow':
libswscale/swscale_template.c:999: warning: initialization from incompatible pointer type
libswscale/swscale_template.c:999: warning: initialization from incompatible pointer type
libswscale/swscale_template.c:999: warning: initialization from incompatible pointer type
libswscale/swscale_template.c: At top level:
libswscale/swscale_template.c:1917: error: redefinition of 'bgr24ToY_mmx'
libswscale/swscale_template.c:1917: error: previous definition of 'bgr24ToY_mmx' was here
libswscale/swscale_template.c:1917: error: redefinition of 'bgr24ToY_mmx'
libswscale/swscale_template.c:1917: error: previous definition of 'bgr24ToY_mmx' was here
libswscale/swscale_template.c:1970: error: redefinition of 'bgr24ToUV_mmx'
libswscale/swscale_template.c:1970: error: previous definition of 'bgr24ToUV_mmx' was here
libswscale/swscale_template.c:1970: error: redefinition of 'bgr24ToUV_mmx'
libswscale/swscale_template.c:1970: error: previous definition of 'bgr24ToUV_mmx' was here
libswscale/swscale_template.c: In function `rgb24ToUV_3DNow':
libswscale/swscale_template.c:2098: warning: unused variable `i'
libswscale/swscale_template.c: In function `swScale_3DNow':
libswscale/swscale_template.c:3110: warning: cast from pointer to integer of different size
libswscale/swscale_template.c:3118: warning: cast from pointer to integer of different size
libswscale/swscale.c: In function `sws_getCachedContext':
libswscale/swscale.c:2990: warning: assignment discards qualifiers from pointer target type
make[1]: *** [libswscale/swscale.o] Error 1



      



More information about the ffmpeg-devel mailing list