Re: issue with file prcpucfg.h while building nspr on Windows
"Wan-Teh Chang" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Message-ID | <[email protected]> |
On 8/3/07, franck.fr <[email protected]> wrote: > > 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' Something is wrong with your build tree because you're still using the config header for "WINNT" (_winnt.h). I suggest that you first do: cd mozilla/nsprpub make distclean to get rid of every generated file. And then rerun configure and make: configure --enable-win32-target=WIN95 make > 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. No. nsinstall.c hasn't been ported to Windows. We can certainly get the source code for the Windows version of nsinstall.exe and build it. Wan-Teh