[x264-devel] Build errors in dct-a.asm and quant-a.asm
vmrsss
vmrsss at gmail.com
Mon Mar 24 14:04:52 CET 2008
On 23 Mar 2008, at 17:26, Robert Swain wrote:
>>>> $ yasm --version
>>>> yasm 0.6.99.HEAD
>>>> Compiled on Mar 23 2008.
>>>> Copyright (c) 2001-2007 Peter Johnson and other Yasm developers.
>>>> Run yasm --license for licensing overview and summary.
>>
>> Works fine here:
>>
>> yasm 0.6.2.1985
>> Compiled on Feb 3 2008.
>
> Current git code works in 32-bit OS X Leopard using yasm 0.6.2.1985
> for me.
I'm on leopard 10.5.2, trying to compile statically the latest version
from git. It worked now. For the record, there were two problems:
(1) yasm 0.6.99 HEAD (from SVN) does not work:
> 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
(2) yasm 0.6.2 does not work with --enable-pic
> yasm -O2 -f macho -DPREFIX -DHAVE_SSE3 -D__PIC__ -Icommon/x86/ -o
> common/x86/cabac-a.o common/x86/cabac-a.asm
> common/x86/cabac-a.asm:86: undefined symbol `fakegot' (first use)
> common/x86/cabac-a.asm:86: (Each undefined symbol is reported only
> once.)
> make: *** [common/x86/cabac-a.o] Error 1
but the same command works fine without -D__PIC__.
(ps: --enable-shared has never worked for me.)
More information about the x264-devel
mailing list