Nelson Bolyard wrote:

>In any case, I'd guess the right "fix" is for pkix_pl_oscpcertid.h to include 
>pkixt.h, since it depends on types defined there.
>  
>
The build still didn't succeed. This is also now with a normal MSYS 
VC7.1 SeaMonkey build, which produces this (partial) output:

make[6]: Entering directory 
`/c/seamonkey/mozilla/security/nss/lib/libpkix/pkix_pl_nss/module'
cl -Foc:/seamonkey/mozilla/nss/pkixmodule/pkix_pl_ldapcertstore.obj -c 
-Od -Z7 -MDd -W3 -nologo -DXP_PC -DSHLIB_SUFFIX=\"dll\" 
-DSHLIB_PREFIX=\"\" -DSHLIB_VERSION=\"\" -DDEBUG -D_DEBUG -UNDEBUG 
-DDEBUG_Neil -DWIN32 -D_WINDOWS -D_X86_ -DWIN95 -DNSS_ENABLE_ECC 
-DUSE_UTIL_DIRECTLY -Ic:/seamonkey/mozilla/dist/include/nspr 
-Ic:/seamonkey/mozilla/dist/include  
-Ic:/seamonkey/mozilla/dist/public/nss 
-Ic:/seamonkey/mozilla/dist/private/nss 
-Ic:/seamonkey/mozilla/dist/include  
-Ic:/seamonkey/mozilla/dist/public/dbm  
/c/seamonkey/mozilla/security/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c
pkix_pl_ldapcertstore.c
c:\seamonkey\mozilla\dist\private\nss\pkix_pl_pki.h(2575) : error C2143: 
syntax error : missing ')' before '*'
c:\seamonkey\mozilla\dist\private\nss\pkix_pl_pki.h(2575) : error C2081: 
'PKIX_PL_OcspCertID' : name in formal parameter list illegal
c:\seamonkey\mozilla\dist\private\nss\pkix_pl_pki.h(2575) : error C2143: 
syntax error : missing '{' before '*'
c:\seamonkey\mozilla\dist\private\nss\pkix_pl_pki.h(2576) : error C2371: 
'PKIX_PL_Date' : redefinition; different basic types
        c:/seamonkey\mozilla\dist\public\nss\pkixt.h(145) : see 
declaration of 'PKIX_PL_Date'
c:\seamonkey\mozilla\dist\private\nss\pkix_pl_pki.h(2576) : error C2143: 
syntax error : missing ';' before '*'
c:\seamonkey\mozilla\dist\private\nss\pkix_pl_pki.h(2577) : error C2370: 
'PKIX_Boolean' : redefinition; different storage class
        c:/seamonkey\mozilla\dist\public\nss\pkixt.h(191) : see 
declaration of 'PKIX_Boolean'
(...further errors...)

I think the C2143/C2371 errors are caused by it failing to parse 
PKIX_PL_OcspCertID. I'm really confused now - pkixt.h must be included, 
so why isn't its typedef of PKIX_PL_OcspCertID being recognised?

-- 
Warning: May contain traces of nuts.
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to