Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 21:42:24 +0100 (CET)
From:      "Jorn Argelo" <jorn@wcborstel.nl>
To:        questions@freebsd.org
Subject:   Error building Mozilla Thunderbird from ports tree
Message-ID:  <20040315204224.E519D170CA@www.wcborstel.nl>

next in thread | raw e-mail | index | archive | help

Hi all,

I'm trying to build Mozilla Thunderbird from the ports-tree, but I run
into an compile error after an hour or so. The Platform is FreeBSD
5.2.1-RELEASE and is running KDE 3.2.1 as its desktop manager. I can't
think of any other relevant information right now. Hopefully you guys
can help me out.

Thanks,

Jorn

Here's an output of uname -a

FreeBSD smeagol.middle-earth.org 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1:
Sat Mar 13 19:46:42 CET 2004   =20
root@sauron.middle-earth.org:/usr/obj/usr/src/sys/smeagol  i386

And here is the actual error.

++ -I/usr/X11R6/include  -I/usr/X11R6/include  -I/usr/X11R6/include
-fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
-Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-long-long -pedantic -O -pipe -mcpu=3Dpentiumpro -D_THREAD_SAFE
-fshort-wchar -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O -fPIC
-shared -Wl,-h -Wl,libpipnss.so -o libpipnss.so  md4.o nsCipherInfo.o
nsNSSCallbacks.o nsNSSComponent.o nsNSSIOLayer.o nsNSSModule.o
nsSSLSocketProvider.o nsTLSSocketProvider.o nsSDR.o nsPK11TokenDB.o
nsNSSCertificate.o nsPKCS12Blob.o nsNSSASN1Object.o nsKeygenHandler.o
nsCrypto.o nsPKCS11Slot.o nsKeygenThread.o nsCMSSecureMessage.o nsCMS.o
nsCertPicker.o nsCRLInfo.o nsNSSCertCache.o nsNSSCertHelper.o
nsNSSCertificateDB.o nsNSSCertTrust.o nsNSSCertValidity.o
nsOCSPResponder.o nsUsageArrayHelper.o nsCRLManager.o nsNSSShutDown.o
nsNTLMAuthModule.o nsCertTree.o    -L/usr/X11R6/lib =20
../../../../dist/lib/libunicharutil_s.a -L../../../../dist/bin -lxpcom=20
-L/usr/local/lib -liconv -L../../../../dist/bin
-L/usr/ports/mail/thunderbird/work/mozilla/dist/lib -lplds4 -lplc4
-lnspr4 -L/usr/X11R6/lib -lc_r  -L../../../../dist/bin -lmozjs
-L../../../../dist/bin -L../../../../dist/lib
../../../../dist/lib/libcrmf.a -lsmime3 -lssl3 -lnss3 -lsoftokn3  =20
-Wl,-Bsymbolic -lm -lc_r
md4.o: In function `md4sum':
md4.o(.text.md4sum+0xa5): undefined reference to `memcpy'
md4.o(.text.md4sum+0xdf): undefined reference to `memset'
nsNSSIOLayer.o: In function `nsConvertCANamesToStrings(PLArenaPool*,
char**, CERTDistNamesStr*)':
nsNSSIOLayer.o(.text._Z25nsConvertCANamesToStringsP11PLArenaPoolPPcP16CERTDis=
tNamesStr+0x142):
undefined reference to `memcpy'
nsSDR.o: In function `nsSecretDecoderRing::DecryptString(char const*,
char**)':
nsSDR.o(.text._ZN19nsSecretDecoderRing13DecryptStringEPKcPPc+0xd2):
undefined reference to `memcpy'
nsNSSCertificate.o: In function `nsNSSCertificate::GetDbKey(char**)':
nsNSSCertificate.o(.text._ZN16nsNSSCertificate8GetDbKeyEPPc+0x153):
undefined reference to `memcpy'
nsNSSCertificate.o(.text._ZN16nsNSSCertificate8GetDbKeyEPPc+0x178):
undefined reference to `memcpy'
nsPKCS12Blob.o: In function `pip_ucs2_ascii_conversion_fn':
nsPKCS12Blob.o(.text.pip_ucs2_ascii_conversion_fn+0x2e): undefined
reference to `memcpy'
nsNSSASN1Object.o(.text._ZN22nsNSSASN1PrintableItem7SetDataEPcj+0x72):
more undefined references to `memcpy' follow
nsKeygenHandler.o: In function
`nsKeygenFormProcessor::GetPublicKey(nsString&, nsString&, nsString&,
nsString&, nsString&)':
nsKeygenHandler.o(.text._ZN21nsKeygenFormProcessor12GetPublicKeyER8nsStringS1=
_S1_S1_S1_+0x34b):
undefined reference to `strchr'
nsCrypto.o: In function `cryptojs_interpret_key_gen_type(char*)':
nsCrypto.o(.text._Z31cryptojs_interpret_key_gen_typePc+0x45): undefined
reference to `___runetype'
nsCrypto.o(.text._Z31cryptojs_interpret_key_gen_typePc+0x52): undefined
reference to `_CurrentRuneLocale'
nsCrypto.o(.text._Z31cryptojs_interpret_key_gen_typePc+0x73): undefined
reference to `strchr'
nsCrypto.o(.text._Z31cryptojs_interpret_key_gen_typePc+0xa0): undefined
reference to `___runetype'
nsCrypto.o(.text._Z31cryptojs_interpret_key_gen_typePc+0xb2): undefined
reference to `_CurrentRuneLocale'
nsCrypto.o: In function `nsCRMFEncoderItemStore(void*, char const*,
unsigned long)':
nsCrypto.o(.text._Z22nsCRMFEncoderItemStorePvPKcm+0x35): undefined
reference to `memcpy'
nsCMSSecureMessage.o: In function
`nsCMSSecureMessage::ReceiveMessage(char const*, char**)':
nsCMSSecureMessage.o(.text._ZN18nsCMSSecureMessage14ReceiveMessageEPKcPPc+0x1=
1f):
undefined reference to `malloc'
nsCMSSecureMessage.o(.text._ZN18nsCMSSecureMessage14ReceiveMessageEPKcPPc+0x1=
3a):
undefined reference to `memcpy'
nsCMSSecureMessage.o(.text._ZN18nsCMSSecureMessage14ReceiveMessageEPKcPPc+0x1=
57):
undefined reference to `free'
nsNSSCertificateDB.o: In function
`nsNSSCertificateDB::getCertNames(CERTCertListStr*, unsigned, unsigned*,
unsigned short***)':
nsNSSCertificateDB.o(.text._ZN18nsNSSCertificateDB12getCertNamesEP15CERTCertL=
istStrjPjPPPt+0x202):
undefined reference to `strchr'
nsNSSCertificateDB.o: In function
`nsNSSCertificateDB::default_nickname(CERTCertificateStr*,
nsIInterfaceRequestor*)':
nsNSSCertificateDB.o(.text._ZN18nsNSSCertificateDB16default_nicknameEP18CERTC=
ertificateStrP21nsIInterfaceRequestor+0x4a3):
undefined reference to `strchr'
nsCRLManager.o: In function `nsCRLManager::ImportCrl(unsigned char*,
unsigned, nsIURI*, unsigned, int, unsigned short const*)':
nsCRLManager.o(.text._ZN12nsCRLManager9ImportCrlEPhjP6nsIURIjiPKt+0xd5e):
undefined reference to `atof'
nsNTLMAuthModule.o: In function `WriteBytes(void*, void const*,
unsigned)':
nsNTLMAuthModule.o(.text._Z10WriteBytesPvPKvj+0x2f): undefined reference
to `memcpy'
nsNTLMAuthModule.o: In function `ZapBuf(void*, unsigned)':
nsNTLMAuthModule.o(.text._Z6ZapBufPvj+0x2a): undefined reference to
`memset'
nsNTLMAuthModule.o: In function `GenerateType3Msg(nsString const&,
nsString const&, nsString const&, void const*, unsigned, void**,
unsigned*)':
nsNTLMAuthModule.o(.text._Z16GenerateType3MsgRK8nsStringS1_S1_PKvjPPvPj+0x51c=
):
undefined reference to `memcpy'
nsNTLMAuthModule.o(.text._Z16GenerateType3MsgRK8nsStringS1_S1_PKvjPPvPj+0x561=
):
undefined reference to `memcpy'
nsNTLMAuthModule.o(.text._Z16GenerateType3MsgRK8nsStringS1_S1_PKvjPPvPj+0x5a3=
):
undefined reference to `memcpy'
../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o): In function
`ToLowerCase(nsAString const&, nsAString&)':
nsUnicharUtils.o(.text._Z11ToLowerCaseRK9nsAStringRS_+0x23a): undefined
reference to `memcpy'
../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o): In function
`ToUpperCase(nsAString const&, nsAString&)':
nsUnicharUtils.o(.text._Z11ToUpperCaseRK9nsAStringRS_+0x235): undefined
reference to `memcpy'
../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o): In function
`nsCaseInsensitiveStringComparator::operator()(unsigned short, unsigned
short) const':
nsUnicharUtils.o(.text._ZNK33nsCaseInsensitiveStringComparatorclEtt+0x98):
undefined reference to `___tolower'
nsUnicharUtils.o(.text._ZNK33nsCaseInsensitiveStringComparatorclEtt+0xa2):
undefined reference to `_CurrentRuneLocale'
nsUnicharUtils.o(.text._ZNK33nsCaseInsensitiveStringComparatorclEtt+0xcb):
undefined reference to `___tolower'
nsUnicharUtils.o(.text._ZNK33nsCaseInsensitiveStringComparatorclEtt+0xd3):
undefined reference to `_CurrentRuneLocale'
../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o): In function
`ToLowerCase(unsigned short)':
nsUnicharUtils.o(.text._Z11ToLowerCaset+0x66): undefined reference to
`___tolower'
nsUnicharUtils.o(.text._Z11ToLowerCaset+0x72): undefined reference to
`_CurrentRuneLocale'
../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o): In function
`ToUpperCase(unsigned short)':
nsUnicharUtils.o(.text._Z11ToUpperCaset+0x66): undefined reference to
`___toupper'
nsUnicharUtils.o(.text._Z11ToUpperCaset+0x72): undefined reference to
`_CurrentRuneLocale'
../../../../dist/lib/libcrmf.a(crmfpop.o): In function
`crmf_generic_encoder_callback':
crmfpop.o(.text+0x262): undefined reference to `memcpy'
../../../../dist/lib/libcrmf.a(crmfpop.o): In function
`crmf_encode_popoprivkey':
crmfpop.o(.text+0x6ad): undefined reference to `memmove'
chmod +x libpipnss.so
strip libpipnss.so
../../../../config/nsinstall -R -m 755 libpipnss.so
../../../../dist/gre/components
: ../../../../dist/gre/components/libpipnss.so
../../../../config/nsinstall -R -m 755 libpipnss.so
../../../../dist/lib/components
: ../../../../dist/lib/components/libpipnss.so
../../../../config/nsinstall -R -m 755 libpipnss.so
../../../../dist/bin/components
: ../../../../dist/bin/components/libpipnss.so
gmake[4]: Leaving directory
`/usr/ports/mail/thunderbird/work/mozilla/security/manager/ssl/src'
gmake[4]: Entering directory
`/usr/ports/mail/thunderbird/work/mozilla/security/manager/ssl/public'
nsIBadCertListener.idl
../../../../dist/bin/xpidl -m typelib -w -I ../../../../dist/idl -I. -o
_xpidlgen/nsIBadCertListener nsIBadCertListener.idl
nsICertSelect.idl
../../../../dist/bin/xpidl -m typelib -w -I ../../../../dist/idl -I. -o
_xpidlgen/nsICertSelect nsICertSelect.idl
nsIX509Cert.idl
../../../../dist/bin/xpidl -m typelib -w -I ../../../../dist/idl -I. -o
_xpidlgen/nsIX509Cert nsIX509Cert.idl
nsIX509CertDB.idl
../../../../dist/bin/xpidl -m typelib -w -I ../../../../dist/idl -I. -o
_xpidlgen/nsIX509CertDB nsIX509CertDB.idl
nsIX509CertDB2.idl
../../../../dist/bin/xpidl -m typelib -w -I ../../../../dist/idl -I. -o
_xpidlgen/nsIX509CertDB2 nsIX509CertDB2.idl
nsIPKCS11Slot.idl
../../../../dist/bin/xpidl -m typelib -w -I ../../../../dist/idl -I. -o
_xpidlgen/nsIPKCS11Slot nsIPKCS11Slot.idl
nsIPK11TokenDB.idl
../../../../dist/bin/xpidl -m typelib -w -I ../../../../dist/idl -I. -o
_xpidlgen/nsIPK11TokenDB nsIPK11TokenDB.idl
nsICertificateDialogs.idl
../../../../dist/bin/xpidl -m typelib -w -I ../../../../dist/idl -I. -o
_xpidlgen/nsICertificateDialogs nsICertificateDialogs.idl
nsICertPickDialogs.idl
../../../../dist/bin/xpidl -m typelib -w -I ../../../../dist/idl -I. -o
_xpidlgen/nsICertPickDialogs nsICertPickDialogs.idl
nsIClientAuthDialogs.idl
../../../../dist/bin/xpidl -m typelib -w -I ../../../../dist/idl -I. -o
_xpidlgen/nsIClientAuthDialogs nsIClientAuthDialogs.idl
nsIDOMCryptoDialogs.idl
../../../../dist/bin/xpidl -m typelib -w -I ../../../../dist/idl -I. -o
_xpidlgen/nsIDOMCryptoDialogs nsIDOMCryptoDialogs.idl
nsIGenKeypairInfoDlg.idlgmake: *** [default] Error 2
*** Error code 2

Stop in /usr/ports/mail/thunderbird.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040315204224.E519D170CA>