build-scripts-of-ffmpeg-x264-for-android-ndk icon indicating copy to clipboard operation
build-scripts-of-ffmpeg-x264-for-android-ndk copied to clipboard

arm-linux-androideabi-gcc is unable to create an executable file.

Open bipinvaylu opened this issue 6 years ago • 3 comments

Getting this error. Please find CLI logs here.

Following from here: https://yesimroy.gitbooks.io/android-note/content/compile_ffmpeg_for_android.html

My-MacBook-Pro:ffmpeg bipin$ ./build_android_all.sh 
/Users/bipin/android/android-sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-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:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /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:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /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:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.
Android ARMEABI builds finished
ERROR: libx264 not found

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:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /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:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /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:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.
Android ARMv7-a builds finished
/Users/bipin/android/android-sdk/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-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 "conflog.txt" produced by configure as this will help
solve the problem.
Makefile:2: config.mak: No such file or directory
Makefile:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /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:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /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:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.
Android ARM64 builds finished
/Users/bipin/android/android-sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/darwin-x86_64/bin/i686-linux-android-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 "conflog.txt" produced by configure as this will help
solve the problem.
Makefile:2: config.mak: No such file or directory
Makefile:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /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:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /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:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.
Android X86 builds finished
/Users/bipin/android/android-sdk/ndk-bundle/toolchains/x86_64-4.9/prebuilt/darwin-x86_64/bin/x86_64-linux-android-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 "conflog.txt" produced by configure as this will help
solve the problem.
Makefile:2: config.mak: No such file or directory
Makefile:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /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:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /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:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.
Android X86_64 builds finished
Unknown option "--disable-mipsdspr1".
See ./configure --help for available options.
Makefile:2: config.mak: No such file or directory
Makefile:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /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:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /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:64: /common.mak: No such file or directory
Makefile:106: /libavutil/Makefile: No such file or directory
Makefile:106: /library.mak: No such file or directory
Makefile:108: /doc/Makefile: No such file or directory
Makefile:195: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.
Android MIPS builds finished
My-MacBook-Pro:ffmpeg bipin$ 

bipinvaylu avatar Mar 19 '18 20:03 bipinvaylu

same problem

monxarat avatar Sep 25 '18 11:09 monxarat

@bipinvaylu @monxarat is there any update?

24Lathiya avatar Apr 04 '19 10:04 24Lathiya

make sure you use right ndk for windows ? linux 32 ? 64 ? or darwin ? this codes is for darwin.

jimupon avatar Jul 12 '19 01:07 jimupon