Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weak linking attribute being overidden ?



I'm building a CFBundle of loadable code which weak links to some new functionality in Tiger (CGLayer). I'm using the AvailabilityMacros :

#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_3

and

setenv MACOSX_DEPLOYMENT_TARGET 10.3

to make sure I weak link the symbols, and version checks to make sure I don't call the functions on the wrong platform.

However when I load my bundle on a system running 10.3.9 using CFBundleLoadExecutable the load fails with console messages from dyld about not being able to find the CGLayer symbols.

A simple standalone test application and bundle seems to work just fine - so the error must be in my code/project and more subtle than I can detect !

Are there any tools or tricks to find out who/where the weak link attribute for these symbols is being overridden ? My bundle is built using XCode from 2 (largish) static libraries and a handful of individual source files. I've looked at all the project settings etc and everything seems to match up with my test project 8-(

Thanks

Andrew 8-)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.