[FFmpeg-devel] [PATCH]Fix compilation without fft on arm

Gavin Kinsey gkinsey at ad-holdings.co.uk
Fri Feb 15 13:32:02 CET 2013


On Thursday 14 February 2013 08:10:12 Carl Eugen Hoyos wrote:
> 
> A user reported
> that "./configure --disable-encoders --disable-decoders
> --disable-swresample --enable-shared" fails on arm when linking
> libavcodec.
> 
> I unfortunately cannot test attached patch, anybody who can?

Using the Android ndk compiler it improves things but compilation still 
fails with those config options

Before patch:
arm-linux-androideabi/bin/ld: libavcodec/libavcodec.so: error: undefined 
reference to 'ff_fft_fixed_calc_neon'
arm-linux-androideabi/bin/ld: libavcodec/libavcodec.so: error: undefined 
reference to 'ff_fft_permute_neon'
arm-linux-androideabi/bin/ld: libavcodec/libavcodec.so: error: undefined 
reference to 'ff_fft_calc_neon'
arm-linux-androideabi/bin/ld: libavcodec/libavcodec.so: error: undefined 
reference to 'ff_put_h264_chroma_mc8_neon'
arm-linux-androideabi/bin/ld: libavcodec/libavcodec.so: error: undefined 
reference to 'ff_put_h264_chroma_mc4_neon'
arm-linux-androideabi/bin/ld: libavcodec/libavcodec.so: error: undefined 
reference to 'ff_put_h264_chroma_mc2_neon'
arm-linux-androideabi/bin/ld: libavcodec/libavcodec.so: error: undefined 
reference to 'ff_avg_h264_chroma_mc8_neon'
arm-linux-androideabi/bin/ld: libavcodec/libavcodec.so: error: undefined 
reference to 'ff_avg_h264_chroma_mc4_neon'
arm-linux-androideabi/bin/ld: libavcodec/libavcodec.so: error: undefined 
reference to 'ff_avg_h264_chroma_mc2_neon'
collect2: ld returned 1 exit status
make: *** [ffprobe_g] Error 1

After patch:
arm-linux-androideabi/bin/ld: libavcodec/libavcodec.so: error: undefined 
reference to 'ff_put_h264_chroma_mc8_neon'
arm-linux-androideabi/bin/ld: libavcodec/libavcodec.so: error: undefined 
reference to 'ff_put_h264_chroma_mc4_neon'
arm-linux-androideabi/bin/ld: libavcodec/libavcodec.so: error: undefined 
reference to 'ff_put_h264_chroma_mc2_neon'
arm-linux-androideabi/bin/ld: libavcodec/libavcodec.so: error: undefined 
reference to 'ff_avg_h264_chroma_mc8_neon'
arm-linux-androideabi/bin/ld: libavcodec/libavcodec.so: error: undefined 
reference to 'ff_avg_h264_chroma_mc4_neon'
arm-linux-androideabi/bin/ld: libavcodec/libavcodec.so: error: undefined 
reference to 'ff_avg_h264_chroma_mc2_neon'
collect2: ld returned 1 exit status
make: *** [ffprobe_g] Error 1

So the fft changes seems to work correctly. at least.

-- 
Gavin Kinsey
AD Holdings Plc


--------------------------------------------------------
This email and any files transmitted with it are CONFIDENTIAL and intended solely for the use of the individual or entity to whom they are addressed. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system; you may not copy this message or disclose its contents to anyone. The recipient should check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the Company. Contact Customer Services for details customerservices at dmicros.com


More information about the ffmpeg-devel mailing list