Apache OpenOffice (AOO) Bugzilla – Issue 40714
undefined reference to `CERT_DecodeDERCertificate'
Last modified: 2005-01-16 10:08:41 UTC
Hi Wind, building linux sparc SRC680_m71 I got the latest cws_srx645_mozooo File: extractfiles.mk Status: Up-to-date Working revision: 1.1.2.13 =================================================================== File: makefile.mk Status: Up-to-date Working revision: 1.1.2.18 and did dmake zip && deliver again related issues are: issue 33928 and issue 38715 jim@sun:~/ooo/xmlsecurity/util$ dmake ------------------------------ Making: ../unxlngs.pro/lib/libxsec_xmlsec.so gcc-3.4 -z combreloc -Wl,-z,defs -Wl,-rpath,'$ORIGIN' -shared -L../unxlngs.pro/lib -L../lib -L/home/jim/ooo/solenv/unxlngs/lib -L/home/jim/ooo/solver/680/unxlngs.pro/lib -L/home/jim/ooo/solenv/unxlngs/lib -L/usr/local/j2sdk1.4.1/lib -L/usr/local/j2sdk1.4.1/jre/lib/sparc -L/usr/local/j2sdk1.4.1/jre/lib/sparc/client -L/usr/local/j2sdk1.4.1/jre/lib/sparc/native_threads -L/usr/X11R6/lib ../unxlngs.pro/slo/xsec_xmlsec_version.o ../unxlngs.pro/slo/xsec_xmlsec_description.o -o ../unxlngs.pro/lib/libxsec_xmlsec.so ../unxlngs.pro/slo/baseencoding.o ../unxlngs.pro/slo/biginteger.o ../unxlngs.pro/slo/certvalidity.o ../unxlngs.pro/slo/saxhelper.o ../unxlngs.pro/slo/xmldocumentwrapper_xmlsecimpl.o ../unxlngs.pro/slo/xmlelementwrapper_xmlsecimpl.o ../unxlngs.pro/slo/certificateextension_xmlsecimpl.o ../unxlngs.pro/slo/xmlstreamio.o ../unxlngs.pro/slo/errorcallback.o ../unxlngs.pro/slo/xsec_xmlsec.o ../unxlngs.pro/slo/moz_profile.o ../unxlngs.pro/slo/securityenvironment_nssimpl.o ../unxlngs.pro/slo/xmlencryption_nssimpl.o ../unxlngs.pro/slo/xmlsecuritycontext_nssimpl.o ../unxlngs.pro/slo/xmlsignature_nssimpl.o ../unxlngs.pro/slo/x509certificate_nssimpl.o ../unxlngs.pro/slo/seinitializer_nssimpl.o ../unxlngs.pro/slo/xsec_nss.o -luno_sal -luno_cppu -luno_cppuhelpergcc3 -luno_sal -lutl680ls -lsvl680ls -ltl680ls -lcomphelp4gcc3 -luno_cppuhelpergcc3 -lxo680ls -lxml2 -lxmlsec -lxmlsec-nss -lnss3 -lnspr4 -lplc4 -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc -lstdc++ ../unxlngs.pro/slo/x509certificate_nssimpl.o(.text+0xf60): In function `X509Certificate_NssImpl::setRawCert(com::sun::star::uno::Sequence<signed char>)': /home/jim/ooo/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx:325: undefined reference to `CERT_DecodeDERCertificate' collect2: ld returned 1 exit status dmake: Error code 1, while making '../unxlngs.pro/lib/libxsec_xmlsec.so' '---* tg_merge.mk *---' jim@sun:~/ooo/xmlsecurity/util$
sparcmoz: I think that rene already fixed that. At least for mozilla 1.7.5.
this is with internal build of mozilla using 1.7.5
rene had updated the patch file for mozilla 1.8.5. See http://www.openoffice.org/source/browse/external/moz/Attic/mozilla-source-1.7.5.patch?r1=text&tr1=1.1.2.3&r2=text&tr2=1.1.2.5&diff_format=h You need the green part. You can either update mozilla-source-1.7.5.patch and rebuild whole mozilla source tree or just manual apply the added patch and build only related mozilla modules by cd $(OUT)/misc/build/make && make. Any way you need rm $OUT)/lib/* && dmake zip && deliver.
OK, it is fixed! thanks verified in cws_srx645_mozooo --- misc/build/mozilla/security/nss/lib/nss/nss.def 2004-07-13 10:38:04.000000000 +0800 +++ misc/build/mozilla/security/nss/lib/nss/nss.def 2004-05-20 01:32:27.000000000 +0800 @@ -60,6 +60,7 @@ CERT_CheckCertValidTimes; CERT_CreateCertificateRequest; CERT_ChangeCertTrust; +CERT_DecodeDERCertificate; CERT_DecodeDERCrl; CERT_DestroyCertificateRequest; CERT_DestroyCertList;
fixed, closing
.
for statistics