FFmpeg-Android icon indicating copy to clipboard operation
FFmpeg-Android copied to clipboard

arm-linux-androideabi-gcc is unable to create an executable file. C compiler test failed.

Open ddpatel2606 opened this issue 10 years ago • 8 comments

i am having error :

agile@agilepc-123:~/Desktop/NDK_FFMPEG/ffmpeg$ ./build_ffmpeg_for_android.sh

/home/agile/Desktop/NDK_FFMPEG/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/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 [email protected] 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. Makefile:2: config.mak: No such file or directory Makefile:59: /common.mak: No such file or directory Makefile:100: /libavutil/Makefile: No such file or directory Makefile:100: /library.mak: No such file or directory Makefile:102: /doc/Makefile: No such file or directory Makefile:185: /tests/Makefile: No such file or directory make: *** No rule to make target /tests/Makefile'. Stop. Makefile:2: config.mak: No such file or directory Makefile:59: /common.mak: No such file or directory Makefile:100: /libavutil/Makefile: No such file or directory Makefile:100: /library.mak: No such file or directory Makefile:102: /doc/Makefile: No such file or directory Makefile:185: /tests/Makefile: No such file or directory make: *** No rule to make target/tests/Makefile'. Stop. Makefile:2: config.mak: No such file or directory Makefile:59: /common.mak: No such file or directory Makefile:100: /libavutil/Makefile: No such file or directory Makefile:100: /library.mak: No such file or directory Makefile:102: /doc/Makefile: No such file or directory Makefile:185: /tests/Makefile: No such file or directory make: *** No rule to make target `/tests/Makefile'. Stop.

Please help me to solve this error.

ddpatel2606 avatar Feb 06 '15 07:02 ddpatel2606

Is ~/Desktop/NDK_FFMPEG/ffmpeg the ffmpeg root directory? e.g: Does it contain configure and config.mak?

OnlyInAmerica avatar Feb 07 '15 03:02 OnlyInAmerica

yes it is...

ddpatel2606 avatar Feb 07 '15 13:02 ddpatel2606

ddpatel2606

Did you fix the issue? me too getting the same issue while build ffmpeg for Android I am using Mac OSX 10.9.5 ,NDK r10d and ffmpeg 2.6.1.If you solve your issue please post what have you done.

karthikeyan-kandasamy avatar Apr 03 '15 05:04 karthikeyan-kandasamy

I have the same issue! Did you fix the issue?

start141 avatar Apr 22 '15 07:04 start141

Me too,have you solved it?

BabyMelvin avatar Nov 17 '17 06:11 BabyMelvin

Please FIX!

DrRayThe2nd avatar Jan 17 '18 22:01 DrRayThe2nd

having the same issue

lattice0 avatar Jul 29 '19 07:07 lattice0

these file have been removed from ndk 16 or higher. download NDK 15c will fix it https://developer.android.com/ndk/downloads/older_releases.html#ndk-15c-downloads

nguyenxvn avatar Sep 21 '19 09:09 nguyenxvn