• 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: Undefined Symbols during Linking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undefined Symbols during Linking


  • Subject: Re: Undefined Symbols during Linking
  • From: Pontus Ilbring <email@hidden>
  • Date: Fri, 30 Dec 2005 14:43:50 +0100

On 12/30/05, Steve@DotMac <email@hidden> wrote:
> Folks;
>
> I'm getting a single error which prevents me from building.
>
> During the Link Binary With Libraries phase I get:
> /usr/bin/ld: Undefined symbols:
> _objc_msgSendNonNil
> _objc_msgSendNonNil_stret
> collect2: ld returned 1 exit status
>
> I
> I google these 2 items and see they are mentioned in OpenDarwin as
> explicitly exported from ObjC but are disabled entry points.
>
> I admit to only the foggiest notion as to the implications of the
> last part of that sentence.
>
> But here I sit - stuck. These values do not exist in my code anywhere.
> They smell like ObjC internals to me...
>
> So what do I do?

They are ObjC internals, and for whatever reason not part of the
library you're linking against. Are you targeting pre-10.4? I've had
trouble with this when targeting 10.3, even though it should be
supported in 10.3.

Turning off the -fno-nil-receivers (aka Assume Non-nil Receivers) flag
in your build settings should solve your problem.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Undefined Symbols during Linking (From: "Steve@DotMac" <email@hidden>)

  • Prev by Date: compiler warning
  • Next by Date: autosize an nsimageview programmatically
  • Previous by thread: Undefined Symbols during Linking
  • Next by thread: bayesian filter?
  • Index(es):
    • Date
    • Thread