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

原创 HuangLongPu     发表于  2021-04-19 15:58       25

在 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 mailing list or IRC #ffmpeg on
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.


yum install -y gcc