【问题标题】:Compilation error when compiling libvpx for FFMPEG为 FFMPEG 编译 libvpx 时出现编译错误
【发布时间】:2014-11-23 21:11:25
【问题描述】:

我正在我的 64 位 Ubuntu 14 机器上编译 FFMPEG。一切都编译得很好,除了 libvpx 库,它不断抛出错误:

[AS] vp9/common/x86/vp9_subpixel_8t_ssse3.asm.o
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:856: warning: label alone on a line without a colon might be in error
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:897: warning: label alone on a line without a colon might be in error
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:970: warning: label alone on a line without a colon might be in error
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:1002: warning: label alone on a line without a colon might be in error
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:340: error: invalid combination of opcode and operands
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:457: error: invalid combination of opcode and operands
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:897: error: invalid combination of opcode and operands
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:1002: error: invalid combination of opcode and operands
make[1]: *** [vp9/common/x86/vp9_subpixel_8t_ssse3.asm.o] Error 1
make: *** [.DEFAULT] Error 2

我遵循了这个指南:https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu 我不知道这个错误是什么意思,但是在某处读到用 NASM 编译 libvpx 被破坏了,但我不知道如何编译它。安装 1.2 或 1.1 版没有任何区别。有什么想法吗?

【问题讨论】:

    标签: compiler-errors ffmpeg nasm yasm libvpx


    【解决方案1】:

    用 Yasm 编译就可以了:

    PATH="$PATH:$HOME/bin" ./configure --prefix="$HOME/ffmpeg_build" --disable-examples
    PATH="$PATH:$HOME/bin" make
    

    假设 Yasm 是在 home 目录下编译的

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-04-02
      • 2012-03-08
      • 2020-02-04
      • 2023-04-11
      • 2012-08-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多