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


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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM