OnlyInAmerica / FFmpeg-Android

Script and Instructions for building FFmpeg for Android
83 stars 30 forks source link

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

Open ddpatel2606 opened 9 years ago

ddpatel2606 commented 9 years ago

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 ffmpeg-user@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. 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.

OnlyInAmerica commented 9 years ago

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

ddpatel2606 commented 9 years ago

yes it is...

karthikeyan-kandasamy commented 9 years ago

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.

start141 commented 9 years ago

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

BabyMelvin commented 7 years ago

Me too,have you solved it?

DrRayThe2nd commented 6 years ago

Please FIX!

lattice0 commented 5 years ago

having the same issue

nguyenxvn commented 5 years ago

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