[XviD-devel] OSX 10.5 xvid build problem

Steven M. Schultz sms at 2BSD.COM
Sat Dec 1 09:50:37 CET 2007



On Sat, 1 Dec 2007 pageexec at freemail.hu wrote:

> On 30 Nov 2007 at 21:11, Steven M. Schultz wrote:
> 
> > 	I am not an assembly coder but the error seems to saying that there is
> > 	a problem using non-PIC code to build a shared library.
> > 
> > 	Anyone else trying to build on OSX 10.5 with a Intel based Mac?  If so
> > 	is there a fix/workaround for the problem?
> 
> maybe http://bugs.gentoo.org/show_bug.cgi?id=135326 can be of help.

	Thank you!

	That patch _almost_ was the right thing - it started to apply but
	then a few files later it fails ;(

File to patch: src/quant/x86_asm/quantize_mpeg_mmx.asm
patching file src/quant/x86_asm/quantize_mpeg_mmx.asm
Hunk #1 FAILED at 162.
Hunk #2 FAILED at 175.
Hunk #3 succeeded at 326 with fuzz 2 (offset 88 lines).
Hunk #4 FAILED at 439.
Hunk #5 FAILED at 453.
Hunk #6 FAILED at 497.
Hunk #7 succeeded at 481 (offset -84 lines).
Hunk #8 succeeded at 524 (offset -84 lines).
Hunk #9 succeeded at 549 (offset -84 lines).
Hunk #10 succeeded at 595 (offset -84 lines).
Hunk #11 succeeded at 641 (offset -84 lines).
Hunk #12 succeeded at 652 (offset -84 lines).
Hunk #13 succeeded at 683 (offset -84 lines).
5 out of 13 hunks FAILED -- saving rejects to file src/quant/x86_asm/quantize_mpeg_mmx.asm.rej

	Hmmm, it seems that the patch doesn't apply cleanly to the current
	CVS xvid.  

	It seems strange to me that the patch, from January 2007, still has
	not been integrated into the CVS version.  Was the patch submitted to 
	the xvid maintainers?  

	Thank you for the reply - it was helpful but it seems more is needed.

	Cheers,
	Steven Schultz



More information about the XviD-devel mailing list