你好,使用你的编译步骤,其他的没问题题,就是如果编译arm64-v8a的话,就会出现C compiler test failed报错,不知道啥原因:
mpc@ubuntu:~/ffmpeg/4.0.2$ bash build_ffmpeg.sh arm64-v8a
TOOLCHAIN_BASE=aarch64-linux-android
TOOLNAME_BASE=aarch64-linux-android
AOSP_ABI=arm64-v8a
AOSP_ARCH=arch-arm64
AOSP_FLAGS=-funwind-tables -fexceptions -frtti
HOST=aarch64-linux
LIBS_DIR=/home/mpc/ffmpeg/4.0.2/libs/lib-ffmpeg
/home/mpc/app_packages/android/android-ndk-r10e/toolchains/aarch64-linux-android-4.9/prebuilt/linux-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
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
GEN libavutil/libavutil.version
GEN libswscale/libswscale.version
GEN libswresample/libswresample.version
GEN libpostproc/libpostproc.version
你好,使用你的编译步骤,其他的没问题题,就是如果编译arm64-v8a的话,就会出现C compiler test failed报错,不知道啥原因:
mpc@ubuntu:~/ffmpeg/4.0.2$ bash build_ffmpeg.sh arm64-v8a TOOLCHAIN_BASE=aarch64-linux-android TOOLNAME_BASE=aarch64-linux-android AOSP_ABI=arm64-v8a AOSP_ARCH=arch-arm64 AOSP_FLAGS=-funwind-tables -fexceptions -frtti HOST=aarch64-linux LIBS_DIR=/home/mpc/ffmpeg/4.0.2/libs/lib-ffmpeg /home/mpc/app_packages/android/android-ndk-r10e/toolchains/aarch64-linux-android-4.9/prebuilt/linux-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 ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem. GEN libavutil/libavutil.version GEN libswscale/libswscale.version GEN libswresample/libswresample.version GEN libpostproc/libpostproc.version