Linker can't find symbol _environ in Framework
Linker can't find symbol _environ in Framework
- Subject: Linker can't find symbol _environ in Framework
- From: Jerry Krinock <email@hidden>
- Date: Tue, 02 May 2006 10:30:26 -0700
- Thread-topic: Linker can't find symbol _environ in Framework
Hi,
I have created a Cocoa framework project using files factored out of a
working Cocoa application. The files I have factored out includes Apple's
famous "MoreAuthSample" code, which includes Apple's famous MoreCFQ.c,
MoreUNIX.c and MoreSecurity.c.
MoreSecurity.c declares:
extern char **environ ;
which would seem to be the cause of this linker error:
Undefined symbols:
_environ
>From searching developer.apple.com I see that "environ" is apparently some
variable at the Mach-O level.
I have added the frameworks "Carbon.framework" and "Security.framework" to
this framework project.
How/can this be made to link? I've fixed all the compiler errors. This one
linker error is my one remaining show-stopper.
Thank you,
Jerry Krinock
_______________________________________________
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