Coder Social home page Coder Social logo

build-scripts-of-ffmpeg-x264-for-android-ndk's Introduction

build-scripts-of-ffmpeg-x264-with-android-ndk

ffmpeg build scripts with android ndk (including x264)

Document

build-scripts-of-ffmpeg-x264-for-android-ndk's People

Contributors

royguanyu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

build-scripts-of-ffmpeg-x264-for-android-ndk's Issues

make: *** [libavutil/libavutil.so.55] Error 1

LD	libavutil/libavutil.so.55
/home/user/Android/AndroidStudioProjects/FFmpeg/toolchain-android/sysroot/usr/lib/crtbegin_dynamic.o:crtbegin.c:function _start_main: error: undefined reference to 'main'
libavutil/file.o:file.c:function av_file_map: error: undefined reference to 'mmap64'
libavutil/log.o:log.c:function colored_fputs.part.0: error: undefined reference to 'stderr'
libavutil/log.o:log.c:function av_log_default_callback: error: undefined reference to 'stderr'
collect2: error: ld returned 1 exit status
ffbuild/library.mak:102: recipe for target 'libavutil/libavutil.so.55' failed
make: *** [libavutil/libavutil.so.55] Error 1
Android ARMv7-a builds finished

Error during build

When I run ./build_android_all.sh

I see tons of such errors,
error: no include path in which to search for limits.h

do you have a hint for us, how to solve this ?

You can run 'make' or 'make fprofiled' now.
dependency file generation...
In file included from /Users/hannes/Development/adt/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /Users/hannes/Development/adt/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from ./common/base.h:49,
from ./common/base.c:27:
/Users/hannes/Development/adt/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> /* recurse down to the real one /
^
In file included from /Users/hannes/Development/adt/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /Users/hannes/Development/adt/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from ./common/base.h:49,
from ./common/cpu.c:28:
/Users/hannes/Development/adt/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> /
recurse down to the real one */

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

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$ 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.