Hello again,
I want to built NSS,and find the article
http://www.mozilla.org/projects/security/pki/nss/nss-3.9/nss-3.9-build.html.
i do it step by step ,but i see error :
gcc -o
WINNT5.1_gcc_DBG.OBJ/quickder.o -c -g -mno-cygwin -mms-bitfields -W3 -nol
ogo -GT -DXP_PC -DDEBUG -D_DEBUG -UNDEBUG -DDEBUG_lihb -DWIN32 -D_WINDOWS -D_X86
_ -DWINNT -I../../../../dist/WINNT5.1_gcc_DBG.OBJ/include -I../../../../dist/pu
blic/nss -I../../../../dist/private/nss -I../../../../dist/public/dbm
quickder.
c
gcc: unrecognized option `-nologo'
gcc: unrecognized option `-GT'
In file included from quickder.c:40:
secasn1.h:45:21: plarena.h: No such file or directory
In file included from secasn1.h:47,
from quickder.c:40:
seccomon.h:47:21: prtypes.h: No such file or directory
In file included from seccomon.h:58,
from secasn1.h:47,
from quickder.c:40:
secport.h:113:39: prlog.h: No such file or directory
secport.h:115:19: plstr.h: No such file or directory
In file included from seccomon.h:58,
from secasn1.h:47,
from quickder.c:40:
secport.h:138: error: parse error before '*' token
secport.h:138: warning: data definition has no type or storage class
secport.h:139: error: parse error before '*' token
secport.h:140: error: parse error before '*' token
secport.h:141: error: parse error before '*' token
secport.h:142: error: parse error before '*' token
secport.h:144: error: parse error before '*' token
secport.h:145: error: parse error before '*' token
secport.h:146: error: parse error before '*' token
secport.h:147: error: parse error before '*' token
secport.h:230: error: parse error before '*' token
secport.h:230: error: parse error before "toUnicode"
secport.h:233: error: `PRBool' declared as function returning a function
secport.h:235: error: parse error before '*' token
secport.h:244: error: parse error before "convFunc"
secport.h:245: error: parse error before "convFunc"
secport.h:248: error: `PORT_UCS4_UTF8Conversion' declared as function
returning
a function
secport.h:252: error: `PORT_UCS2_ASCIIConversion' declared as function
returning
a function
secport.h:253: error: parse error before "convFunc"
secport.h:256: error: `PORT_UCS2_UTF8Conversion' declared as function
returning
a function
secport.h:259: error: parse error before
"sec_port_ucs4_utf8_conversion_function
"
secport.h:267: warning: data definition has no type or storage class
secport.h:270: error: parse error before
"sec_port_ucs2_utf8_conversion_function
"
secport.h:278: warning: data definition has no type or storage class
In file included from quickder.c:40:
secasn1.h:62: error: parse error before '*' token
secasn1.h:88: error: parse error before '*' token
secasn1.h:92: error: parse error before '*' token
secasn1.h:96: error: parse error before '*' token
secasn1.h:141: error: parse error before '*' token
secasn1.h:144: error: parse error before '*' token
secasn1.h:147: error: parse error before '*' token
In file included from quickder.c:41:
secitem.h:44:20: plhash.h: No such file or directory
In file included from quickder.c:41:
secitem.h:60: error: parse error before '*' token
secitem.h:71: error: parse error before '*' token
secitem.h:82: error: `SECITEM_ItemsAreEqual' declared as function returning
a fu
nction
secitem.h:87: error: parse error before '*' token
secitem.h:100: error: parse error before '*' token
secitem.h:112: error: parse error before "PR_CALLBACK"
secitem.h:112: warning: data definition has no type or storage class
secitem.h:114: error: parse error before "PR_CALLBACK"
secitem.h:114: warning: data definition has no type or storage class
quickder.c: In function `MatchComponentType':
quickder.c:147: error: `PR_FALSE' undeclared (first use in this function)
quickder.c:147: error: (Each undeclared identifier is reported only once
quickder.c:147: error: for each function it appears in.)
quickder.c:167: error: `PR_TRUE' undeclared (first use in this function)
quickder.c: In function `CheckSequenceTemplate':
quickder.c:322: error: function `foundAmbiguity' is initialized like a
variable
quickder.c:322: error: `PR_FALSE' undeclared (first use in this function)
quickder.c:337: error: `PR_TRUE' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:365: error: parse error before "PRArenaPool"
quickder.c:369: error: parse error before "PRArenaPool"
quickder.c: In function `DecodeSequence':
quickder.c:374: error: `templateEntry' undeclared (first use in this
function)
quickder.c:383: error: `src' undeclared (first use in this function)
quickder.c:388: error: `PR_FALSE' undeclared (first use in this function)
quickder.c:399: error: `dest' undeclared (first use in this function)
quickder.c:399: error: `arena' undeclared (first use in this function)
quickder.c:399: error: `PR_TRUE' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:421: error: parse error before "PRArenaPool"
quickder.c: In function `DecodeInline':
quickder.c:424: error: `templateEntry' undeclared (first use in this
function)
quickder.c:424: error: `dest' undeclared (first use in this function)
quickder.c:424: error: `PR_FALSE' undeclared (first use in this function)
quickder.c:426: error: `src' undeclared (first use in this function)
quickder.c:426: error: `arena' undeclared (first use in this function)
quickder.c:426: error: `checkTag' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:431: error: parse error before "PRArenaPool"
quickder.c: In function `DecodePointer':
quickder.c:434: error: `templateEntry' undeclared (first use in this
function)
quickder.c:434: error: `dest' undeclared (first use in this function)
quickder.c:434: error: `PR_FALSE' undeclared (first use in this function)
quickder.c:435: error: `arena' undeclared (first use in this function)
quickder.c:439: error: `src' undeclared (first use in this function)
quickder.c:439: error: `checkTag' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:450: error: parse error before "PRArenaPool"
quickder.c: In function `DecodeImplicit':
quickder.c:452: error: `templateEntry' undeclared (first use in this
function)
quickder.c:454: error: `dest' undeclared (first use in this function)
quickder.c:455: error: `src' undeclared (first use in this function)
quickder.c:455: error: `arena' undeclared (first use in this function)
quickder.c:455: error: `PR_FALSE' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:466: error: parse error before "PRArenaPool"
quickder.c: In function `DecodeChoice':
quickder.c:470: error: `templateEntry' undeclared (first use in this
function)
quickder.c:482: error: `src' undeclared (first use in this function)
quickder.c:486: error: `dest' undeclared (first use in this function)
quickder.c:486: error: `arena' undeclared (first use in this function)
quickder.c:486: error: `PR_TRUE' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:515: error: parse error before "PRArenaPool"
quickder.c: In function `DecodeGroup':
quickder.c:520: error: `PRUint32' undeclared (first use in this function)
quickder.c:520: error: parse error before "totalEntries"
quickder.c:525: error: `templateEntry' undeclared (first use in this
function)
quickder.c:525: error: `dest' undeclared (first use in this function)
quickder.c:525: error: `PR_FALSE' undeclared (first use in this function)
quickder.c:527: error: `src' undeclared (first use in this function)
quickder.c:546: error: `PR_TRUE' undeclared (first use in this function)
quickder.c:549: error: `totalEntries' undeclared (first use in this
function)
quickder.c:557: error: `arena' undeclared (first use in this function)
quickder.c:574: error: parse error before "entriesIndex"
quickder.c:575: error: `entriesIndex' undeclared (first use in this
function)
quickder.c:587: error: `entryIndex' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:603: error: parse error before "PRArenaPool"
quickder.c: In function `DecodeExplicit':
quickder.c:607: error: `src' undeclared (first use in this function)
quickder.c:609: error: `PR_FALSE' undeclared (first use in this function)
quickder.c:613: error: `templateEntry' undeclared (first use in this
function)
quickder.c:615: error: `dest' undeclared (first use in this function)
quickder.c:615: error: `arena' undeclared (first use in this function)
quickder.c:615: error: `PR_TRUE' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:630: error: parse error before "PRArenaPool"
quickder.c: In function `DecodeItem':
quickder.c:635: error: function `pop' is initialized like a variable
quickder.c:635: error: `PR_FALSE' undeclared (first use in this function)
quickder.c:636: error: function `decode' is initialized like a variable
quickder.c:636: error: `PR_TRUE' undeclared (first use in this function)
quickder.c:637: error: function `save' is initialized like a variable
quickder.c:639: error: function `match' is initialized like a variable
quickder.c:640: error: function `optional' is initialized like a variable
quickder.c:642: error: `src' undeclared (first use in this function)
quickder.c:642: error: `dest' undeclared (first use in this function)
quickder.c:642: error: `templateEntry' undeclared (first use in this
function)
quickder.c:642: error: `arena' undeclared (first use in this function)
quickder.c:655: error: invalid lvalue in assignment
quickder.c:675: error: function `dontassert' is initialized like a variable
quickder.c:714: error: `checkTag' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:878: error: parse error before '*' token
quickder.c: In function `SEC_QuickDERDecodeItem':
quickder.c:885: error: `arena' undeclared (first use in this function)
quickder.c:885: error: `templateEntry' undeclared (first use in this
function)
quickder.c:885: error: `src' undeclared (first use in this function)
quickder.c:894: error: `dest' undeclared (first use in this function)
quickder.c:894: error: `PR_TRUE' undeclared (first use in this function)
make[2]: *** [WINNT5.1_gcc_DBG.OBJ/quickder.o] Error 1
make[2]: Leaving directory
`/cygdrive/f/openssl/nss-3.11.2-with-nspr-4.6.2/nss-3
.11.2/mozilla/dist/WINNT5.1_DBG.OBJ/bin/mozilla/security/nss/lib/util'
make[1]: *** [libs] Error 2
make[1]: Leaving directory
`/cygdrive/f/openssl/nss-3.11.2-with-nspr-4.6.2/nss-3
.11.2/mozilla/dist/WINNT5.1_DBG.OBJ/bin/mozilla/security/nss/lib'
make: *** [libs] Error 2
which Nss'edition can build in Windowsxp,and if i built the nss,waiting
help.....
Best Regards.
lihb
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto