Benjamin Zhang wrote on 3/3/2004, 12:08 AM:
> Use cygwin I build nss3.8 OK on win2000. But nss3.9 fail with error:
> sh ../../build/cygwin-wrapper
> cl -Fonow.obj -c -W3 -nologo -GF -Gy -MD -GT -
> G5 -Od -Z7 -UNDEBUG -DDEBUG_Administrator -DDEBUG=1 -DXP_PC=1 -DWIN32=1 -
> D_DE
> BUG=1 -DWINNT=1 -D_X86_=1 -DFORCE_PR_LOG
> /home/Administrator/nss-3.9/mozilla/
> nsprpub/WINNT5.0_DBG.OBJ/config/../../config/now.c
> Command line warning D4002 : ignoring unknown option
> '/home/Administrator/nss-3.
> 9/mozilla/nsprpub/WINNT5.0_DBG.OBJ/config/../../config/now.c'
> Command line error D2003 : missing source filename
> d:\moztool\bin\gmake.exe[2]: *** [now.obj] Error 2
>
> /home/Administrator/nss-3.9/mozilla/nsprpub/WINNT5.0_DBG.OBJ/config/ is
> added as prefix of source file, but / is treat as option switch by cl, so
> error occurrs.
> nss3.8 have no this prefix.
> nss3.9 must modify makefile somewhere, but I can not find out.
The ../../build/cygwin-wrapper shell script is supposed to
handle a pathname that begins with /, but apparently, as
Jean-Marc pointed out, it can only handle /cygdrive pathnames.
I believe that you can work around this problem by editing the
file mozilla/nsprpub/config/rules.mk and change
NEED_ABSOLUTE_PATH = 1
to
NEED_ABSOLUTE_PATH =
(There are two such lines, 391 and 395, that you need to change.)
Let me know if this workaround solves the problem for you.
Wan-Teh
_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto