comparison DOCS/xml/en/faq.xml @ 18925:7e6f4455b732

Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
author gpoirier
date Fri, 07 Jul 2006 09:10:43 +0000
parents 83c1acef76d5
children f0d5b7aa1bac
comparison
equal deleted inserted replaced
18924:8e16d54a788e 18925:7e6f4455b732
146 <filename class="directory">/usr/X11</filename> and 146 <filename class="directory">/usr/X11</filename> and
147 <filename class="directory">/usr/include/X11</filename> symlinks exist (this 147 <filename class="directory">/usr/include/X11</filename> symlinks exist (this
148 can be a problem on Mandrake systems). 148 can be a problem on Mandrake systems).
149 </para></answer> 149 </para></answer>
150 </qandaentry> 150 </qandaentry>
151
152
153 <qandaentry>
154 <question><para>
155 Building on Mac OS 10.3 leads to several link errors</para></question>
156 <answer><para>
157 The link error you're experiencing most likely looks like this:
158 <screen>
159 ld: Undefined symbols:
160 _LLCStyleInfoCheckForOpenTypeTables referenced from QuartzCore expected to be defined in ApplicationServices
161 _LLCStyleInfoGetUserRunFeatures referenced from QuartzCore expected to be defined in ApplicationServices
162 </screen>
163 This problem is the result of Apple developers using 10.4 to compile
164 their software and distributing the binaries to 10.3 users via
165 Software Update.
166 The undefined symbols are present in Mac OS 10.4,
167 but not 10.3.
168 One solution can be to downgrade to QuickTime 7.0.1.
169 Here is a better solution.
170 </para><para>
171 Get an <ulink url="http://rapidshare.de/files/20281171/CompatFrameworks.tgz.html">older copy of the frameworks</ulink>.
172 This will give you a compressed file that contains the QuickTime
173 7.0.1 Framework and a 10.3.9 QuartzCore Framework.
174 </para><para>
175 Uncompress the files somewhere that is not in your System folder.
176 (i.e. do not install these frameworks into your
177 <filename class="directory">/System/Library/Frameworks</filename>!
178 Using this older copy is only meant to get around link errors!)
179 <screen>
180 gunzip &lt; CompatFrameworks.tgz | tar xvf -
181 </screen>
182 In config.mak, you should append
183 <systemitem>-F/path/to/where/you/extracted</systemitem>
184 to the <systemitem>OPTFLAGS</systemitem> variable.
185 If you use <application>X-Code</application>, you can just select these
186 frameworks instead of the system ones.
187 </para><para>
188 The resulting <application>MPlayer</application> binary will actually
189 use the framework that is installed on your system via dynamic links that
190 are resolved at run-time.
191 (You can verify this using <systemitem>otool -l</systemitem>).
192 </para></answer>
193 </qandaentry>
194
151 </qandadiv> 195 </qandadiv>
152 196
153 <qandadiv id="faq-general"> 197 <qandadiv id="faq-general">
154 <title>General questions</title> 198 <title>General questions</title>
155 199