我是靠谱客的博主 诚心紫菜,最近开发中收集的这篇文章主要介绍Linux下编译ffmpeg报错gcc is unable to create an executable file C compiler test failed.,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

代码报错信息:

[root@bjs1 ffmpeg-3.2.2]# ./configure --enable-shared --prefix=/usr/local/ffmpeg
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 “config.log” produced by configure as this will help
solve the problem.

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

yum install gcc

最后

以上就是诚心紫菜为你收集整理的Linux下编译ffmpeg报错gcc is unable to create an executable file C compiler test failed.的全部内容,希望文章能够帮你解决Linux下编译ffmpeg报错gcc is unable to create an executable file C compiler test failed.所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(36)

评论列表共有 0 条评论

立即
投稿
返回
顶部