• 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: Strange Build Error = literal-pointer@_OBJC@_cls_refs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange Build Error = literal-pointer@_OBJC@_cls_refs


  • Subject: Re: Strange Build Error = literal-pointer@_OBJC@_cls_refs
  • From: Fritz Anderson <email@hidden>
  • Date: Wed, 5 Nov 2008 13:27:31 -0600

(cocoa-dev removed from the reply list. It's unrelated to the question, and cross-posting is rude.)

On 5 Nov 2008, at 4:46 AM, John Love wrote:

Can anyone tell me what the following means and what is the cause?

I understand that it is a link error. Elsewhere, Graham Cox in replying to a similar problem by another poster stated "This is a link error. Add the QuartzCore framework to your project". I did exactly that to no avail.

".objc_class_name_SEApplication", referenced from
literal-pointer@_OBJC@_cls_refs@SEApplication in ScriptController.o
symbol(s) not found

FYI, ScriptController.h imports SEGlue.h from a linked Framework; and that's where SEApplication comes from.

That's the sort of linker error that comes when your application makes reference to a class, but the class's executable code is not among the files presented to the linker.


Is the framework that provides the SEApplication class included in the "Link Binary with Libraries" build phase of the target you're building? It has to be that phase, and that target.

Being able to find the header that declares SEApplication is not enough; that's a compile-time, not a link-time, issue.

	— F

--
Fritz Anderson -- Xcode 3 Unleashed: Now in its second printing -- <http://x3u.manoverboard.org/ >


_______________________________________________
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: 
 >Strange Build Error = literal-pointer@_OBJC@_cls_refs (From: John Love <email@hidden>)

  • Prev by Date: Re: Undefined symbols: "_fputs$UNIX2003
  • Next by Date: Re: Time machine does not save the build folder
  • Previous by thread: Strange Build Error = literal-pointer@_OBJC@_cls_refs
  • Next by thread: Time machine does not save the build folder
  • Index(es):
    • Date
    • Thread