Skip to content

Error in build #33

Description

@krishnamurthy-srinivas

Hi Madhavan,

I am trying build from source using the steps that you have given. I am building on a Windows pc so,

  1. Downloaded the android-ndk-r18b-windows-x86_64 ndk
  2. Cloned the ffmpeg source using git
  3. Replaced the 4 lines in the configure file
  4. Created the build_ffmpeg.sh file and added the content given in wiki
  5. Changed line 2 in the build_ffmpeg.sh to NDK=/mnt/c/Android/AndroidVideoProcessing/android-ndk-r18b-linux-x86_64/android-ndk-r18b which is the correct location of the ndk directory
  6. Changed line 3 in the build_ffmpeg.sh to SYSROOT=$NDK/platforms/android-16/arch-x86/
  7. Changed line 4 in the build_ffmpeg.sh to TOOLCHAIN=$NDK/toolchains/x86_64-4.9/prebuilt/linux-x86_64
  8. Changed line 23 in the build_ffmpeg.sh to --cross-prefix=$TOOLCHAIN/bin/x86_64-linux-android- \
  9. I then execute chmod a+x build_ffmpeg.sh
  10. Now, when I try to execute ./build_ffmpeg.sh, I get the following (=yes: not found eval are too many in number so am copying a few only here), can you please help me sort the problem out:

=yes: not found eval: librtmpte_protocol
=yes: not found eval: libsrt_protocol
=yes: not found eval: libssh_protocol
=yes: not found eval: libsmbclient_protocol (there are many many more similar messages starting from =yes: not found eval: xxxxxx)
Unknown option "--disable-ffserver".
See ./configure --help for available options.
Makefile:2: ffbuild/config.mak: No such file or directory
Makefile:40: /tools/Makefile: No such file or directory
Makefile:41: /ffbuild/common.mak: No such file or directory
Makefile:91: /libavutil/Makefile: No such file or directory
Makefile:91: /ffbuild/library.mak: No such file or directory
Makefile:93: /fftools/Makefile: No such file or directory
Makefile:94: /doc/Makefile: No such file or directory
Makefile:95: /doc/examples/Makefile: No such file or directory
Makefile:160: /tests/Makefile: No such file or directory
make: *** No rule to make target '/tests/Makefile'. Stop.
Makefile:2: ffbuild/config.mak: No such file or directory
Makefile:40: /tools/Makefile: No such file or directory
Makefile:41: /ffbuild/common.mak: No such file or directory
Makefile:91: /libavutil/Makefile: No such file or directory
Makefile:91: /ffbuild/library.mak: No such file or directory
Makefile:93: /fftools/Makefile: No such file or directory
Makefile:94: /doc/Makefile: No such file or directory
Makefile:95: /doc/examples/Makefile: No such file or directory
Makefile:160: /tests/Makefile: No such file or directory
make: *** No rule to make target '/tests/Makefile'. Stop.
Makefile:2: ffbuild/config.mak: No such file or directory
Makefile:40: /tools/Makefile: No such file or directory
Makefile:41: /ffbuild/common.mak: No such file or directory
Makefile:91: /libavutil/Makefile: No such file or directory
Makefile:91: /ffbuild/library.mak: No such file or directory
Makefile:93: /fftools/Makefile: No such file or directory
Makefile:94: /doc/Makefile: No such file or directory
Makefile:95: /doc/examples/Makefile: No such file or directory
Makefile:160: /tests/Makefile: No such file or directory
make: *** No rule to make target '/tests/Makefile'. Stop.

Can you tell me what is causing the build to fail? Thanks a lot.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions