[XviD-devel] OSX 10.5 Intel Build fail

Christoph Nägeli chn1 at mac.com
Fri Dec 28 14:48:33 CET 2007


Hi,

In addition, XviD crashes in SSE2 code if built on 10.5.1 using the  
static lib.

--
Cheers
Christoph

> 	OSX 10.5's linker is not as forgiving as 10.4's was so now on
> 	10.5.1 I get this:
>
> A: plugins/x86_asm/plugin_ssim-a.asm
>   L: libxvidcore.a
>   ranlib: file: libxvidcore.a(timer.o) has no symbols
>   ranlib: file: libxvidcore.a(timer.o) has no symbols
>   L: libxvidcore.4.dylib
>   ld: absolute addressing (perhaps -mdynamic-no-pic) used in  
> _calc_cbp_mmx from bitstream/x86_asm/cbp_mmx.o not allowed in  
> slidable image
>   collect2: ld returned 1 exit status
> gmake: *** [libxvidcore.4.dylib] Error 1
>
> 	In src/bitstream/x86_asm/cbp_mmx.asm there is some non-PIC code
> 	that does not link on OSX 10.5
>
> 	Compile is fine but the inline asm is incorrect somehow...


More information about the XviD-devel mailing list