I got the right gmake and shmsdos, but now I know why, the problem
was in enviroment variables;
set MOZ_BITS=32
set MOZ_DEBUG=1
set MOZ_SRC=d:\moz_src
set MOZ_TOOLS=d:\moz_tools
set OS_TARGET=WINNT
set WINOS=%OS_TARGET%
set _MSC_VER=1100
cd mozilla
set BUILD_PSM=1 or set BUILD_PSM2=1
call vcvars32
but now I got another problem
after issuing the following command:
d:\moz_src\mozilla\nmake /f client.mak build_all
.....
this is my new problem:
+++ make: Creating DLL: .\WIN32_D.OBJ\jpeg3250.dll
Creating library .\WIN32_D.OBJ\jpeg3250.lib
and object .\WIN32_D.OBJ\jpeg3250
.exp
Installing .\WIN32_D.OBJ\jpeg3250.dll
into ..\dist\WIN32_D.OBJ\bin\jpeg3250.
dll
Installing .\WIN32_D.OBJ\jpeg3250.lib
into ..\dist\WIN32_D.OBJ\lib\jpeg3250.
lib
+++ make: install in D:\moz_src\mozilla\sun-java
+++ make: install in D:\moz_src\mozilla\sun-java\stubs
+++ make: install in D:\moz_src\mozilla\sun-java\stubs\jri
+++ make: install in D:\moz_src\mozilla\sun-java\stubs\include
+++ make: install in D:\moz_src\mozilla\modules\libreg
+++ make: install in D:\moz_src\mozilla\modules\libreg\include
+++ make: install in D:\moz_src\mozilla\modules\libreg\src
+++ make: install in D:\moz_src\mozilla\modules\libreg\standalone
+++ make: install in D:\moz_src\mozilla\string
+++ make: install in D:\moz_src\mozilla\string\public
+++ make: install in D:\moz_src\mozilla\string\src
+++ make: Creating directory: WIN32_D.OBJ
nsAFlatString.cpp
nsAString.cpp
..\..\dist\include\nsLocalString.h(80) : warning C4251:
'mHandle' : class 'nsBuf
ferHandle<unsigned short>' needs to have dll-interface
to be used by clients of
class 'nsLocalString'
..\..\dist\include\nsLocalString.h(120) : warning C4251:
'mHandle' : class 'nsBu
fferHandle<char>' needs to have dll-interface to be
used by clients of class 'ns
LocalCString'
nsCommonString.cpp
..\..\dist\include\nsCommonString.h(69) : warning C4251:
'mBuffer' : class 'nsAu
toBufferHandle<unsigned short>' needs to have dll-interface
to be used by client
s of class 'nsCommonString'
..\..\dist\include\nsCommonString.h(98) : warning C4251:
'mBuffer' : class 'nsAu
toBufferHandle<char>' needs to have dll-interface
to be used by clients of class
'nsCommonCString'
..\..\dist\include\nsBufferHandleUtils.h(168) : error
C2468: 'new' : cannot allo
cate 'const'/'volatile' objects (type is 'const class
nsSharedBufferHandle<unsig
ned short>')
..\..\dist\include\nsBufferHandleUtils.h(168) : error
C2468: 'new' : cannot allo
cate 'const'/'volatile' objects (type is 'const class
nsSharedBufferHandle<char>
')
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"d:\Program Files\DevStudio\VC\BIN\NMAKE.EXE"'
: ret
urn code '0x2'
Stop.
NMAKE : fatal error U1077: '"d:\Program Files\DevStudio\VC\BIN\NMAKE.EXE"'
: ret
urn code '0x2'
Stop.
NMAKE : fatal error U1077: '"d:\Program Files\DevStudio\VC\BIN\NMAKE.EXE"'
: ret
urn code '0x2'
Stop.
NMAKE : fatal error U1077: '"d:\Program Files\DevStudio\VC\BIN\NMAKE.EXE"'
: ret
urn code '0x2'
Stop.
D:\moz_src\mozilla>
Thanks,
Sonja Mirtitsch wrote:
I have seen similar behavior when a wrong version of gmake is used.
Try using the
Netscape wintools: Netscape has internally modified versions of gmake,
shmsdos, and uname that we use to get around some problems we were
having keeping in sync with the Unix version of gmake. These versions
can be found in the Windows Build Tools package, which can be ftp'd from
ftp://ftp.mozilla.org/pub/mozilla/source/wintools.zip. Then, unpack the
zip file, and run the handy install script:cd buildtools\windows
install.batThis batch script will install the files into %MOZ_TOOLS%/bin.
Sonja
Javier Delgadillo wrote:
> This doesn't appear to be a PSM build problem. Your tree just finished building
> NSPR then it chokes on a file in mozilla/config trying to build the config directory
> which is the first directory built as part of the seamonky build well before PSM
> gets built.
>
> "Manuel T. Ruiz" wrote:
>
>> I'm trying to do the same thing but on Windows platform and I got the follwing
>> problem :
>>
>> gmake[3]: Leaving directory `d:/moz_src/mozilla/nsprpub/WIN32_O.OBJ/lib/libc'
>> gmake[2]: Leaving directory `d:/moz_src/mozilla/nsprpub/WIN32_O.OBJ/lib'
>> rm -r -f d:/moz_src/mozilla/dist/../public/nspr
>> rm -f d:/moz_src/mozilla/dist/WIN32_O.OBJ/lib/libnspr.a
>> rm -f d:/moz_src/mozilla/dist/WIN32_O.OBJ/bin/libnspr.dll
>> gmake[1]: Leaving directory `d:/moz_src/mozilla/nsprpub/WIN32_O.OBJ'
>> set DIST_DIRS=1
>> set LAYOUT_DIRS=1
>> set CLIENT_DIRS=1
>> nmake -f makefile.win all
>>
>> Microsoft (R) Program Maintenance Utility Version 1.62.7022
>> Copyright (C) Microsoft Corp 1988-1997. All rights reserved.
>>
>> .\config\rules.mak(391) : fatal error U1033: syntax error : '.\WIN32' unexpected
>>
>> Stop.
>> NMAKE : fatal error U1077: '"d:\program files\devstudio\vc\bin\NMAKE.EXE"' : ret
>> urn code '0x2'
>> Stop.
>>
>> p4r4N0id wrote:
>>
>
> --
> Javier Delgadillo Sun / Netscape Alliance
> (408) 276-3977 Software Engineer
> mailto:[EMAIL PROTECTED] http://people.netscape.com/javi
>
>
>
begin:vcard n:Ruiz Lora;Manuel T. tel;cell:+34 650 42 42 44 tel;work:+34 91 418 50 13 x-mozilla-html:FALSE org:SmartTrust Iberia adr:;;;Madrid;;; version:2.1 email;internet:[EMAIL PROTECTED] end:vcard
