Re: Undefined symbol __error()
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