• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Symbols not found when using the 10.5 sdk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Symbols not found when using the 10.5 sdk


  • Subject: Symbols not found when using the 10.5 sdk
  • From: Andy O'Meara <email@hidden>
  • Date: Thu, 8 Apr 2010 14:27:08 -0500

Hi gents, puzzling issue for the bundle/dylib gurus out there...

I have a bundle that builds for all archs using the 10.5 sdk and gcc 4.0, but when I try to lookup my exported C proc in my host app on ppc (via CFBundleGetFunctionPointerForName), I get NULL.   If I simply switch the bundle's SDK from 10.5 to 10.4, rebuild the bundle, the symbol will be found in my host app!

Using nm, I've verified that my symbol is exported as I expect ("_foo") in both sdk cases, so I'm stumped as to why CFBundleGetFunctionPointerForName() is coming up dry when using the 10.5 sdk.   Again, in both cases my two symbols are present:

00038e70 T _GetSSVisualAPI
00038dc8 T _ReleaseSSVisualAPI

Also, I've tried using the variants "foo", "_foo", and "__foo" when using CFBundleGetFunctionPointerForName() without any success.

I've found a somewhat recent post describing this identical issue but no one responded:

http://lists.apple.com/archives/xcode-users/2007//Dec/msg00415.html

Discouragingly, when searching for "CFBundleGetFunctionPointerForName" at search.lists.apple.com, not even the above post shows up, grrrr.  It's rather frustrating that the list search is broken for this query.

Anyway, thanks in advance for any assistance.

Andy




 _______________________________________________
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

  • Prev by Date: Re: Documentation Problem with XCode
  • Next by Date: Go to Counterpart Doesn't Work
  • Previous by thread: Re: Documentation Problem with XCode
  • Next by thread: Go to Counterpart Doesn't Work
  • Index(es):
    • Date
    • Thread