[FFmpeg-devel] swscale build fail

Stephane List slist
Wed Sep 10 17:59:04 CEST 2008


Hi,

I'm using the latest svn :
Fetching external item into 'libswscale'
External at revision 27567.
At revision 15291.


I'm trying to build swscale on a x86_64 with Debian etch (gcc-4.1), I
get the following error :

gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/home/slist/svn/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-fasm -std=c99 -fomit-frame-pointer -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:1003:
libswscale/swscale_template.c: In function 'yuv2yuv1_MMX2':
libswscale/swscale_template.c:995: warning: initialization from
incompatible pointer type
libswscale/swscale_template.c:995: warning: initialization from
incompatible pointer type
libswscale/swscale_template.c:995: warning: initialization from
incompatible pointer type
libswscale/swscale_template.c: In function 'rgb24ToUV_MMX2':
libswscale/swscale_template.c:2089: warning: unused variable 'i'
libswscale/swscale_template.c: In function 'swScale_MMX2':
libswscale/swscale_template.c:3086: warning: cast from pointer to
integer of different size
libswscale/swscale_template.c:3094: warning: cast from pointer to
integer of different size
libswscale/swscale.c: In function 'sws_getCachedContext':
libswscale/swscale.c:3069: warning: assignment discards qualifiers from
pointer target type
libswscale/swscale.c: In function 'sws_scale':
libswscale/swscale.c:2651: warning: 'b' may be used uninitialized in
this function
libswscale/swscale.c:2651: warning: 'g' may be used uninitialized in
this function
libswscale/swscale.c:2651: warning: 'r' may be used uninitialized in
this function
/tmp/ccy3FSVX.s: Assembler messages:
/tmp/ccy3FSVX.s:18279: Warning: missing operand; zero assumed
/tmp/ccy3FSVX.s:18291: Warning: missing operand; zero assumed
/tmp/ccy3FSVX.s:18292: Warning: missing operand; zero assumed
/tmp/ccy3FSVX.s:18304: Warning: missing operand; zero assumed
/tmp/ccy3FSVX.s:18305: Warning: missing operand; zero assumed
/tmp/ccy3FSVX.s:20172: Error: bad register name `%%rip)'
/tmp/ccy3FSVX.s:20173: Error: bad register name `%%rip)'
/tmp/ccy3FSVX.s:20391: Error: bad register name `%%rip)'
/tmp/ccy3FSVX.s:20392: Error: bad register name `%%rip)'
make: *** [libswscale/swscale.o] Error 1

Any hint ?

Regards

Stephane




More information about the ffmpeg-devel mailing list