[XviD-devel] Mac OS X Mactel compilation

Robert Swain robert.swain at gmail.com
Mon Jul 31 20:55:11 CEST 2006


pageexec at freemail.hu wrote:
> On 31 Jul 2006 at 17:51, Robert Swain wrote:
>>    L: libxvidcore.4.dylib
>> ld: bitstream/x86_asm/cbp_mmx.o has local relocation entries in non-writable 
>> section (__TEXT,__text)
>> /usr/bin/libtool: internal link edit command failed
>> make: *** [libxvidcore.4.dylib] Error 1
>>
>> I was told that some linkers are lenient on this issue but some aren't. As 
>> stated, I would like to get assembly code working on my MacBook. Any suggestions 
>> would be appreciated.
> 
> gentoo has fixes for text relocations in xvid, maybe it works on mac os x too:
> 
> http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/distfiles/xvid-1.1.0-textrel-2.patch.bz2

Worth a try but it doesn't like the ..gotoff stuff:

../../src/dct/x86_asm/fdct_mmx_ffmpeg.asm:428: error: symbol `..gotpc' undefined
../../src/dct/x86_asm/fdct_mmx_ffmpeg.asm:428: error: symbol `..gotoff' undefined

and much more...

Rob


More information about the XviD-devel mailing list