解决nasm/yasm not found or too old. Use --disable-x86asm for a crippled build报错

在编译ffmpeg时,执行./configure,报出了如下错误
nasm/yasm not found or too old. Use –disable-x86asm for a crippled build.
后在网上找到了解决方法:
1.在http://www.tortall.net/projects/yasm/releases/上下载适合自己的版本
2.解压并进入yasm的目录
3.执行./configure
4.执行make
5.执行sudo make install
安装成功后再在ffmpeg下执行configure即可通过

  • 3
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
http://www.linuxfromscratch.org/blfs/view/svn/general/yasm.html Introduction to yasm Yasm is a complete rewrite of the NASM-2.14.02 assembler. It supports the x86 and AMD64 instruction sets, accepts NASM and GAS assembler syntaxes and outputs binary, ELF32 and ELF64 object formats. This package is known to build and work properly using an LFS-9.1 platform. Package Information Download (HTTP): http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz Download MD5 sum: fc9e586751ff789b34b1f21d572d96af Download size: 1.5 MB Estimated disk space required: 27 MB (additional 12 MB for the tests) Estimated build time: 0.1 SBU (additional 0.1 SBU for the tests) yasm Dependencies Optional Python-2.7.18 and Cython User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/yasm Installation of yasm Install yasm by running the following commands: sed -i 's#) ytasm.*#)#' Makefile.in && ./configure --prefix=/usr && make To test the results, issue: make check. Now, as the root user: make install Command Explanations sed -i 's#) ytasm.*#)#' Makefile.in: This sed prevents it compiling 2 programs (vsyasm and ytasm) that are only of use on Microsoft Windows. Contents Installed Program: yasm Installed Library: libyasm.a Installed Directory: /usr/include/libyasm Short Descriptions yasm is a portable, retargetable assembler that supports the x86 and AMD64 instruction sets, accepts NASM and GAS assembler syntaxes and outputs binaries in ELF32 and ELF64 object formats. libyasm.a provides all of the core functionality of yasm, for manipulating machine instructions and object file constructs.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值