Re: x86_64 "Symbol not found" problem
Re: x86_64 "Symbol not found" problem
- Subject: Re: x86_64 "Symbol not found" problem
- From: Donnie Lee <email@hidden>
- Date: Sun, 30 Aug 2009 19:05:27 +0400
I don't know why this problem was so I just re-writed this part of
code, now all is OK.
Donnie.
On Sun, Aug 30, 2009 at 2:39 PM, Jean-Daniel
Dupas<email@hidden> wrote:
>
> 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