[x264-devel] Build errors in dct-a.asm and quant-a.asm

Guillaume POIRIER poirierg at gmail.com
Sun Mar 23 11:15:47 CET 2008


Hello,

On Sat, Mar 22, 2008 at 9:10 PM, vmrsss <vmrsss at gmail.com> wrote:
> Hello.
>
>         I can't compile x264 from git because of undefined symbols in dct-
>  a.asm and quant-a.asm (see below). My architecture is MACOSX X86
>  (Intel Core 2  Duo). Don't really understand what's happening, worked
>  well till this version:
>
>  > x264 --version
>  > x264 0.58.749 096b390
>
>  Can anybody help?
>  Thanks.
>
>  > yasm -O2 -f macho -DPREFIX -DHAVE_SSE3 -D__PIC__ -Icommon/x86/ -o
>  > common/x86/dct-a.o common/x86/dct-a.asm
>  > common/x86/dct-a.asm:263: error: undefined symbol
>  > `_x264_add4x4_idct_mmx.skip_prologue' (first use)
>  > common/x86/dct-a.asm:263: error:  (Each undefined symbol is reported
>  > only once.)
>  > common/x86/dct-a.asm:266: error: undefined symbol
>  > `_x264_add8x8_idct_mmx.skip_prologue' (first use)
>  > make: *** [common/x86/dct-a.o] Error 1
>
>
>  > yasm -O2 -f macho -DPREFIX -DHAVE_SSE3 -Icommon/x86/ -o common/x86/
>  > quant-a.o common/x86/quant-a.asm
>  > common/x86/quant-a.asm:321: error: undefined symbol
>  > `_x264_dequant_4x4_mmx.rshift32' (first use)
>  > common/x86/quant-a.asm:321: error:  (Each undefined symbol is
>  > reported only once.)
>  > common/x86/quant-a.asm:322: error: undefined symbol
>  > `_x264_dequant_8x8_mmx.rshift32' (first use)
>  > common/x86/quant-a.asm:326: error: undefined symbol
>  > `_x264_dequant_8x8_sse2.rshift32' (first use)
>  > make: *** [common/x86/quant-a.o] Error 1

What version of YASM are you using? Is it the very latest version?

Guillaume
-- 
A soldier will fight long and hard for a bit of colored ribbon.
 -- Napoleon Bonaparte


More information about the x264-devel mailing list