From 73b23be06dc16f88f7204f7538cbcdbcab592b28 Mon Sep 17 00:00:00 2001 From: gpoirier Date: Fri, 7 Jul 2006 09:10:43 +0000 Subject: Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18930 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/xml/en/faq.xml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'DOCS/xml') diff --git a/DOCS/xml/en/faq.xml b/DOCS/xml/en/faq.xml index 6a32c45aab..42dc1803a9 100644 --- a/DOCS/xml/en/faq.xml +++ b/DOCS/xml/en/faq.xml @@ -148,6 +148,50 @@ It's called XFree86-devel* under Red Hat, and 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). + + + -- cgit v1.2.3