# HG changeset patch # User gpoirier # Date 1152263443 0 # Node ID 7e6f4455b73253eedd8a6ad53ead125a214c9ed8 # Parent 8e16d54a788e2d792e370af9c4a50970c3fe6fdc Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem diff -r 8e16d54a788e -r 7e6f4455b732 DOCS/xml/en/faq.xml --- a/DOCS/xml/en/faq.xml Thu Jul 06 20:49:23 2006 +0000 +++ b/DOCS/xml/en/faq.xml Fri Jul 07 09:10:43 2006 +0000 @@ -148,6 +148,50 @@ can be a problem on Mandrake systems). + + + + +Building on Mac OS 10.3 leads to several link errors + +The link error you're experiencing most likely looks like this: + +ld: Undefined symbols: +_LLCStyleInfoCheckForOpenTypeTables referenced from QuartzCore expected to be defined in ApplicationServices +_LLCStyleInfoGetUserRunFeatures referenced from QuartzCore expected to be defined in ApplicationServices + +This problem is the result of Apple developers using 10.4 to compile +their software and distributing the binaries to 10.3 users via +Software Update. +The undefined symbols are present in Mac OS 10.4, +but not 10.3. +One solution can be to downgrade to QuickTime 7.0.1. +Here is a better solution. + +Get an older copy of the frameworks. +This will give you a compressed file that contains the QuickTime +7.0.1 Framework and a 10.3.9 QuartzCore Framework. + +Uncompress the files somewhere that is not in your System folder. +(i.e. do not install these frameworks into your +/System/Library/Frameworks! +Using this older copy is only meant to get around link errors!) + +gunzip < CompatFrameworks.tgz | tar xvf - + +In config.mak, you should append +-F/path/to/where/you/extracted +to the OPTFLAGS variable. +If you use X-Code, you can just select these +frameworks instead of the system ones. + +The resulting MPlayer binary will actually +use the framework that is installed on your system via dynamic links that +are resolved at run-time. +(You can verify this using otool -l). + + +