[FFmpeg-user] FFMPEG build issue arm-linux-androideabi-gcc is unable to create an executable file. C compiler test failed.

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Aug 23 16:17:46 EEST 2016


Hi!

2016-08-23 13:52 GMT+02:00 Maroti Mulange <maroti.mulange at mindbowser.com>:
> My Directory structure in the following way.
> FFMPEG/android-ndk-r12b/ffmpeg-3.1.2
> FFMPEG/android-ndk-r12b/ndk-build and condigure file is
> FFMPEG/android-ndk-r12b/ffmpeg-3.1.2/configure

Please test the following:
$ mkdir FFMPEG
$ cd FFMPEG
$ wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
$ tar xf ffmpeg-snapshot.tar.bz2
$ wget http://dl.google.com/android/repository/android-ndk-r12b-linux-x86_64.zip
$ unzip android-ndk-r12b-linux-x86_64.zip
$ mkdir build
$ cd build
$ ../ffmpeg/configure
--cross-prefix=../android-ndk-r12b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-
--arch=arm --target-os=android
--sysroot=../android-ndk-r12b/platforms/android-24/arch-arm
--enable-gpl --cpu=cortex-a8 && make ffmpeg

Please avoid top-posting here, Carl Eugen


More information about the ffmpeg-user mailing list