FFMPEG系列三:linux下編譯ffmpeg報錯gcc is unable to create an executable file C compiler test failed.
阿新 • • 發佈:2019-01-30
linux編譯ffmpeg過程報錯
gcc is unable to create an executable file C compiler test failed.
網上找了一圈,關於這個問題的答案少之又少。具體報錯資訊如下:
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
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.
[csy@root@instance-m4tjyg0q ffmpeg-4.0]#
原因:linux系統沒有安裝gcc編譯器
yum install gcc
終端輸入上述命令安裝即可