编译libvpx for FFMPEG时的编译错误

时间:2014-09-29 12:57:38

标签: compiler-errors ffmpeg nasm yasm libvpx

我在我的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版没有任何区别。有什么想法吗?

1 个答案:

答案 0 :(得分:2)

用Yasm编译它就可以了:

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

假设Yasm在主目录中编译