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

Benjamin Larsson banan
Sun Feb 26 23:12:48 CET 2006


Diego Biurrun wrote:

>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
>
>  
>
Only, ./configure --enable-gpl.

/Benjamin

-- 
"incorrect information" is an oxymoron. Information is, by definition, factual, correct.





More information about the ffmpeg-devel mailing list