Package: ffmpeg Version: 0.cvs20070307-6 When I build ffmpeg on a powerpc system without Altivec and with CPU detection enabled, I get a build failure in libswscale. The problem is that libswscale/swscale_internal.h defines some parameters when HAVE_ALTIVEC is set. This is not set in my case. However, swscale.c relies on these paramaters not only when HAVE_ALTIVEC is set: it either look for altivec, or for CPU detection. This means that in my case the parameters are not set (since HAVE_ALTIVEC) is not set but the code still uses those parameters.
The error is: make[2]: Entering directory `/build/olmec/ffmpeg-0.cvs20070307/libswscale' gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/build/olmec/ffmpeg-0.cvs20070307" -I"/build/olmec/ffmpeg-0.cvs20070307" -I"/build/olmec/ffmpeg-0.cvs20070307"/libavutil -fomit-frame-pointer -pthread -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -O3 -c -o swscale.o swscale.c In file included from swscale.c:844: swscale_template.c: In function 'hyscale_C': swscale_template.c:2556: warning: passing argument 4 of 'palToY_C' from incompatible pointer type swscale_template.c: In function 'hcscale_C': swscale_template.c:2772: warning: passing argument 6 of 'palToUV_C' from incompatible pointer type swscale.c: In function 'gray16swap': swscale.c:1794: warning: initialization from incompatible pointer type swscale.c:1795: warning: initialization from incompatible pointer type swscale.c: In function 'sws_setColorspaceDetails': swscale.c:1903: warning: implicit declaration of function 'yuv2rgb_altivec_init_tables' swscale.c: In function 'sws_getContext': swscale.c:2247: error: 'SwsContext' has no member named 'vYCoeffsBank' swscale.c:2248: error: 'SwsContext' has no member named 'vCCoeffsBank' swscale.c:2252: error: 'SwsContext' has no member named 'vYCoeffsBank' swscale.c:2259: error: 'SwsContext' has no member named 'vCCoeffsBank' swscale.c: In function 'sws_freeContext': swscale.c:2791: error: 'SwsContext' has no member named 'vYCoeffsBank' swscale.c:2792: error: 'SwsContext' has no member named 'vYCoeffsBank' swscale.c:2793: error: 'SwsContext' has no member named 'vCCoeffsBank' swscale.c:2794: error: 'SwsContext' has no member named 'vCCoeffsBank' make[2]: *** [swscale.o] Error 1 make[2]: Leaving directory `/build/olmec/ffmpeg-0.cvs20070307/libswscale' -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

