Le Fri, 25 Jun 2004 15:23:22 -0700, Nelson Bolyard a Ãcrit :

> Nicolas Mailhot wrote:

>> Anyone got an idea what's wrong ?
> 
> Looks to me like you don't have the nsinstall tool in your path.
> 
> Run gmake in mozilla/security/coreconf

Well unfortunately it fails in the next step :

cd jss; /usr/bin/make libs
make[3]: Entering directory `/usr/src/one2team/nim/rpm/BUILD/jss-3.4-src/mozilla
/security/jss/org/mozilla/jss'
gcc -o Linux2.4_x86_glibc_PTH_DBG.OBJ/CryptoManager.o -c -g -fPIC -DLINUX1_2 -Di
386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE
 -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_nim -D_REENTRA
NT -I../../../../../dist/Linux2.4_x86_glibc_PTH_DBG.OBJ/include  -I../../../../.
./dist/public/jss -I../../../../../dist/private/jss -I/usr/lib/jvm/java-1.3.1/in
clude -I/usr/lib/jvm/java-1.3.1/include/linux -I../../../../../dist/public/nspr2
0 -I../../../../../dist/public/nss  CryptoManager.c
CryptoManager.c:35:21: secitem.h: No such file or directory
CryptoManager.c:36:20: secmod.h: No such file or directory
CryptoManager.c:37:18: cert.h: No such file or directory
CryptoManager.c:38:19: certt.h: No such file or directory
CryptoManager.c:39:17: key.h: No such file or directory
CryptoManager.c:40:18: ocsp.h: No such file or directory
CryptoManager.c:41:22: pk11func.h: No such file or directory
CryptoManager.c:42:20: secrng.h: No such file or directory
CryptoManager.c:43:18: nspr.h: No such file or directory
CryptoManager.c:44:19: plstr.h: No such file or directory
CryptoManager.c:45:20: pkcs11.h: No such file or directory
CryptoManager.c:47:17: ssl.h: No such file or directory
In file included from CryptoManager.c:49:
../../../../../dist/private/jss/jssutil.h:56: error: syntax error before "extern
"
../../../../../dist/private/jss/jssutil.h:139: error: syntax error before "JSS_g
etPtrFromProxy"
../../../../../dist/private/jss/jssutil.h:139: warning: type defaults to `int' i
n declaration of `JSS_getPtrFromProxy'
../../../../../dist/private/jss/jssutil.h:139: warning: data definition has no t
ype or storage class
../../../../../dist/private/jss/jssutil.h:172: error: syntax error before "JSS_g
etPtrFromProxyOwner"
../../../../../dist/private/jss/jssutil.h:173: warning: type defaults to `int' i
n declaration of `JSS_getPtrFromProxyOwner'
../../../../../dist/private/jss/jssutil.h:173: warning: data definition has no t
ype or storage class
../../../../../dist/private/jss/jssutil.h:226: error: syntax error before "SECIt
em"
../../../../../dist/private/jss/jssutil.h:238: error: syntax error before '*' to
ken
../../../../../dist/private/jss/jssutil.h:239: warning: type defaults to `int' i
n declaration of `JSS_ByteArrayToSECItem'
../../../../../dist/private/jss/jssutil.h:239: warning: data definition has no t
ype or storage class
../../../../../dist/private/jss/jssutil.h:252: error: syntax error before "errNu
m"
../../../../../dist/private/jss/jssutil.h:276: error: syntax error before "PRErr
orCode"
In file included from CryptoManager.c:50:
../../../../../dist/private/jss/java_ids.h:36: error: syntax error before "PR_BE
GIN_EXTERN_C"
In file included from CryptoManager.c:54:
../../../../../dist/private/jss/pk11util.h:58: error: syntax error before "jobje
ct"
../../../../../dist/private/jss/pk11util.h:59: error: syntax error before "SECKE
YPrivateKey"
../../../../../dist/private/jss/pk11util.h:68: error: syntax error before "SECKE
YPublicKey"
../../../../../dist/private/jss/pk11util.h:80: error: syntax error before "JSS_P
K11_getPrivKeyPtr"
../../../../../dist/private/jss/pk11util.h:81: error: syntax error before "SECKE
YPrivateKey"
../../../../../dist/private/jss/pk11util.h:81: warning: type defaults to `int' i
n declaration of `JSS_PK11_getPrivKeyPtr'
../../../../../dist/private/jss/pk11util.h:81: warning: data definition has no t
ype or storage class
../../../../../dist/private/jss/pk11util.h:92: error: syntax error before "JSS_P
K11_getPubKeyPtr"
../../../../../dist/private/jss/pk11util.h:93: error: syntax error before "SECKE
YPublicKey"
../../../../../dist/private/jss/pk11util.h:93: warning: type defaults to `int' i
n declaration of `JSS_PK11_getPubKeyPtr'
../../../../../dist/private/jss/pk11util.h:93: warning: data definition has no t
ype or storage class
../../../../../dist/private/jss/pk11util.h:102: error: syntax error before "JSS_
PK11_getSymKeyPtr"
../../../../../dist/private/jss/pk11util.h:102: error: syntax error before "PK11
SymKey"
../../../../../dist/private/jss/pk11util.h:102: warning: type defaults to `int' 
in declaration of `JSS_PK11_getSymKeyPtr'
../../../../../dist/private/jss/pk11util.h:102: warning: data definition has no 
type or storage class
../../../../../dist/private/jss/pk11util.h:111: error: syntax error before "PK11
SymKey"
../../../../../dist/private/jss/pk11util.h:125: error: syntax error before "JSS_
PK11_getKeyType"
../../../../../dist/private/jss/pk11util.h:125: warning: type defaults to `int' 
in declaration of `JSS_PK11_getKeyType'
../../../../../dist/private/jss/pk11util.h:125: warning: data definition has no 
type or storage class
../../../../../dist/private/jss/pk11util.h:147: error: syntax error before "JSS_
PK11_getCertPtr"
../../../../../dist/private/jss/pk11util.h:147: error: syntax error before "CERT
Certificate"
../../../../../dist/private/jss/pk11util.h:147: warning: type defaults to `int' 
in declaration of `JSS_PK11_getCertPtr'
../../../../../dist/private/jss/pk11util.h:147: warning: data definition has no 
type or storage class
../../../../../dist/private/jss/pk11util.h:163: error: syntax error before "CERT
Certificate"
../../../../../dist/private/jss/pk11util.h:187: error: syntax error before "JSS_
PK11_getStoreSlotPtr"
../../../../../dist/private/jss/pk11util.h:187: error: syntax error before "PK11
SlotInfo"
../../../../../dist/private/jss/pk11util.h:187: warning: type defaults to `int' 
in declaration of `JSS_PK11_getStoreSlotPtr'
../../../../../dist/private/jss/pk11util.h:187: warning: data definition has no 
type or storage class
../../../../../dist/private/jss/pk11util.h:218: error: syntax error before "PK11
SlotInfo"
../../../../../dist/private/jss/pk11util.h:233: error: syntax error before "JSS_
PK11_getTokenSlotPtr"
../../../../../dist/private/jss/pk11util.h:233: error: syntax error before "PK11
SlotInfo"
../../../../../dist/private/jss/pk11util.h:233: warning: type defaults to `int' 
in declaration of `JSS_PK11_getTokenSlotPtr'
../../../../../dist/private/jss/pk11util.h:233: warning: data definition has no 
type or storage class
../../../../../dist/private/jss/pk11util.h:255: error: syntax error before "SECM
ODModule"
../../../../../dist/private/jss/pk11util.h:275: error: syntax error before "JSS_
PK11_getModulePtr"
../../../../../dist/private/jss/pk11util.h:275: error: syntax error before "SECM
ODModule"
../../../../../dist/private/jss/pk11util.h:275: warning: type defaults to `int' 
in declaration of `JSS_PK11_getModulePtr'
../../../../../dist/private/jss/pk11util.h:275: warning: data definition has no 
type or storage class
../../../../../dist/private/jss/pk11util.h:300: error: syntax error before "JSS_
PK11_getSigContext"
../../../../../dist/private/jss/pk11util.h:301: warning: type defaults to `int' 
in declaration of `JSS_PK11_getSigContext'
../../../../../dist/private/jss/pk11util.h:301: warning: data definition has no 
type or storage class
../../../../../dist/private/jss/pk11util.h:335: error: syntax error before "JSS_
PK11_getCipherContext"
../../../../../dist/private/jss/pk11util.h:335: error: syntax error before "PK11
Context"
../../../../../dist/private/jss/pk11util.h:335: warning: type defaults to `int' 
in declaration of `JSS_PK11_getCipherContext'
../../../../../dist/private/jss/pk11util.h:335: warning: data definition has no 
type or storage class
../../../../../dist/private/jss/pk11util.h:353: error: syntax error before "PK11
Context"
../../../../../dist/private/jss/pk11util.h:379: error: syntax error before "JSS_
PK11_getNewSession"
../../../../../dist/private/jss/pk11util.h:379: error: syntax error before '*' t
oken
../../../../../dist/private/jss/pk11util.h:379: warning: type defaults to `int' 
in declaration of `JSS_PK11_getNewSession'
../../../../../dist/private/jss/pk11util.h:379: warning: data definition has no 
type or storage class
../../../../../dist/private/jss/pk11util.h:399: error: syntax error before '*' t
oken
../../../../../dist/private/jss/pk11util.h:409: error: syntax error before "crv"
In file included from /usr/include/signal.h:33,
                 from CryptoManager.c:57:
/usr/include/bits/sigset.h:23: error: syntax error before "typedef"
CryptoManager.c:70: error: syntax error before "NSS_VERSION"
CryptoManager.c:71: error: syntax error before "PR_VERSION"
CryptoManager.c:74: error: syntax error before "PK11SlotInfo"
CryptoManager.c:77: error: syntax error before '*' token
CryptoManager.c:89: error: syntax error before "handleSigChild"
CryptoManager.c:89: warning: return type defaults to `int'
CryptoManager.c: In function `handleSigChild':
CryptoManager.c:106: error: `PR_FAILURE' undeclared (first use in this function)
CryptoManager.c:106: error: (Each undeclared identifier is reported only once
CryptoManager.c:106: error: for each function it appears in.)
CryptoManager.c:109: error: `PR_SUCCESS' undeclared (first use in this function)
CryptoManager.c: In function `ConfigureOCSP':
CryptoManager.c:123: error: `SECStatus' undeclared (first use in this function)
CryptoManager.c:123: error: syntax error before "status"
CryptoManager.c:124: error: `SECSuccess' undeclared (first use in this function)
CryptoManager.c:125: error: `CERTCertDBHandle' undeclared (first use in this fun
ction)
CryptoManager.c:125: error: `certdb' undeclared (first use in this function)
CryptoManager.c:125: warning: implicit declaration of function `CERT_GetDefaultC
ertDB'
CryptoManager.c:138: error: `SECFailure' undeclared (first use in this function)
CryptoManager.c:156: warning: implicit declaration of function `CERT_DisableOCSP
Checking'
CryptoManager.c:170: error: `CERTCertificate' undeclared (first use in this func
tion)
CryptoManager.c:170: error: `cert' undeclared (first use in this function)
CryptoManager.c:172: warning: implicit declaration of function `CERT_FindCertByN
ickname'
CryptoManager.c:177: warning: implicit declaration of function `PK11_FindCertFro
mNickname'
CryptoManager.c:186: error: `status' undeclared (first use in this function)
CryptoManager.c:187: warning: implicit declaration of function `CERT_SetOCSPDefa
ultResponder'
CryptoManager.c:198: warning: implicit declaration of function `CERT_EnableOCSPD
efaultResponder'
CryptoManager.c:202: warning: implicit declaration of function `CERT_DisableOCSP
DefaultResponder'
CryptoManager.c:209: warning: implicit declaration of function `CERT_EnableOCSPC
hecking'
CryptoManager.c: In function `Java_org_mozilla_jss_CryptoManager_initializeAllNa
tive2':
CryptoManager.c:305: error: `SECStatus' undeclared (first use in this function)
CryptoManager.c:305: error: syntax error before "rv"
CryptoManager.c:320: error: `PRUint32' undeclared (first use in this function)
CryptoManager.c:320: error: syntax error before "initFlags"
CryptoManager.c:323: error: syntax error before "initialized"
CryptoManager.c:340: error: `initialized' undeclared (first use in this function
)
CryptoManager.c:352: warning: implicit declaration of function `PR_ASSERT'
CryptoManager.c:352: error: `PR_FALSE' undeclared (first use in this function)
CryptoManager.c:366: error: `PR_TRUE' undeclared (first use in this function)
CryptoManager.c:386: warning: implicit declaration of function `strlen'
CryptoManager.c:394: warning: implicit declaration of function `PK11_ConfigurePK
CS11'
CryptoManager.c:394: warning: implicit declaration of function `PL_strdup'
CryptoManager.c:415: error: `initFlags' undeclared (first use in this function)
CryptoManager.c:417: error: `NSS_INIT_READONLY' undeclared (first use in this fu
nction)
CryptoManager.c:423: error: `rv' undeclared (first use in this function)
CryptoManager.c:423: warning: implicit declaration of function `NSS_Initialize'
CryptoManager.c:427: warning: implicit declaration of function `NSS_Init'
CryptoManager.c:429: warning: implicit declaration of function `NSS_InitReadWrit
e'
CryptoManager.c:433: error: `SECSuccess' undeclared (first use in this function)
CryptoManager.c:443: warning: implicit declaration of function `PK11_SetPassword
Func'
CryptoManager.c:461: warning: implicit declaration of function `NSS_SetDomesticP
olicy'
CryptoManager.c:306: warning: unused variable `VMs'
CryptoManager.c:307: warning: unused variable `numVMs'
CryptoManager.c: At top level:
CryptoManager.c:560: error: syntax error before '*' token
CryptoManager.c: In function `getPWFromCallback':
CryptoManager.c:576: error: `slot' undeclared (first use in this function)
CryptoManager.c:583: error: `arg' undeclared (first use in this function)
CryptoManager.c:594: error: `PR_FALSE' undeclared (first use in this function)
CryptoManager.c:616: error: `retry' undeclared (first use in this function)
CryptoManager.c:695: warning: assignment makes pointer from integer without a ca
st
CryptoManager.c: At top level:
CryptoManager.c:734: error: syntax error before "PK11SlotInfo"
CryptoManager.c: In function `makePWCBInfo':
CryptoManager.c:741: error: `env' undeclared (first use in this function)
CryptoManager.c:741: error: `slot' undeclared (first use in this function)
CryptoManager.c:746: warning: implicit declaration of function `PK11_GetTokenNam
e'
CryptoManager.c: In function `Java_org_mozilla_jss_CryptoManager_putModulesInVec
tor':
CryptoManager.c:796: error: `SECMODListLock' undeclared (first use in this funct
ion)
CryptoManager.c:796: error: `listLock' undeclared (first use in this function)
CryptoManager.c:797: error: `SECMODModuleList' undeclared (first use in this fun
ction)
CryptoManager.c:797: error: `list' undeclared (first use in this function)
CryptoManager.c:798: error: `SECMODModule' undeclared (first use in this functio
n)
CryptoManager.c:798: error: `modp' undeclared (first use in this function)
CryptoManager.c:820: warning: implicit declaration of function `SECMOD_GetDefaul
tModuleListLock'
CryptoManager.c:823: warning: implicit declaration of function `SECMOD_GetReadLo
ck'
CryptoManager.c:828: warning: implicit declaration of function `SECMOD_GetDefaul
tModuleList'
CryptoManager.c:832: warning: implicit declaration of function `SECMOD_Reference
Module'
CryptoManager.c:846: warning: implicit declaration of function `SECMOD_ReleaseRe
adLock'
CryptoManager.c:850: warning: implicit declaration of function `SECMOD_DestroyMo
dule'
CryptoManager.c: In function `Java_org_mozilla_jss_CryptoManager_enableFIPS':
CryptoManager.c:877: error: `SECStatus' undeclared (first use in this function)
CryptoManager.c:877: error: syntax error before "status"
CryptoManager.c:879: warning: implicit declaration of function `PK11_IsFIPS'
CryptoManager.c:882: warning: implicit declaration of function `SECMOD_GetIntern
alModule'
CryptoManager.c:882: error: invalid type argument of `->'
CryptoManager.c:882: warning: assignment makes pointer from integer without a ca
st
CryptoManager.c:883: error: `status' undeclared (first use in this function)
CryptoManager.c:883: warning: implicit declaration of function `SECMOD_DeleteInt
ernalModule'
CryptoManager.c:884: warning: implicit declaration of function `PR_Free'
CryptoManager.c:888: error: `SECSuccess' undeclared (first use in this function)
CryptoManager.c: In function `Java_org_mozilla_jss_DatabaseCloser_closeDatabases
':
CryptoManager.c:922: warning: implicit declaration of function `NSS_Shutdown'
CryptoManager.c: In function `Java_org_mozilla_jss_CryptoManager_configureOCSPNa
tive':
CryptoManager.c:937: error: `SECStatus' undeclared (first use in this function)
CryptoManager.c:937: error: syntax error before "rv"
CryptoManager.c:939: error: `rv' undeclared (first use in this function)
CryptoManager.c:942: error: `SECSuccess' undeclared (first use in this function)
CryptoManager.c:943: warning: implicit declaration of function `PR_GetError'
CryptoManager.c: At top level:
CryptoManager.c:69: warning: `DLL_JSS_VERSION' defined but not used
CryptoManager.c:70: warning: `DLL_NSS_VERSION' defined but not used
CryptoManager.c:71: warning: `DLL_NSPR_VERSION' defined but not used
make[3]: *** [Linux2.4_x86_glibc_PTH_DBG.OBJ/CryptoManager.o] Error 1
make[3]: Leaving directory `/usr/src/one2team/nim/rpm/BUILD/jss-3.4-src/mozilla/
security/jss/org/mozilla/jss'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/usr/src/one2team/nim/rpm/BUILD/jss-3.4-src/mozilla/
security/jss/org/mozilla'
make[1]: *** [libs] Error 2
make[1]: Leaving directory `/usr/src/one2team/nim/rpm/BUILD/jss-3.4-src/mozilla/
security/jss/org'
make: *** [libs] Error 2
erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.94469 (%build)



-- 
Nicolas Mailhot

_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to