byhook / ffmpeg4android

音视频学习实践,从移植ffmpeg库到android平台,混合编译x264库以及fdk-aac库,到相机音频采集编码推流到RTMP服务器的学习记录
778 stars 258 forks source link

C compiler test failed #3

Open MhiauGe opened 5 years ago

MhiauGe commented 5 years ago

你好,使用你的编译步骤,其他的没问题题,就是如果编译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