Hello.
I've been trying to compile a small AOLserver extension on Windows+Cygwin.
#include <ns.h>
int Ns_ModuleVersion = 1;
int Ns_ModuleInit(char *hServer, char *hModule)
{
return NS_OK;
}
gcc -shared -o nstest.dll nstest.c -L../../bin -L. \
-lnsd8x -ltcl83 -lnsthread -I../../include
Except for minor errors, everything went ok.
But when I tried to load nstest.dll (that is, added it to modules
section) AOLserver just hangs:
[26/Feb/2002:14:34:11][992.1124][-main-] Notice: modload: loading
'c:/nsd/bin/nstest.dll'
Any ideas?
--
WK