Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Linking/symbol problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking/symbol problem




On Dec 3, 2005, at 8:47 PM, Jo Meder wrote:

My problem is that the application cannot find a symbol which is in the static lib. If I run nm on the static lib I can see the symbol. If I run nm on the framework I can see symbols from the static lib which ( I'm guessing this is the reason ) the framework is using, but not the symbol I want to be able to call from the app.

Does anyone have any idea what might be going on ?

Try linking the framework using the -all_load linker option. If the framework is linked using G++ you'll most likely get a bunch of multiple symbol warnings, but that's OK unless the framework is using a flat namespace.


Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Linking/symbol problem (From: Jo Meder <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.