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

Maroti Mulange maroti.mulange at mindbowser.com
Tue Aug 23 14:52:37 EEST 2016


Hi,
I have tried the above code on my terminal he gives me "No such file or
directory" error.
and when I tried below code
mindbowser at ubuntu:~/FFMPEG/android-ndk-r12b/ffmpeg-3.1.2$ ./configure
--cross-prefix=./FFMPEG/android-ndk-r12b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-
--arch=arm --target-os=android
--sysroot=./FFMPEG/android-ndk-r12b/platforms/android-24/arch-arm
--cpu=cortex-a8

 give me following error.
./FFMPEG/android-ndk-r12b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
is unable to create an executable file.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.

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



On Wed, Aug 17, 2016 at 7:11 PM, Carl Eugen Hoyos <ceffmpeg at gmail.com>
wrote:

> Hi!
>
> 2016-08-17 15:24 GMT+02:00 Maroti Mulange <maroti.mulange at mindbowser.com>:
> > or how ffmpeg build smoothly with android?
>
> After putting current FFmpeg and ndk in the same directory I created a
> build directory
> and successfully tested:
> $ ../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
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>



-- 
Thanks and regards,
Maroti Mulange
Software Engineer | Mindbowser Info Solutions
Mobile: +91 9130608079
Skype: mm.mindbowser
Website: www.mindbowser.com


More information about the ffmpeg-user mailing list