Issue 40714 - undefined reference to `CERT_DecodeDERCertificate'
Summary: undefined reference to `CERT_DecodeDERCertificate'
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: 680m71
Hardware: Sun Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: sparcmoz
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-14 22:26 UTC by sparcmoz
Modified: 2005-01-16 10:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description sparcmoz 2005-01-14 22:26:30 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$
Comment 1 pavel 2005-01-15 09:53:36 UTC
sparcmoz: I think that rene already fixed that. At least for mozilla 1.7.5.
Comment 2 sparcmoz 2005-01-16 08:38:51 UTC
this is with internal build of mozilla using 1.7.5
Comment 3 wind.li 2005-01-16 08:54:26 UTC
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.
Comment 4 sparcmoz 2005-01-16 10:03:13 UTC
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;
Comment 5 sparcmoz 2005-01-16 10:05:12 UTC
fixed, closing
Comment 6 sparcmoz 2005-01-16 10:05:37 UTC
.
Comment 7 sparcmoz 2005-01-16 10:08:41 UTC
for statistics