[OpenAFS-devel] Jaguar pam compilation

David Botsch dwb7@ccmr.cornell.edu
Thu, 19 Sep 2002 23:00:57 -0400


Well, it's not telling me that that symbol already exists (and libcrt does not
seem to be being linked in . . . linking in libcrt causes other problems).

Any idea what files has that symbol in it?

On Thu, Sep 19, 2002 at 05:32:27PM -0400, Chaskiel M Grundman wrote:
> --On Thursday, September 19, 2002 15:33:11 -0400 David Botsch 
> <dwb7@ccmr.cornell.edu> wrote:
> 
> > any ideas what I need to link in to resolve this symbol?
> 
> You probably can't have that symbol. It's defined in one of the objects 
> that initialize the early c runtime in an executable (/usr/lib/crt1.o)
> 
> It appears that the way this is supposed to be dealt with by shared 
> libraries is to call _NSGetEnviron, which (I'm guessing) returns a pointer 
> to environ.
> 
> The other thing we could do is make use of setenv() or putenv() in 
> ktc_newpag, which is where I suspect the only relevant reference to environ 
> is (this of course would require appropriate configure tests if we don't 
> already have them.) 
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel

-- 
********************************
David William Botsch
Consultant/Advisor II
CCMR Computing Facility
dwb7@ccmr.cornell.edu
********************************