[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Q] NSS(Name Service Switch) Problem with GNUstep(Revisited)
From: |
Sungjin Chun |
Subject: |
[Q] NSS(Name Service Switch) Problem with GNUstep(Revisited) |
Date: |
Mon, 05 Apr 2004 17:22:58 +0900 |
Hi,
As some of you might already know, I'm currently trying to develop
authentication service
with GNUstep (But very in early stage, so not push me hard :-). I also
want to use GNUstep
for developing NSS module. But as I said my old previous mail, if I
link nss module with GNUstep,
it does not work well with other services. For example, simply linking
gnustep-base, the sshd
service does not let me login, I can just pass the authentication
process, then disconnected.
So, here comes the question, what is the real difference or what kind
of operation occurs when
the nss module is linked with gnustep-base ? Attached file is used for
testing. If it just is compiled with
gcc -I/System/Library/Headers -fconstant-string-class=NSConstantString
-shared -o libnss_objc.so nss.m \
-lpthread -L/System/Library/Libraries -lobjc
then, every thing just works (also works with basic libobjc class
libraries, I've test it with NXConstantString)
but if you append -lgnustep-base before -lobjc, then the problem I
descrived above occurs.
Thanks in advance.
<nss.m>
nss.m
Description: Text document
- [Q] NSS(Name Service Switch) Problem with GNUstep(Revisited),
Sungjin Chun <=