• 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
Re: x86_64 "Symbol not found" problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: x86_64 "Symbol not found" problem


  • Subject: Re: x86_64 "Symbol not found" problem
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Sun, 30 Aug 2009 12:39:12 +0200


Le 30 août 2009 à 12:27, Donnie Lee a écrit :

Hello,

I have a problem with loadable plugin bundle for an application. I
compile my plugin under Snow Leopard with "-undefined dynamic_lookup"
option, because it uses classes from a main app. While I compile it as
32-bit all works OK (both plugin and app runs in 32-bit mode), but
when I compile it as x86_64 I got load-time error: "Error loading ...
Symbol not found: ... Expected in: flat namespace ..." How to make it
work?

To compile a bundle, you should not use '-undefined dynamic_lookup', but '-bundle_loader your_host_application' (which has a Xcode build setting: BUNDLE_LOADER )


This will perform symbol lookup a link time and ld may give you a better error message. Anyway, without more information about your error (which kind of symbol it does not find), we can't help you a lot.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: x86_64 "Symbol not found" problem
      • From: Donnie Lee <email@hidden>
References: 
 >x86_64 "Symbol not found" problem (From: Donnie Lee <email@hidden>)

  • Prev by Date: x86_64 "Symbol not found" problem
  • Next by Date: nsuserdefaults woes
  • Previous by thread: x86_64 "Symbol not found" problem
  • Next by thread: Re: x86_64 "Symbol not found" problem
  • Index(es):
    • Date
    • Thread