• 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 symbol __error()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undefined symbol __error()


  • Subject: Re: Undefined symbol __error()
  • From: "Justin C. Walker" <email@hidden>
  • Date: Mon, 16 Jan 2006 16:07:22 -0800


On Jan 16, 2006, at 15:36 , David Litwin wrote:

Here is some more info:



When I create two very simple apps (Carbon app and Command Line Utility, I tried both) and have them check errno, and they link fine.

I can’t seem to make a project that *can’t* find __error, even though their main.o files show it as “U ___error()” with nm.



My next step would be to re-create my project from scratch and see if it still has the problem, but that would be quite a work and I was hoping someone might have a clue as to how my project might be having trouble finding this symbol…

There is no need to add the system framework to your project; Xcode takes care of that.


Are you using 'errno' in an unusual way in your code (check your .o's to see which ones have __error() undefined)? Since it is a macro expanding to '__error()', if you use it as other than an "rval", you might have problems.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
If you're not confused,
You're not paying attention
--------


_______________________________________________ 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
  • Follow-Ups:
    • Re: Undefined symbol __error()
      • From: Steve Checkoway <email@hidden>
    • RE: Undefined symbol __error()
      • From: "David Litwin" <email@hidden>
References: 
 >RE: Undefined symbol __error() (From: "David Litwin" <email@hidden>)

  • Prev by Date: Re: GetAliasSize
  • Next by Date: Re: Zerolink slows gdb to a crawl?
  • Previous by thread: RE: Undefined symbol __error()
  • Next by thread: RE: Undefined symbol __error()
  • Index(es):
    • Date
    • Thread