Pierre wrote:
>
> I solve my path problem by changing my UNIX emulation package to the
> cygwin one.
> Now I have another problem: C compiler seems to search a types.h from
> secport.h, but it don't find it because the file doesn't exist.
> Here is the output message:
> ../../../../../../dist/public/security\secport.h(83) : fatal error
> C1083: Cannot
> open include file: 'types.h': No such file or directory
>
> What's wrong ?
The code in question is reproduced here:
#ifdef XP_MAC
83 #include <types.h>
#include <time.h> /* for time_t below */
#else
#include <sys/types.h>
#endif
So the JSS makefile thinks it is compiling on the Mac OS.
Most likely, your 'uname' program generates output that
cannot be understood by JSS's build system
(mozilla/security/coreconf). You can try downloading
wintools.zip from http://www.mozilla.org/build/win32.html
and use the 'uname' program in that zip file.
Better yet, just use our pre-compiled binary distributions.
They can be downloaded from
ftp://ftp.mozilla.org/pub/security/jss/releases.
Wan-Teh
PS: one should be able to compile NSS or JSS under cygwin,
but I haven't done it myself (at least not recently).