[FFmpeg-user] Build error --mfpu=neon

Steve Kuo steve.ghitc at gmail.com
Tue Nov 20 19:13:57 CET 2012


Dear ffmpeg,

    I am a user who would like to build the ffmpeg library on Android. I
would like to turn on the neon support and hence I added the option "
-mfpu=neon" in extra-cflags. When I tried to make the build, the following
error comes:

=============================================================================================================================================
INSTALL    ffprobe
libavcodec/libavcodec.a(fft_fixed_init_arm.o): In function
`ff_fft_fixed_init_arm':
/home/guaihung/ffmpeg/jni/ffmpeg/libavcodec/arm/fft_fixed_init_arm.c:36:
undefined reference to `ff_fft_fixed_calc_neon'
libavcodec/libavcodec.a(fft_init_arm.o): In function `ff_fft_init_arm':
/home/guaihung/ffmpeg/jni/ffmpeg/libavcodec/arm/fft_init_arm.c:47:
undefined reference to `ff_fft_permute_neon'
/home/guaihung/ffmpeg/jni/ffmpeg/libavcodec/arm/fft_init_arm.c:47:
undefined reference to `ff_fft_calc_neon'
=============================================================================================================================================

    The build is FFMpeg 1.0 git on Ubuntu. I also attached with the
build_android.sh for reference. Please help if I make the script wrong or
what else I should do to fix it. Thanks in advance.

Best regards,
Steve Kuo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_android.sh
Type: application/x-sh
Size: 3176 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20121121/6b7ef035/attachment.sh>


More information about the ffmpeg-user mailing list