Re: Mystery of the missing symbol
Re: Mystery of the missing symbol
- Subject: Re: Mystery of the missing symbol
- From: Quincey Morris <email@hidden>
- Date: Sun, 02 Oct 2011 18:28:48 -0700
On Oct 2, 2011, at 17:50 , Graham Cox wrote:
> A user is reporting this error logged to the console when trying to load a plug-in bundle (an iTunes visualizer):
>
> dlopen(<path to plug-in>): Symbol not found: __NSConcreteStackBlock
> Referenced from:<path to plug-in executable>
> Expected in: /usr/lib/libSystem.B.dylib
>
>
> The plug-in is built against the 10.7 SDK with a minimum deployment target of 10.5 (however, I've only tested it on 10.6 and 10.7). The user has version 10.5.8, so I'm guessing that this private class isn't available there.
>
> Apparently this is a private member of a class cluster (which class, I do not know), so I'm not invoking it directly. With a deployment target of 10.5, shouldn't the linker or compiler complain at some point? What should I be looking for?
Well, I just googled "__NSConcreteStackBlock", and it's clearly related to Blocks. For example, the search found this:
http://lists.apple.com/archives/xcode-users/2009/Oct/msg00608.html
which I read as implying that using the LLVM compiler at all (whether you use any blocks-related syntax or not) requires the symbol to be resolved.
_______________________________________________
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