首页 > 其他 > 详细

ffmpeg gcc is unable to create an executable file C compiler test failed

时间:2020-02-29 20:19:19      阅读:323      评论:0      收藏:0      [点我收藏+]

ffmpeg 编译出现

#sudo ./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.
技术分享图片

 

 

没有安装GCC,

#sudo apt-get install gcc
 
 
如果出现一下错误,错误的意思是 yasm/nasm 包不存在或者很旧
yasm/nasm not found or too old. Use --disable-yasm for a crippled build.
技术分享图片

 

 

apt-get install yasm
安装成功继续回来安装ffmpeg

ffmpeg gcc is unable to create an executable file C compiler test failed

原文:https://www.cnblogs.com/shenxingping/p/12384543.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!