Linux下编译ffmpeg报错gcc is unable to create an executable file C compiler test failed.

艾米吖

关注

阅读 101

2022-06-06

代码报错信息:

clang is unable to create an executable file.
If clang 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.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.

原因:linux系统没有安装gcc编译器

yum install gcc


精彩评论(0)

0 0 举报