[Ffmpeg-devel] Problem building ffmpeg on G3 PPC without altivec unit

Diego Biurrun diego
Sun Feb 26 21:52:29 CET 2006


On Sun, Feb 26, 2006 at 08:17:56PM +0000, Benjamin Larsson wrote:
> http://equinox.campus.luth.se/~banan/2006/02/25/build-gcc-3.4.log
> 
> In file included from ppc/dsputil_h264_altivec.c:37:
> ppc/dsputil_h264_template_altivec.c: In function `put_h264_qpel16_h_lowpass_altivec':
> ppc/dsputil_h264_template_altivec.c:281: warning: unused variable `vdst'
> ppc/dsputil_h264_template_altivec.c: In function `put_h264_qpel16_v_lowpass_altivec':
> ppc/dsputil_h264_template_altivec.c:395: warning: unused variable `vdst'
> ppc/dsputil_h264_template_altivec.c: In function `put_h264_qpel16_hv_lowpass_altivec':
> ppc/dsputil_h264_template_altivec.c:429: error: invalid initializer
> ppc/dsputil_h264_template_altivec.c:624: warning: unused variable `vdst'
> In file included from ppc/dsputil_h264_altivec.c:57:
> ppc/dsputil_h264_template_altivec.c: In function `avg_h264_qpel16_hv_lowpass_altivec':
> ppc/dsputil_h264_template_altivec.c:429: error: invalid initializer
> 
> This machine doesn't have an altivec unit so this code shouldn't even be built.

But configure says

  AltiVec enabled  yes

are you passing --enable-altivec or is autodetection failing?

Diego





More information about the ffmpeg-devel mailing list