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

Gavin Kinsey gkinsey at ad-holdings.co.uk
Fri Feb 15 14:45:14 CET 2013


On Friday 15 February 2013 13:17:14 Carl Eugen Hoyos wrote:
> Gavin Kinsey <gkinsey <at> ad-holdings.co.uk> writes:
> > 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
> 
> Thank you!
> Could you test the following configure line with
> and without the patch?
> $ ./configure --disable-encoders --disable-decoders \
> --disable-swresample --enable-shared --enable-decoder=h264

Without 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'
collect2: ld returned 1 exit status
make: *** [ffprobe_g] Error 1

With patch compiles correctly.

-- 
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