Linux Centos 提示:gcc is unable to create an executable file

原创 HuangLongPu     发表于  2021-04-19 15:58       369
原文链接:

在 Linux Centos 中,如果没有安装 gcc 环境,在运行编译命令 ” ./configure “ 时,会提示缺少 gcc 环境的异常。

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.

解决方法

yum install -y gcc

相关文章

HuangLongPu
2
1385/2000
文章数
151
阅读量
74903
原创
109
广告
公众号