On Sun, Nov 09, 2008 at 10:12:41AM -0600, DJ Lucas wrote:
> -lcairo -lgmodule-2.0 -lgobject-2.0 -lglib-2.0   -lXt -lgthread-2.0 
> -lfreetype -lz -ldl -lm
> ../../staticlib/components/libpipnss.a(nsCertOverrideService.o): In 
> function `GetCertFingerprintByDottedOidString(nsIX509Cert*, nsCString 
> const&, nsCString&)':
> nsCertOverrideService.cpp:(.text+0x46d): undefined reference to 
> `SEC_StringToOID'
> ../../staticlib/components/libpipnss.a(nsIdentityChecking.o): In 
> function `nsNSSComponent::IdentityInfoInit()':
> nsIdentityChecking.cpp:(.text+0x99d): undefined reference to 
> `SEC_StringToOID'
> /usr/lib/libcrmf.a(crmfenc.o): In function `CRMF_EncodeCertReqMessages':
> crmfenc.c:(.text+0x46): undefined reference to `SEC_ASN1Encode_Util'
> /usr/lib/libcrmf.a(crmfenc.o): In function `CRMF_EncodeCertRequest':
> crmfenc.c:(.text+0x90): undefined reference to `SEC_ASN1Encode_Util'
> 
> ...and so on for another 100 lines or so regarding /usr/lib/libcrmf.a. 
> If anyone has any ideas, they'd be much appreciated.
> 
> [EMAIL PROTECTED] mozilla]# grep libcrmf.a /var/log/llog/*
> /var/log/llog/nss-3.12.llog:/usr/lib/libcrmf.a
> [EMAIL PROTECTED] mozilla]#
> 
 I used nspr-4.7.2, ns-3.12, and gcc-4.2.4 (my spare 6.3 system).
Didn't have any problem like this (I did try hiding all the nss
static libs, so I discovered that libcrmf.a is used here).

 For me, SEC_StringToOID is an nss header:

[EMAIL PROTECTED] ~ $find /usr/include | xargs grep SEC_StringToOID
/usr/include/nss/secoid.h:extern SECStatus
SEC_StringToOID(PLArenaPool *pool, SECItem *to, 

 What I don't immediately see is where xulrunner pulls this header
in.  The last reference to it in my log is at:

c++ -o nsCertTree.o -c -fvisibility=hidden -DNSS_ENABLE_ECC
-DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API
-D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API
-D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET
-DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DOSTYPE=\"Linux2.6.22\"
-DOSARCH=Linux -I/usr/include/nss
-I/home/root/mozilla/security/manager/ssl/src -I.
-I../../../../dist/include/nspr -I../../../../dist/include/xpcom
-I../../../../dist/include/string -I../../../../dist/include/necko
-I../../../../dist/include/uriloader -I../../../../dist/include/pref
-I../../../../dist/include/docshell -I../../../../dist/include/caps
-I../../../../dist/include/dom -I../../../../dist/include/intl
-I../../../../dist/include/locale -I../../../../dist/include/profile
-I../../../../dist/include/windowwatcher
-I../../../../dist/include/js -I../../../../dist/include/widget
-I../../../../dist/include/layout -I../../../../dist/include/content
-I../../../../dist/include/xpconnect
-I../../../../dist/include/unicharutil
-I../../../../dist/include/pipboot -I../../../../dist/include
-I../../../../dist/include/pipnss -I/usr/include/nspr
-I../../../../dist/sdk/include    -fPIC   -fno-rtti -fno-exceptions
-Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align
-Wno-long-long -pedantic -O2 -fno-strict-aliasing -fshort-wchar
-pthread -pipe  -DNDEBUG -DTRIMMED -Os -freorder-blocks
-fno-reorder-functions -finline-limit=50   -DMOZILLA_CLIENT -include
../../../../mozilla-config.h -Wp,-MD,.deps/nsCertTree.pp
/home/root/mozilla/security/manager/ssl/src/nsCertTree.cpp

 which is more than 370 lines before the link for libxul.so that
references libcrmf.

 I didn't use any patches, but I did play about with my nss.pc so
that it added -lsoftokn3 because xulrunner's own mozilla-nss,pc has
that.  Doesn't _seem_ to be directly relevant.

 Sorry, I don't think I'm being very helpful.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to