Re: issue with file prcpucfg.h while building nspr on Windows
"franck.fr" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
Thanks for your response.
Unfortunately, when I use the option --enable-win32-target=WIN95 the
build failed with this error message:
. . .
make[3]: Entering directory `/cygdrive/c/PROJ/jslibs/nspr/win32/pr/
src/linking'
sh ../../../../nsprpub/build/cygwin-wrapper cl -Foprlink.obj -c -
W3 -nologo -GF -Gy -Od -MDd -Z7 -UNDEBUG -DDEBUG_ff -UWINNT -
DDEBUG=1 -DXP_PC=1 -DWIN32=1 -D_DEBUG=1 -DWIN95=1 -
D_PR_GLOBAL_THREADS_ONLY=1 -D_X86_=1 -DFORCE_PR_LOG -D_NSPR_BUILD_ -
I../../../dist/include/nspr -I../../../../nsprpub/pr/include -
I../../../../nsprpub/pr/include/private /cygdrive/c/PROJ/jslibs/nspr/
nsprpub/pr/src/linking/prlink.c
prlink.c
../../../../nsprpub/pr/include/private\primpl.h(345) : warning C4005:
'_MD_GET_INTSOFF' : macro redefinition
../../../dist/include/nspr\md/_winnt.h(561) : see previous
definition of '_MD_GET_INTSOFF'
../../../../nsprpub/pr/include/private\primpl.h(346) : warning C4005:
'_MD_SET_INTSOFF' : macro redefinition
../../../dist/include/nspr\md/_winnt.h(570) : see previous
definition of '_MD_SET_INTSOFF'
c:/PROJ/jslibs/nspr/nsprpub/pr/src/linking/prlink.c(264) : error
C2065: '_pr_useUnicode' : undeclared identifier
make[3]: Leaving directory `/cygdrive/c/PROJ/jslibs/nspr/win32/pr/src/
linking'
make[2]: Leaving directory `/cygdrive/c/PROJ/jslibs/nspr/win32/pr/src'
make[1]: Leaving directory `/cygdrive/c/PROJ/jslibs/nspr/win32/pr'
btw, without the --enable-win32-target=WIN95 option, the build goes
fine.
About nsinstall.exe, I wondering if there is an option to enable
\nsprpub\config\nsinstall.c to be built (I noticed that in the same
directory, now.c is built but not nsinstall.c) to avoid wintools.zip
to be installed.
Franck.