[Ffmpeg-devel] latest svn ffmpeg build broken on with gcc 3.3 due to patch on h264_altivec.c
Patrice Bensoussan
patrice.bensoussan
Sun Dec 10 20:55:16 CET 2006
Trying to build on Mac OS X 10.4.8 with gcc 3.3. Problem caused by
line 467 in h264_altivec.c it seems.
Looks like this patch has been recently applied... See errors below.
Patrice
gcc-3.3 -I"/Users/patriceb/tmp/WMA/svn/ffmpeg"/libswscale -
DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -
D_ISOC9X_SOURCE -I"/Users/patriceb/tmp/WMA/svn/ffmpeg/ppc" -I"/Users/
patriceb/tmp/WMA/svn/ffmpeg" -I"/Users/patriceb/tmp/WMA/svn/ffmpeg"/
libavutil -I/Users/patriceb/tmp/WMA/opt/include -no-cpp-precomp -pipe
-force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -
faltivec -g -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith
-Wredundant-decls -Os -mdynamic-no-pic -c -o ppc/h264_altivec.o /
Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/h264_altivec.c
In file included from /Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/
ppc/h264_altivec.c:40:
/Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/
h264_template_altivec.c: In function `put_h264_chroma_mc8_altivec':
/Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/
h264_template_altivec.c:42: warning: `vsrcBuc' might be used
uninitialized in this function
In file included from /Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/
ppc/h264_altivec.c:60:
/Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/
h264_template_altivec.c: In function `avg_h264_chroma_mc8_altivec':
/Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/
h264_template_altivec.c:42: warning: `vsrcBuc' might be used
uninitialized in this function
/Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/h264_altivec.c: In
function `put_no_rnd_h264_chroma_mc8_altivec':
/Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/h264_altivec.c:201:
warning: `vsrcBuc' might be used uninitialized in this function
/Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/h264_altivec.c: In
function `ff_h264_idct8_add_altivec':
/Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/h264_altivec.c:517:
error: incompatible types in initialization
/Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/h264_altivec.c:518:
error: incompatible types in initialization
/Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/h264_altivec.c:519:
error: incompatible types in initialization
/Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/h264_altivec.c:520:
error: incompatible types in initialization
/Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/h264_altivec.c:521:
error: incompatible types in initialization
/Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/h264_altivec.c:522:
error: incompatible types in initialization
/Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/h264_altivec.c:523:
error: incompatible types in initialization
/Users/patriceb/tmp/WMA/svn/ffmpeg/libavcodec/ppc/h264_altivec.c:524:
error: incompatible types in initialization
make[1]: *** [ppc/h264_altivec.o] Error 1
make: *** [lib] Error 2
More information about the ffmpeg-devel
mailing list