Closed
Bug 267975
Opened 20 years ago
Closed 18 years ago
JSS 3.4 and 3.2 fails to build on Linux Kernel 2.6.x
Categories
(JSS Graveyard :: Library, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: lucky, Assigned: wtc)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; rv:1.7.3) Gecko/20041023 Firefox/0.10.1 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; rv:1.7.3) Gecko/20041023 Firefox/0.10.1 It seems that there is something missing which would make a successfull build possible while using a kernel from the 2.6.x series. without doing anything one will get the following error: pinky% gmake ~/temp/jss-3.4-src/mozilla/security/jss ../coreconf/config.mk:67: ../coreconf/Linux2.6.mk: No such file or directory ../coreconf/config.mk:167: no file name for `-include' gmake: *** No rule to make target ../coreconf/Linux2.6.mk. Stop. gmake: *** [../coreconf/Linux2.6.mk] Error 1 then i linked jss-3.4-src/mozilla/security/coreconf/Linux2.5.mk to jss-3.4-src/mozilla/security/coreconf/Linux2.6.mk but the build process still fails: [...] cd lib; gmake export gmake[1]: Entering directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/lib' gmake[1]: Nothing to be done for `export'. gmake[1]: Leaving directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/lib' cd org; gmake private_export gmake[1]: Entering directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org' cd mozilla; gmake private_export gmake[2]: Entering directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla' cd jss; gmake private_export gmake[3]: Entering directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss' cd util; gmake private_export gmake[4]: Entering directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/util' ../../../../../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_DBG.OBJ/nsinstall -R -m 444 jssutil.h jss_exceptions.h java_ids.h jss_bigint.h jssver.h ../../../../../../dist/private/jss gmake[4]: ../../../../../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_DBG.OBJ/nsinstall: Command not found gmake[4]: *** [private_export] Error 127 gmake[4]: Leaving directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/util' gmake[3]: *** [private_export] Error 2 gmake[3]: Leaving directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss' gmake[2]: *** [private_export] Error 2 gmake[2]: Leaving directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla' gmake[1]: *** [private_export] Error 2 gmake[1]: Leaving directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org' gmake: *** [private_export] Error 2 i'm trying to resolve the problem on my own but since yet without success. if anyone can help me with this issue please do it, it would be quite nice. :) Reproducible: Always Steps to Reproduce: 1. try to compile the sourcecode on an 2.6.x kernel
| Reporter | ||
Comment 1•20 years ago
|
||
i tracked the error down, nsinstall doesn't get compiled before the maincode
get's compiled. i cd'ed into 'jss-3.4-src/mozilla/security/coreconf/nsinstall' ,
typed make after which the missing binary was created, then i tried it again.
now i get the following:
perl build_java.pl "SOURCE_PREFIX=../../dist"
"SOURCE_RELEASE_PREFIX=../../dist/release/no-policy"
"SOURCE_RELEASE_CLASSES_DBG_DIR=classes_DBG"
"SOURCE_RELEASE_CLASSES_DIR=classes" build
Command variables:
SOURCE_RELEASE_PREFIX=../../dist/release/no-policy
SOURCE_RELEASE_CLASSES_DIR=classes
SOURCE_RELEASE_CLASSES_DBG_DIR=classes_DBG
SOURCE_PREFIX=../../dist
/opt/blackdown-jdk-1.4.2_rc1/bin/javah -classpath ../../dist/classes_DBG -d
../../dist/private/jss/_jni org.mozilla.jss.DatabaseCloser
org.mozilla.jss.CryptoManager org.mozilla.jss.crypto.Algorithm
org.mozilla.jss.crypto.EncryptionAlgorithm org.mozilla.jss.crypto.PQGParams
org.mozilla.jss.crypto.SecretDecoderRing org.mozilla.jss.pkcs11.CertProxy
org.mozilla.jss.pkcs11.CipherContextProxy org.mozilla.jss.pkcs11.PK11Module
org.mozilla.jss.pkcs11.ModuleProxy org.mozilla.jss.pkcs11.PK11Cert
org.mozilla.jss.pkcs11.PK11Cipher org.mozilla.jss.pkcs11.PK11KeyWrapper
org.mozilla.jss.pkcs11.PK11MessageDigest org.mozilla.jss.pkcs11.PK11PrivKey
org.mozilla.jss.pkcs11.PK11PubKey org.mozilla.jss.pkcs11.PK11SymKey
org.mozilla.jss.pkcs11.PK11KeyPairGenerator
org.mozilla.jss.pkcs11.PK11KeyGenerator org.mozilla.jss.pkcs11.PK11Token
org.mozilla.jss.pkcs11.PrivateKeyProxy org.mozilla.jss.pkcs11.PublicKeyProxy
org.mozilla.jss.pkcs11.SymKeyProxy org.mozilla.jss.pkcs11.KeyProxy
org.mozilla.jss.pkcs11.PK11Token org.mozilla.jss.pkcs11.TokenProxy
org.mozilla.jss.pkcs11.PK11Signature org.mozilla.jss.pkcs11.PK11Store
org.mozilla.jss.pkcs11.PK11KeyPairGenerator
org.mozilla.jss.pkcs11.SigContextProxy org.mozilla.jss.pkcs11.PK11RSAPublicKey
org.mozilla.jss.pkcs11.PK11DSAPublicKey org.mozilla.jss.pkcs11.PK11SecureRandom
org.mozilla.jss.provider.java.security.JSSKeyStoreSpi
org.mozilla.jss.SecretDecoderRing.KeyManager org.mozilla.jss.ssl.SSLSocket
org.mozilla.jss.ssl.SSLServerSocket org.mozilla.jss.ssl.SocketBase
org.mozilla.jss.util.Debug org.mozilla.jss.util.Password
cd org; make export
make[1]: Entering directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org'
cd mozilla; make export
make[2]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla'
cd jss; make export
make[3]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss'
cd util; make export
make[4]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/util'
make[4]: Nothing to be done for `export'.
make[4]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/util'
cd crypto; make export
make[4]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/crypto'
make[4]: Nothing to be done for `export'.
make[4]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/crypto'
cd SecretDecoderRing; make export
make[4]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/SecretDecoderRing'
make[4]: Nothing to be done for `export'.
make[4]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/SecretDecoderRing'
cd pkcs11; make export
make[4]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/pkcs11'
make[4]: Nothing to be done for `export'.
make[4]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/pkcs11'
cd ssl; make export
make[4]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/ssl'
make[4]: Nothing to be done for `export'.
make[4]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/ssl'
cd provider; make export
make[4]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/provider'
cd java; make export
make[5]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/provider/java'
cd security; make export
make[6]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/provider/java/security'
make[6]: Nothing to be done for `export'.
make[6]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/provider/java/security'
make[5]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/provider/java'
make[4]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/provider'
make[3]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss'
make[2]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla'
make[1]: Leaving directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org'
cd lib; make export
make[1]: Entering directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/lib'
make[1]: Nothing to be done for `export'.
make[1]: Leaving directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/lib'
cd org; make private_export
make[1]: Entering directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org'
cd mozilla; make private_export
make[2]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla'
cd jss; make private_export
make[3]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss'
cd util; make private_export
make[4]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/util'
../../../../../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_DBG.OBJ/nsinstall -R -m
444 jssutil.h jss_exceptions.h java_ids.h jss_bigint.h jssver.h
../../../../../../dist/private/jss
make[4]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/util'
cd crypto; make private_export
make[4]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/crypto'
../../../../../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_DBG.OBJ/nsinstall -R -m
444 Algorithm.h ../../../../../../dist/private/jss
make[4]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/crypto'
cd SecretDecoderRing; make private_export
make[4]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/SecretDecoderRing'
There are no private exports.
make[4]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/SecretDecoderRing'
cd pkcs11; make private_export
make[4]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/pkcs11'
../../../../../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_DBG.OBJ/nsinstall -R -m
444 pk11util.h ../../../../../../dist/private/jss
make[4]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/pkcs11'
cd ssl; make private_export
make[4]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/ssl'
There are no private exports.
make[4]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/ssl'
cd provider; make private_export
make[4]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/provider'
cd java; make private_export
make[5]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/provider/java'
cd security; make private_export
make[6]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/provider/java/security'
There are no private exports.
make[6]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/provider/java/security'
There are no private exports.
make[5]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/provider/java'
There are no private exports.
make[4]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/provider'
There are no private exports.
make[3]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss'
There are no private exports.
make[2]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla'
There are no private exports.
make[1]: Leaving directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org'
cd lib; make private_export
make[1]: Entering directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/lib'
There are no private exports.
make[1]: Leaving directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/lib'
There are no private exports.
cd org; make libs
make[1]: Entering directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org'
cd mozilla; make libs
make[2]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla'
cd jss; make libs
make[3]: Entering directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss'
gcc -o Linux2.6_x86_glibc_PTH_DBG.OBJ/CryptoManager.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_lucky -D_REENTRANT
-I../../../../../dist/Linux2.6_x86_glibc_PTH_DBG.OBJ/include
-I../../../../../dist/public/jss -I../../../../../dist/private/jss
-I/opt/blackdown-jdk-1.4.2_rc1/include
-I/opt/blackdown-jdk-1.4.2_rc1/include/linux -I../../../../../dist/public/nspr20
-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: parse error before
"JSS_getPtrFromProxy"
../../../../../dist/private/jss/jssutil.h:139: warning: type defaults to `int'
in declaration of `JSS_getPtrFromProxy'
../../../../../dist/private/jss/jssutil.h:139: warning: data definition has no
type or storage class
../../../../../dist/private/jss/jssutil.h:172: error: parse error before
"JSS_getPtrFromProxyOwner"
../../../../../dist/private/jss/jssutil.h:173: warning: type defaults to `int'
in declaration of `JSS_getPtrFromProxyOwner'
../../../../../dist/private/jss/jssutil.h:173: warning: data definition has no
type or storage class
../../../../../dist/private/jss/jssutil.h:226: error: parse error before "SECItem"
../../../../../dist/private/jss/jssutil.h:238: error: parse error before '*' token
../../../../../dist/private/jss/jssutil.h:239: warning: type defaults to `int'
in declaration of `JSS_ByteArrayToSECItem'
../../../../../dist/private/jss/jssutil.h:239: warning: data definition has no
type or storage class
../../../../../dist/private/jss/jssutil.h:252: error: parse error before "errNum"
../../../../../dist/private/jss/jssutil.h:276: error: parse error before
"PRErrorCode"
In file included from CryptoManager.c:50:
../../../../../dist/private/jss/java_ids.h:36: error: parse error before
"PR_BEGIN_EXTERN_C"
In file included from CryptoManager.c:54:
../../../../../dist/private/jss/pk11util.h:58: error: syntax error before "jobject"
../../../../../dist/private/jss/pk11util.h:59: error: parse error before
"SECKEYPrivateKey"
../../../../../dist/private/jss/pk11util.h:68: error: parse error before
"SECKEYPublicKey"
../../../../../dist/private/jss/pk11util.h:80: error: parse error before
"JSS_PK11_getPrivKeyPtr"
../../../../../dist/private/jss/pk11util.h:81: error: parse error before
"SECKEYPrivateKey"
../../../../../dist/private/jss/pk11util.h:81: warning: type defaults to `int'
in declaration of `JSS_PK11_getPrivKeyPtr'
../../../../../dist/private/jss/pk11util.h:81: warning: data definition has no
type or storage class
../../../../../dist/private/jss/pk11util.h:92: error: parse error before
"JSS_PK11_getPubKeyPtr"
../../../../../dist/private/jss/pk11util.h:93: error: parse error before
"SECKEYPublicKey"
../../../../../dist/private/jss/pk11util.h:93: warning: type defaults to `int'
in declaration of `JSS_PK11_getPubKeyPtr'
../../../../../dist/private/jss/pk11util.h:93: warning: data definition has no
type or storage class
../../../../../dist/private/jss/pk11util.h:102: error: parse error before
"JSS_PK11_getSymKeyPtr"
../../../../../dist/private/jss/pk11util.h:102: error: parse error before
"PK11SymKey"
../../../../../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: parse error before
"PK11SymKey"
../../../../../dist/private/jss/pk11util.h:125: error: parse 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: parse error before
"JSS_PK11_getCertPtr"
../../../../../dist/private/jss/pk11util.h:147: error: parse error before
"CERTCertificate"
../../../../../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: parse error before
"CERTCertificate"
../../../../../dist/private/jss/pk11util.h:187: error: parse error before
"JSS_PK11_getStoreSlotPtr"
../../../../../dist/private/jss/pk11util.h:187: error: parse error before
"PK11SlotInfo"
../../../../../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: parse error before
"PK11SlotInfo"
../../../../../dist/private/jss/pk11util.h:233: error: parse error before
"JSS_PK11_getTokenSlotPtr"
../../../../../dist/private/jss/pk11util.h:233: error: parse error before
"PK11SlotInfo"
../../../../../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: parse error before
"SECMODModule"
../../../../../dist/private/jss/pk11util.h:275: error: parse error before
"JSS_PK11_getModulePtr"
../../../../../dist/private/jss/pk11util.h:275: error: parse error before
"SECMODModule"
../../../../../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: parse 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: parse error before
"JSS_PK11_getCipherContext"
../../../../../dist/private/jss/pk11util.h:335: error: parse error before
"PK11Context"
../../../../../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: parse error before
"PK11Context"
../../../../../dist/private/jss/pk11util.h:379: error: parse error before
"JSS_PK11_getNewSession"
../../../../../dist/private/jss/pk11util.h:379: error: parse error before '*' token
../../../../../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: parse error before '*' token
../../../../../dist/private/jss/pk11util.h:409: error: parse 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: parse error before "NSS_VERSION"
CryptoManager.c:71: error: parse error before "PR_VERSION"
CryptoManager.c:74: error: parse error before "PK11SlotInfo"
CryptoManager.c:77: error: parse error before '*' token
CryptoManager.c:89: error: parse 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: parse error before "status"
CryptoManager.c:124: error: `SECSuccess' undeclared (first use in this function)
CryptoManager.c:125: error: `CERTCertDBHandle' undeclared (first use in this
function)
CryptoManager.c:125: error: `certdb' undeclared (first use in this function)
CryptoManager.c:125: warning: implicit declaration of function
`CERT_GetDefaultCertDB'
CryptoManager.c:138: error: `SECFailure' undeclared (first use in this function)
CryptoManager.c:156: warning: implicit declaration of function
`CERT_DisableOCSPChecking'
CryptoManager.c:170: error: `CERTCertificate' undeclared (first use in this
function)
CryptoManager.c:170: error: `cert' undeclared (first use in this function)
CryptoManager.c:172: warning: implicit declaration of function
`CERT_FindCertByNickname'
CryptoManager.c:177: warning: implicit declaration of function
`PK11_FindCertFromNickname'
CryptoManager.c:186: error: `status' undeclared (first use in this function)
CryptoManager.c:187: warning: implicit declaration of function
`CERT_SetOCSPDefaultResponder'
CryptoManager.c:198: warning: implicit declaration of function
`CERT_EnableOCSPDefaultResponder'
CryptoManager.c:202: warning: implicit declaration of function
`CERT_DisableOCSPDefaultResponder'
CryptoManager.c:209: warning: implicit declaration of function
`CERT_EnableOCSPChecking'
CryptoManager.c: In function
`Java_org_mozilla_jss_CryptoManager_initializeAllNative2':
CryptoManager.c:305: error: `SECStatus' undeclared (first use in this function)
CryptoManager.c:305: error: parse error before "rv"
CryptoManager.c:320: error: `PRUint32' undeclared (first use in this function)
CryptoManager.c:320: error: parse 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_ConfigurePKCS11'
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
function)
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_InitReadWrite'
CryptoManager.c:433: error: `SECSuccess' undeclared (first use in this function)
CryptoManager.c:443: warning: implicit declaration of function
`PK11_SetPasswordFunc'
CryptoManager.c:461: warning: implicit declaration of function
`NSS_SetDomesticPolicy'
CryptoManager.c:306: warning: unused variable `VMs'
CryptoManager.c:307: warning: unused variable `numVMs'
CryptoManager.c: At top level:
CryptoManager.c:560: error: parse 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 cast
CryptoManager.c: At top level:
CryptoManager.c:734: error: parse 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_GetTokenName'
CryptoManager.c: In function
`Java_org_mozilla_jss_CryptoManager_putModulesInVector':
CryptoManager.c:796: error: `SECMODListLock' undeclared (first use in this function)
CryptoManager.c:796: error: `listLock' undeclared (first use in this function)
CryptoManager.c:797: error: `SECMODModuleList' undeclared (first use in this
function)
CryptoManager.c:797: error: `list' undeclared (first use in this function)
CryptoManager.c:798: error: `SECMODModule' undeclared (first use in this function)
CryptoManager.c:798: error: `modp' undeclared (first use in this function)
CryptoManager.c:820: warning: implicit declaration of function
`SECMOD_GetDefaultModuleListLock'
CryptoManager.c:823: warning: implicit declaration of function `SECMOD_GetReadLock'
CryptoManager.c:828: warning: implicit declaration of function
`SECMOD_GetDefaultModuleList'
CryptoManager.c:832: warning: implicit declaration of function
`SECMOD_ReferenceModule'
CryptoManager.c:846: warning: implicit declaration of function
`SECMOD_ReleaseReadLock'
CryptoManager.c:850: warning: implicit declaration of function
`SECMOD_DestroyModule'
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: parse error before "status"
CryptoManager.c:879: warning: implicit declaration of function `PK11_IsFIPS'
CryptoManager.c:882: warning: implicit declaration of function
`SECMOD_GetInternalModule'
CryptoManager.c:882: error: invalid type argument of `->'
CryptoManager.c:882: warning: assignment makes pointer from integer without a cast
CryptoManager.c:883: error: `status' undeclared (first use in this function)
CryptoManager.c:883: warning: implicit declaration of function
`SECMOD_DeleteInternalModule'
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_configureOCSPNative':
CryptoManager.c:937: error: `SECStatus' undeclared (first use in this function)
CryptoManager.c:937: error: parse 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.6_x86_glibc_PTH_DBG.OBJ/CryptoManager.o] Error 1
make[3]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla/jss'
make[2]: *** [libs] Error 2
make[2]: Leaving directory
`/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org/mozilla'
make[1]: *** [libs] Error 2
make[1]: Leaving directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/org'
make: *** [libs] Error 2
what to do about that ?
| Assignee | ||
Comment 2•20 years ago
|
||
You need to follow the JSS 3.4 build instructions at http://www.mozilla.org/projects/security/pki/jss/jss_build_3.4.html. Step 1 is to build NSS 3.7.3, and you need to follow NSS 3.7.3's build instructions. Your build error messages (after you got past the coreconf/Linux2.6.mk problem) showed that you haven't built NSS yet because those missing header files are NSS headers.
| Reporter | ||
Comment 3•20 years ago
|
||
ah, ok. i see. have resolved the issues so far. now i have a new problem which a can't resolve on my own. sorry that i 'abuse' bugzilla for this purposes but hey, by doing it this way people who run into the same problem can use this as a reference: what can i do to resolve this: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ljvm collect2: ld returned 1 exit status make[1]: *** [Linux2.6_x86_glibc_PTH_DBG.OBJ/libjss3.so] Error 1 make[1]: Leaving directory `/home/lucky/temp/jss-3.4-src/mozilla/security/jss/lib' make: *** [libs] Error 2
| Assignee | ||
Comment 4•20 years ago
|
||
Assuming you are using JDK 1.4 or later, you need to set the JAVA_HOME environment variable appropriately and set the JDK_VERSION environment variable to 1.4. These steps are described in the JSS 3.4 build instructions.
Comment 5•18 years ago
|
||
The user issue was likely solved by setting the JAVA_HOME value correctly per wan-teh comment #4. We do build on Linux 2.6 kernal.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•