Closed
Bug 403449
Opened 17 years ago
Closed 15 years ago
Problem compiling nss 3.11.7
Categories
(NSS :: Build, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: pierre42d, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20070729 SeaMonkey/1.1.3
Build Identifier:
[...]
cd lib; make libs
make[1]: Entering directory `/tmp/nss-3.11.7/mozilla/security/nss/lib'
cd util; make libs
make[2]: Entering directory `/tmp/nss-3.11.7/mozilla/security/nss/lib/util'
gcc -o Linux2.6_x86_glibc_PTH_DBG.OBJ/quickder.o -c -g -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -D_REENTRANT -I../../../../dist/Linux2.6_x86_glibc_PTH_DBG.OBJ/include -I../../../../dist/public/nss -I../../../../dist/private/nss -I../../../../dist/public/dbm quickder.c
In file included from quickder.c:43:
secasn1.h:48:21: plarena.h: No such file or directory
In file included from secasn1.h:50,
from quickder.c:43:
seccomon.h:50:21: prtypes.h: No such file or directory
In file included from seccomon.h:61,
from secasn1.h:50,
from quickder.c:43:
secport.h:106:39: prlog.h: No such file or directory
secport.h:108:19: plstr.h: No such file or directory
In file included from seccomon.h:61,
from secasn1.h:50,
from quickder.c:43:
secport.h:132: error: parse error before '*' token
secport.h:132: warning: type defaults to `int' in declaration of `PORT_NewArena'
secport.h:132: warning: data definition has no type or storage class
secport.h:133: error: parse error before '*' token
secport.h:134: error: parse error before '*' token
secport.h:135: error: parse error before '*' token
secport.h:136: error: parse error before '*' token
secport.h:138: error: parse error before '*' token
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:194: error: parse error before '*' token
secport.h:194: error: parse error before "toUnicode"
secport.h:197: warning: type defaults to `int' in declaration of `PRBool'
secport.h:197: error: `PRBool' declared as function returning a function
secport.h:199: error: parse error before '*' token
secport.h:208: error: parse error before "convFunc"
secport.h:209: error: parse error before "convFunc"
secport.h:212: error: `PORT_UCS4_UTF8Conversion' declared as function returning a function
secport.h:216: error: `PORT_UCS2_ASCIIConversion' declared as function returning a function
secport.h:217: error: parse error before "convFunc"
secport.h:220: error: `PORT_UCS2_UTF8Conversion' declared as function returning a function
secport.h:225: error: `PORT_ISO88591_UTF8Conversion' declared as function returning a function
secport.h:228: error: parse error before "sec_port_ucs4_utf8_conversion_function"
secport.h:236: warning: type defaults to `int' in declaration of `sec_port_ucs4_utf8_conversion_function'
secport.h:236: warning: data definition has no type or storage class
secport.h:239: error: parse error before "sec_port_ucs2_utf8_conversion_function"
secport.h:247: warning: type defaults to `int' in declaration of `sec_port_ucs2_utf8_conversion_function'
secport.h:247: warning: data definition has no type or storage class
secport.h:258: error: `sec_port_iso88591_utf8_conversion_function' declared as function returning a function
In file included from quickder.c:43:
secasn1.h:65: error: parse error before '*' token
secasn1.h:91: error: parse error before '*' token
secasn1.h:102: error: parse error before '*' token
secasn1.h:106: error: parse error before '*' token
secasn1.h:151: error: parse error before '*' token
secasn1.h:154: error: parse error before '*' token
secasn1.h:157: error: parse error before '*' token
secasn1.h:196: error: `SEC_ASN1IsTemplateSimple' declared as function returning a function
In file included from quickder.c:44:
secitem.h:47:20: plhash.h: No such file or directory
In file included from quickder.c:44:
secitem.h:64: error: parse error before '*' token
secitem.h:75: error: parse error before '*' token
secitem.h:86: error: `SECITEM_ItemsAreEqual' declared as function returning a function
secitem.h:91: error: parse error before '*' token
secitem.h:104: error: parse error before '*' token
secitem.h:116: error: parse error before "PR_CALLBACK"
secitem.h:116: warning: type defaults to `int' in declaration of `SECITEM_Hash'
secitem.h:116: warning: data definition has no type or storage class
secitem.h:118: error: parse error before "PR_CALLBACK"
secitem.h:118: warning: type defaults to `int' in declaration of `SECITEM_HashCompare'
secitem.h:118: 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:325: error: function `foundAmbiguity' is initialized like a variable
quickder.c:325: error: `PR_FALSE' undeclared (first use in this function)
quickder.c:340: error: `PR_TRUE' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:368: error: parse error before "PRArenaPool"
quickder.c:372: error: parse error before "PRArenaPool"
quickder.c: In function `DecodeSequence':
quickder.c:377: error: `templateEntry' undeclared (first use in this function)
quickder.c:386: error: `src' undeclared (first use in this function)
quickder.c:391: error: `PR_FALSE' undeclared (first use in this function)
quickder.c:402: error: `dest' undeclared (first use in this function)
quickder.c:402: error: `arena' undeclared (first use in this function)
quickder.c:402: error: `PR_TRUE' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:424: error: parse error before "PRArenaPool"
quickder.c: In function `DecodeInline':
quickder.c:427: error: `templateEntry' undeclared (first use in this function)
quickder.c:427: error: `dest' undeclared (first use in this function)
quickder.c:427: error: `PR_FALSE' undeclared (first use in this function)
quickder.c:429: error: `src' undeclared (first use in this function)
quickder.c:429: error: `arena' undeclared (first use in this function)
quickder.c:429: error: `checkTag' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:434: error: parse error before "PRArenaPool"
quickder.c: In function `DecodePointer':
quickder.c:437: error: `templateEntry' undeclared (first use in this function)
quickder.c:437: error: `dest' undeclared (first use in this function)
quickder.c:437: error: `PR_FALSE' undeclared (first use in this function)
quickder.c:438: error: `arena' undeclared (first use in this function)
quickder.c:442: error: `src' undeclared (first use in this function)
quickder.c:442: error: `checkTag' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:453: error: parse error before "PRArenaPool"
quickder.c: In function `DecodeImplicit':
quickder.c:455: error: `templateEntry' undeclared (first use in this function)
quickder.c:457: error: `dest' undeclared (first use in this function)
quickder.c:458: error: `src' undeclared (first use in this function)
quickder.c:458: error: `arena' undeclared (first use in this function)
quickder.c:458: error: `PR_FALSE' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:469: error: parse error before "PRArenaPool"
quickder.c: In function `DecodeChoice':
quickder.c:473: error: `templateEntry' undeclared (first use in this function)
quickder.c:485: error: `src' undeclared (first use in this function)
quickder.c:489: error: `dest' undeclared (first use in this function)
quickder.c:489: error: `arena' undeclared (first use in this function)
quickder.c:489: error: `PR_TRUE' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:518: error: parse error before "PRArenaPool"
quickder.c: In function `DecodeGroup':
quickder.c:523: error: `PRUint32' undeclared (first use in this function)
quickder.c:523: error: parse error before "totalEntries"
quickder.c:528: error: `templateEntry' undeclared (first use in this function)
quickder.c:528: error: `dest' undeclared (first use in this function)
quickder.c:528: error: `PR_FALSE' undeclared (first use in this function)
quickder.c:530: error: `src' undeclared (first use in this function)
quickder.c:549: error: `PR_TRUE' undeclared (first use in this function)
quickder.c:552: error: `totalEntries' undeclared (first use in this function)
quickder.c:560: error: `arena' undeclared (first use in this function)
quickder.c:577: error: parse error before "entriesIndex"
quickder.c:578: error: `entriesIndex' undeclared (first use in this function)
quickder.c:590: error: `entryIndex' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:606: error: parse error before "PRArenaPool"
quickder.c: In function `DecodeExplicit':
quickder.c:610: error: `src' undeclared (first use in this function)
quickder.c:612: error: `PR_FALSE' undeclared (first use in this function)
quickder.c:616: error: `templateEntry' undeclared (first use in this function)
quickder.c:618: error: `dest' undeclared (first use in this function)
quickder.c:618: error: `arena' undeclared (first use in this function)
quickder.c:618: error: `PR_TRUE' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:633: error: parse error before "PRArenaPool"
quickder.c: In function `DecodeItem':
quickder.c:638: error: function `pop' is initialized like a variable
quickder.c:638: error: `PR_FALSE' undeclared (first use in this function)
quickder.c:639: error: function `decode' is initialized like a variable
quickder.c:639: error: `PR_TRUE' undeclared (first use in this function)
quickder.c:640: error: function `save' is initialized like a variable
quickder.c:642: error: function `match' is initialized like a variable
quickder.c:643: error: function `optional' is initialized like a variable
quickder.c:645: warning: implicit declaration of function `PR_ASSERT'
quickder.c:645: error: `src' undeclared (first use in this function)
quickder.c:645: error: `dest' undeclared (first use in this function)
quickder.c:645: error: `templateEntry' undeclared (first use in this function)
quickder.c:645: error: `arena' undeclared (first use in this function)
quickder.c:658: error: invalid lvalue in assignment
quickder.c:678: error: function `dontassert' is initialized like a variable
quickder.c:717: error: `checkTag' undeclared (first use in this function)
quickder.c: At top level:
quickder.c:886: error: parse error before '*' token
quickder.c: In function `SEC_QuickDERDecodeItem':
quickder.c:893: error: `arena' undeclared (first use in this function)
quickder.c:893: error: `templateEntry' undeclared (first use in this function)
quickder.c:893: error: `src' undeclared (first use in this function)
quickder.c:902: error: `dest' undeclared (first use in this function)
quickder.c:902: error: `PR_TRUE' undeclared (first use in this function)
make[2]: *** [Linux2.6_x86_glibc_PTH_DBG.OBJ/quickder.o] Error 1
make[2]: Leaving directory `/tmp/nss-3.11.7/mozilla/security/nss/lib/util'
make[1]: *** [libs] Error 2
make[1]: Leaving directory `/tmp/nss-3.11.7/mozilla/security/nss/lib'
make: *** [libs] Error 2
Reproducible: Always
Comment 1•17 years ago
|
||
> secasn1.h:48:21: plarena.h: No such file or directory
> seccomon.h:50:21: prtypes.h: No such file or directory
> secport.h:106:39: prlog.h: No such file or directory
> secport.h:108:19: plstr.h: No such file or directory
You're obviously missing the NSPR header files on which NSS depends.
That's not a bug in NSS.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
Maybe a BUILD-HOWTO file should be provided ?
Or a configure script ?
I have the same problem with NSS 3.12.4
This is a bug for me because I have installed NSPR on my system (default location) so it should be able to find the headers.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Version: unspecified → 3.12.4
Comment 4•15 years ago
|
||
The place to ask for help building NSS is not in the bug tracking system.
There is a newsgroup and a mailing list. Get more information at
https://lists.mozilla.org/listinfo/dev-tech-crypto
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago → 15 years ago
Resolution: --- → INVALID
Version: 3.12.4 → 3.11.7
You need to log in
before you can comment on or make changes to this bug.
Description
•