bilibili / ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.
GNU General Public License v2.0
32.54k stars 8.13k forks source link

C compiler test failed. #4256

Open chenxuedan opened 6 years ago

chenxuedan commented 6 years ago

请问一下,运行脚本./compile-ffmpeg.sh all之后,就一直报C compiler test failed.这个问题,请问一下要怎么解决,是哪个地方出现了问题?

zhuwei commented 6 years ago

Please search Issues

hongyang51 commented 6 years ago

cd config rm module.sh ln -s module-lite.sh module.sh @chenxuedan

0.8.8 please use this way ! module-lite.sh is must !
说英语好累

Base2526 commented 6 years ago

==================== [*] check xcode version

FF_ALL_ARCHS = armv7 arm64 i386 x86_64

[*] check host

FF_ARCH=armv7 FF_BUILD_OPT= build_root: /Users/somkid/Downloads/ijkplayer-ios/ios

[*] check gas-preprocessor

gasp: /Users/somkid/Downloads/ijkplayer-ios/ios/../extra/gas-preprocessor/gas-preprocessor.pl

[*] config arch armv7

build_name: ffmpeg-armv7 platform: iPhoneOS osversion: -miphoneos-version-min=6.0

[*] make ios toolchain ffmpeg-armv7

build_source: /Users/somkid/Downloads/ijkplayer-ios/ios/ffmpeg-armv7 build_prefix: /Users/somkid/Downloads/ijkplayer-ios/ios/build/ffmpeg-armv7/output


[*] configurate ffmpeg


[*] check OpenSSL


[*] configure

config: --disable-gpl --disable-nonfree --enable-runtime-cpudetect --disable-gray --disable-swscale-alpha --disable-programs --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-avdevice --enable-avcodec --enable-avformat --enable-avutil --enable-swresample --enable-swscale --disable-postproc --enable-avfilter --disable-avresample --enable-network --disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vda --disable-vdpau --disable-videotoolbox --disable-encoders --enable-encoder=png --disable-decoders --enable-decoder=aac --enable-decoder=aac_latm --enable-decoder=flv --enable-decoder=h264 --enable-decoder=mp3 --enable-decoder=vp6f --enable-decoder=flac --enable-decoder=hevc --enable-decoder=vp8 --enable-decoder=vp9 --disable-hwaccels --disable-muxers --enable-muxer=mp4 --disable-demuxers --enable-demuxer=aac --enable-demuxer=concat --enable-demuxer=data --enable-demuxer=flv --enable-demuxer=hls --enable-demuxer=live_flv --enable-demuxer=mov --enable-demuxer=mp3 --enable-demuxer=mpegps --enable-demuxer=mpegts --enable-demuxer=mpegvideo --enable-demuxer=flac --enable-demuxer=hevc --enable-demuxer=webm_dash_manifest --disable-parsers --enable-parser=aac --enable-parser=aac_latm --enable-parser=h264 --enable-parser=flac --enable-parser=hevc --enable-bsfs --disable-bsf=chomp --disable-bsf=dca_core --disable-bsf=dump_extradata --disable-bsf=hevc_mp4toannexb --disable-bsf=imx_dump_header --disable-bsf=mjpeg2jpeg --disable-bsf=mjpega_dump_header --disable-bsf=mov2textsub --disable-bsf=mp3_header_decompress --disable-bsf=mpeg4_unpack_bframes --disable-bsf=noise --disable-bsf=remove_extradata --disable-bsf=text2movsub --disable-bsf=vp9_superframe --enable-protocols --enable-protocol=async --disable-protocol=bluray --disable-protocol=concat --disable-protocol=crypto --disable-protocol=ffrtmpcrypt --enable-protocol=ffrtmphttp --disable-protocol=gopher --disable-protocol=icecast --disable-protocol=librtmp --disable-protocol=libssh --disable-protocol=md5 --disable-protocol=mmsh --disable-protocol=mmst --disable-protocol=rtmp* --enable-protocol=rtmp --enable-protocol=rtmpt --disable-protocol=rtp --disable-protocol=sctp --disable-protocol=srtp --disable-protocol=subfile --disable-protocol=unix --disable-devices --disable-filters --disable-iconv --disable-audiotoolbox --disable-videotoolbox --disable-linux-perf --disable-bzlib --enable-cross-compile --disable-stripping --arch=armv7 --target-os=darwin --enable-static --disable-shared --enable-pic --enable-neon --enable-optimizations --enable-debug --enable-small --prefix=/Users/somkid/Downloads/ijkplayer-ios/ios/build/ffmpeg-armv7/output xcrun -sdk iphoneos clang xcrun -sdk iphoneos clang 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.