Compiler errors with most recent update

I just ran the SoftwareUpdate utility and it installed QuickTime 7.1 and Apple Security Update 2006-003. Now when I compile, I get the following errors:

ld: Undefined symbols:
_LLCStyleInfoCheckForOpenTypeTables referenced from QuartzCore expected to be defined in ApplicationServices
_LLCStyleInfoGetUserRunFeatures referenced from QuartzCore expected to be defined in ApplicationServices

This error used to be "[blah blahblah] referenced from Quicktime epected to be defined in ApplicationServices" not QuartzCore. I looked at /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore and sure enough, it has a modifcation date of today.

The previous error was caused what appears to be QuickTime 7.0.4 being developed/compiled on Tiger and then distributed to Panther users like myself via Software Update.

I can't figure out whether the QuickTime update or the Security Update changed my QuartzCore, but I'm having trouble figuring out a solution to this problem.

Find a copy of the old QuartzCore framework? Figure out some way to add a dummy library that will define these symbols? Make sure Apple developers compile stuff on Panther when delivering code for Panther? I had to downgrade from Quicktime 7.0.4 to 7.0.1 to compile, which broke my iTunes 6.0.4. Now that won't even help, because the Quicktime 7.0.1 downgrade package doesn't contain QuartzCore.

12in Powerbook G4, Mac OS X (10.3.9), 12in iBook G3

Posted on May 12, 2006 12:57 AM

Reply
3 replies

May 12, 2006 9:41 AM in response to Ivans Chou

Here's the answer to my own question. Good thing I didn't update my wife's G3 iBook which is also running 10.3.9. I copied /System/Library/Frameworks/QuartzCore.framework into the directory: /Developer/Compat/Frameworks on my computer and added the following flags to the gcc command-line:

-bind atload -lstdc++.6 -F/Developer/Compat/Frameworks

and now my projects are working again. I believe the results are dynamically linked so that when I run the application, it uses the latest framework that is installed.

May 12, 2006 10:03 AM in response to Ivans Chou

Okay, I don't know if this violates my Software License Agreement, but anyhow...

For all software developers who are getting "Undefined symbols" compiler errors as a result of either upgrading to Quicktime 7.0.4 or Quicktime 7.1 + Security Update 2006-003, here's a summary of my solution.

First of all the error will look like the following if you are running 10.3.9 and Quicktime 7.0.4:

ld: Undefined symbols:
_HICopyAccessibilityActionDescription referenced from QuickTime expected to be defined in Carbon
_HICopyAccessibilityRoleDescription referenced from QuickTime expected to be defined in Carbon
_LLCStyleInfoCheckForOpenTypeTables referenced from QuickTime expected to be defined in ApplicationServices
_LLCStyleInfoGetUserRunFeatures referenced from QuickTime expected to be defined in ApplicationServices

or the following if you are running 10.3.9 and Quicktime 7.1 + Security Update 2006-003:

ld: Undefined symbols:
_LLCStyleInfoCheckForOpenTypeTables referenced from QuartzCore expected to be defined in ApplicationServices
_LLCStyleInfoGetUserRunFeatures referenced from QuartzCore expected to be defined in ApplicationServices

Download only one of the following files (the other is a mirror):
http://rapidshare.de/files/20281171/CompatFrameworks.tgz.html
http://www.megaupload.com/?d=W5HZHZCS

You will get a compressed file that contains the Quicktime 7.0.1 Framework and a 10.3.9 QuartzCore Framework. I don't know the exact version of the QuartzCore Framework but it does work.

Uncompress the files somewhere that is not in your System folder. (ie. do not install these Frameworks into your /System/Library/Frameworks! They are only for getting around compiler errors!) For command-line weenies you can use the following in the Terminal application:

gunzip < CompatFrameworks.tgz | tar xvf -

in your Makefiles you should add:

-F/path/to/where/you/extracted

Or in X-Code you can just select these Frameworks instead of the System ones. I hope this helps. Hopefully this will spare all the SDL, Emacs, MPlayer, TCL, Python, and SC developers and users some grief.

May 13, 2006 10:36 AM in response to Ivans Chou

I can't compile anymore after the recent update on PowerMac G5 1.8GHz.

It still works on iBook G4 1GHz.

Both running Mac Os X 10.4.6


Here is an example of config.log from a failed configuration.

###################

$ ./configure --prefix=/opt/local --infodir=${prefix}/share/info

## --------- ##
## Platform. ##
## --------- ##

hostname = orca.local
uname -m = Power Macintosh
uname -r = 8.6.0
uname -s = Darwin
uname -v = Darwin Kernel Version 8.6.0: Tue Mar 7 16:58:48 PST 2006; root:xnu-792.6.70.obj~1/RELEASE_PPC

/usr/bin/uname -p = powerpc
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = Mach kernel version:
Darwin Kernel Version 8.6.0: Tue Mar 7 16:58:48 PST 2006; root:xnu-792.6.70.obj~1/RELEASE_PPC
Kernel configured for a single processor only.
1 processor is physically available.
Processor type: ppc970 (PowerPC 970)
Processor active: 0
Primary memory available: 1.25 gigabytes
Default processor set: 68 tasks, 263 threads, 1 processors
Load average: 2.71, Mach factor: 0.24
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/X11R6/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1658: checking build system type
configure:1676: result: powerpc-apple-darwin8.6.0
configure:1684: checking host system type
configure:1698: result: powerpc-apple-darwin8.6.0
configure:1721: checking for a BSD-compatible install
configure:1776: result: /opt/local/bin/ginstall -c
configure:1787: checking whether build environment is sane
configure:1830: result: yes
configure:1887: checking for gawk
configure:1903: found /opt/local/bin/gawk
configure:1913: result: gawk
configure:1923: checking whether make sets $(MAKE)
configure:1943: result: yes
configure:2109: checking whether to enable maintainer-specific portions of Makefiles
configure:2118: result: no
User:
ABI=
CC=
CFLAGS=(unset)
CPPFLAGS=(unset)
MPN_PATH=
GMP:
abilist=32
cclist=gcc cc
configure:3776: gcc 2>&1 | grep xlc >/dev/null
configure:3779: $? = 1
configure:3833: checking compiler gcc -O2 -mpowerpc
Test compile:
configure:3847: gcc -O2 -mpowerpc conftest.c >&5
cc1: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:<a class="jive-link-external-small" href="http://">http://developer.apple.com/bugreporter> for instructions.
configure:3850: $? = 1
failed program was:

int main () { return 0; }
configure:4856: result: no
configure:3754: cc -c conftest.c >&5
cc1: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:<a class="jive-link-external-small" href="http://">http://developer.apple.com/bugreporter> for instructions.
configure:3757: $? = 1
configure:3776: cc 2>&1 | grep xlc >/dev/null
configure:3779: $? = 1
configure:3833: checking compiler cc -O2
Test compile:
configure:3847: cc -O2 conftest.c >&5
cc1: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:<a class="jive-link-external-small" href="http://">http://developer.apple.com/bugreporter> for instructions.
configure:3850: $? = 1
failed program was:

int main () { return 0; }
configure:4856: result: no
configure:5094: error: could not find a working compiler, see config.log for details

###############


PowerMac G5 1.8GHz (single processor) Mac OS X (10.4.6) 1.2GB RAM

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Compiler errors with most recent update

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.