MozillaZine

MinGW/cygwin building: failure at 'ecl-exp.h'

Discussion about official Mozilla Firefox builds
Waldo

User avatar
 
Posts: 596
Joined: July 29th, 2003, 8:21 am
Location: Cambridge, MA

Post Posted April 1st, 2004, 5:07 pm

Has anyone seen a build error using MinGW and cygwin under Windows? I've followed the directions on Henrik Gemal's site, but I keep getting this error:

Code: Select all
/cygdrive/m/mozilla/mozilla/build/cygwin-wrapper ../../../../dist/bin/xpidl.exe
-m header -w -I/cygdrive/m/mozilla/mozilla/security/manager/ssl/public -I../../.
./../dist/idl -o _xpidlgen/nsICipherInfo /cygdrive/m/mozilla/mozilla/security/ma
nager/ssl/public/nsICipherInfo.idl
nsICertTree.idl
/cygdrive/m/mozilla/mozilla/build/cygwin-wrapper ../../../../dist/bin/xpidl.exe
-m header -w -I/cygdrive/m/mozilla/mozilla/security/manager/ssl/public -I../../.
./../dist/idl -o _xpidlgen/nsICertTree /cygdrive/m/mozilla/mozilla/security/mana
ger/ssl/public/nsICertTree.idl
/cygdrive/m/mozilla/mozilla/build/cygwin-wrapper m:/mozilla/moztools/bin/nsinsta
ll -m 644 _xpidlgen/nsIFormSigningDialog.h _xpidlgen/nsIBadCertListener.h _xpidl
gen/nsICertSelect.h _xpidlgen/nsIX509Cert.h _xpidlgen/nsIX509CertDB.h _xpidlgen/
nsIX509CertDB2.h _xpidlgen/nsIPKCS11Slot.h _xpidlgen/nsIPK11TokenDB.h _xpidlgen/
nsICertificateDialogs.h _xpidlgen/nsICertPickDialogs.h _xpidlgen/nsIClientAuthDi
alogs.h _xpidlgen/nsIDOMCryptoDialogs.h _xpidlgen/nsIGenKeypairInfoDlg.h _xpidlg
en/nsITokenDialogs.h _xpidlgen/nsITokenPasswordDialogs.h _xpidlgen/nsISSLStatus.
h _xpidlgen/nsIKeygenThread.h _xpidlgen/nsICMSSecureMessage.h _xpidlgen/nsIUserC
ertPicker.h _xpidlgen/nsIASN1Object.h _xpidlgen/nsIASN1PrintableItem.h _xpidlgen
/nsIASN1Sequence.h _xpidlgen/nsICMSDecoder.h _xpidlgen/nsICMSEncoder.h _xpidlgen
/nsICMSMessageErrors.h _xpidlgen/nsICMSMessage.h _xpidlgen/nsICRLInfo.h _xpidlge
n/nsIHash.h _xpidlgen/nsINSSCertCache.h _xpidlgen/nsIOCSPResponder.h _xpidlgen/n
sIPK11Token.h _xpidlgen/nsIPKCS11ModuleDB.h _xpidlgen/nsIPKCS11Module.h _xpidlge
n/nsIX509CertValidity.h _xpidlgen/nsICRLManager.h _xpidlgen/nsISMimeCert.h _xpid
lgen/nsICipherInfo.h _xpidlgen/nsICertTree.h ../../../../dist/include/pipnss
/usr/bin/perl -I/cygdrive/m/mozilla/mozilla/config /cygdrive/m/mozilla/mozilla/c
onfig/build-list.pl ../../../../dist/include/pipnss/.headerlist nsIFormSigningDi
alog.h nsIBadCertListener.h nsICertSelect.h nsIX509Cert.h nsIX509CertDB.h nsIX50
9CertDB2.h nsIPKCS11Slot.h nsIPK11TokenDB.h nsICertificateDialogs.h nsICertPickD
ialogs.h nsIClientAuthDialogs.h nsIDOMCryptoDialogs.h nsIGenKeypairInfoDlg.h nsI
TokenDialogs.h nsITokenPasswordDialogs.h nsISSLStatus.h nsIKeygenThread.h nsICMS
SecureMessage.h nsIUserCertPicker.h nsIASN1Object.h nsIASN1PrintableItem.h nsIAS
N1Sequence.h nsICMSDecoder.h nsICMSEncoder.h nsICMSMessageErrors.h nsICMSMessage
.h nsICRLInfo.h nsIHash.h nsINSSCertCache.h nsIOCSPResponder.h nsIPK11Token.h ns
IPKCS11ModuleDB.h nsIPKCS11Module.h nsIX509CertValidity.h nsICRLManager.h nsISMi
meCert.h nsICipherInfo.h nsICertTree.h
make[5]: Leaving directory `/cygdrive/m/mozilla/mozilla/security/manager/ssl/pub
lic'
make[4]: Leaving directory `/cygdrive/m/mozilla/mozilla/security/manager/ssl'
/usr/bin/make -C pki export
make[4]: Entering directory `/cygdrive/m/mozilla/mozilla/security/manager/pki'
make[5]: Entering directory `/cygdrive/m/mozilla/mozilla/security/manager/pki/pu
blic'
/cygdrive/m/mozilla/mozilla/build/cygwin-wrapper m:/mozilla/moztools/bin/nsinsta
ll -m 644 nsIPKIParamBlock.idl nsIASN1Tree.idl ../../../../dist/idl
Creating ../../../../dist/include/pippki
Creating _xpidlgen/.done
nsIPKIParamBlock.idl
/cygdrive/m/mozilla/mozilla/build/cygwin-wrapper ../../../../dist/bin/xpidl.exe
-m header -w -I/cygdrive/m/mozilla/mozilla/security/manager/pki/public -I../../.
./../dist/idl -o _xpidlgen/nsIPKIParamBlock /cygdrive/m/mozilla/mozilla/security
/manager/pki/public/nsIPKIParamBlock.idl
nsIASN1Tree.idl
/cygdrive/m/mozilla/mozilla/build/cygwin-wrapper ../../../../dist/bin/xpidl.exe
-m header -w -I/cygdrive/m/mozilla/mozilla/security/manager/pki/public -I../../.
./../dist/idl -o _xpidlgen/nsIASN1Tree /cygdrive/m/mozilla/mozilla/security/mana
ger/pki/public/nsIASN1Tree.idl
/cygdrive/m/mozilla/mozilla/build/cygwin-wrapper m:/mozilla/moztools/bin/nsinsta
ll -m 644 _xpidlgen/nsIPKIParamBlock.h _xpidlgen/nsIASN1Tree.h ../../../../dist/
include/pippki
/usr/bin/perl -I/cygdrive/m/mozilla/mozilla/config /cygdrive/m/mozilla/mozilla/c
onfig/build-list.pl ../../../../dist/include/pippki/.headerlist nsIPKIParamBlock
.h nsIASN1Tree.h
make[5]: Leaving directory `/cygdrive/m/mozilla/mozilla/security/manager/pki/pub
lic'
make[5]: Entering directory `/cygdrive/m/mozilla/mozilla/security/manager/pki/re
sources'
make[5]: Nothing to be done for `export'.
make[5]: Leaving directory `/cygdrive/m/mozilla/mozilla/security/manager/pki/res
ources'
make[5]: Entering directory `/cygdrive/m/mozilla/mozilla/security/manager/pki/sr
c'
Creating .deps
echo "#define DEPENDENT_LIBS \"xpcom.dll\", \"nspr4.dll\", \"plc4.dll\", \"plds4
.dll\", \"js3250.dll\", " > dependentLibs.h
make[5]: Leaving directory `/cygdrive/m/mozilla/mozilla/security/manager/pki/src
'
make[4]: Leaving directory `/cygdrive/m/mozilla/mozilla/security/manager/pki'
make[3]: Leaving directory `/cygdrive/m/mozilla/mozilla/security/manager'
make[3]: Entering directory `/cygdrive/m/mozilla/mozilla/security/manager'
/usr/bin/make -C /cygdrive/m/mozilla/mozilla/security/coreconf MAKE="/usr/bin/ma
ke -j1" -j1 MOZILLA_INCLUDES="-Im:/mozilla/mozilla/dist/include/nspr -Im:/mozill
a/mozilla/dist/include/dbm" SOURCE_MD_DIR=m:/mozilla/mozilla/dist DIST=m:/mozill
a/mozilla/dist MOZILLA_CLIENT=1 NO_MDUPDATE=1 BUILD_TREE=m:/mozilla/mozilla BUIL
D_OPT=1 NS_USE_GCC=1 NS_USE_NATIVE= OS_TARGET=WIN95
make[4]: Entering directory `/cygdrive/m/mozilla/mozilla/security/coreconf'
cd nsinstall; /usr/bin/make -j1 export
make[5]: Entering directory `/cygdrive/m/mozilla/mozilla/security/coreconf/nsins
tall'
make[5]: Nothing to be done for `export'.
make[5]: Leaving directory `/cygdrive/m/mozilla/mozilla/security/coreconf/nsinst
all'
cd nsinstall; /usr/bin/make -j1 libs
make[5]: Entering directory `/cygdrive/m/mozilla/mozilla/security/coreconf/nsins
tall'
make[5]: Nothing to be done for `libs'.
make[5]: Leaving directory `/cygdrive/m/mozilla/mozilla/security/coreconf/nsinst
all'
make[4]: Leaving directory `/cygdrive/m/mozilla/mozilla/security/coreconf'
cd ../../dist/lib; cp -f libdbm32.a libdbm.a
/usr/bin/make -C /cygdrive/m/mozilla/mozilla/security/nss/lib MAKE="/usr/bin/mak
e -j1" -j1 MOZILLA_INCLUDES="-Im:/mozilla/mozilla/dist/include/nspr -Im:/mozilla
/mozilla/dist/include/dbm" SOURCE_MD_DIR=m:/mozilla/mozilla/dist DIST=m:/mozilla
/mozilla/dist MOZILLA_CLIENT=1 NO_MDUPDATE=1 BUILD_TREE=m:/mozilla/mozilla BUILD
_OPT=1 NS_USE_GCC=1 NS_USE_NATIVE= OS_TARGET=WIN95
make[4]: Entering directory `/cygdrive/m/mozilla/mozilla/security/nss/lib'
cd util; /usr/bin/make -j1 export
make[5]: Entering directory `/cygdrive/m/mozilla/mozilla/security/nss/lib/util'
Creating m:/mozilla/mozilla/dist/public/nss
nsinstall -m 444 base64.h ciferfam.h nssb64.h nssb64t.h nsslocks.h nssilock.h ns
silckt.h nssrwlk.h nssrwlkt.h portreg.h secasn1.h secasn1t.h seccomon.h secder.h
 secdert.h secdig.h secdigt.h secitem.h secoid.h secoidt.h secport.h secerr.h wa
tcomfx.h m:/mozilla/mozilla/dist/public/nss
Creating m:/mozilla/mozilla/dist/private/nss
nsinstall -m 444 pqgutil.h m:/mozilla/mozilla/dist/private/nss
make[5]: Leaving directory `/cygdrive/m/mozilla/mozilla/security/nss/lib/util'
cd freebl; /usr/bin/make -j1 export
make[5]: Entering directory `/cygdrive/m/mozilla/mozilla/security/nss/lib/freebl
'
make[5]: *** No rule to make target `ecl-exp.h', needed by `export'.  Stop.
make[5]: Leaving directory `/cygdrive/m/mozilla/mozilla/security/nss/lib/freebl'

make[4]: *** [export] Error 2
make[4]: Leaving directory `/cygdrive/m/mozilla/mozilla/security/nss/lib'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/cygdrive/m/mozilla/mozilla/security/manager'
make[2]: *** [tier_40] Error 2
make[2]: Leaving directory `/cygdrive/m/mozilla/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/m/mozilla/mozilla'
make: *** [build] Error 2


I haven't found a bug in Bugzilla, so I'm hoping to discover what's wrong with my setup (or if there is indeed a bug). Any ideas?

Fru T Bunn

User avatar
 
Posts: 31
Joined: March 19th, 2004, 5:17 pm
Location: UK

Post Posted April 2nd, 2004, 1:01 am

I managed to fix many of my build problems by re-ordering the path statement in whatever batch file sets up your MinGW/CYGWin environment.

Mine now is: set path=%path%;D:\Mozilla\cygwin\bin;D:\Mozilla\mingw\bin;%MOZ_TOOLS%\bin

I am still having troubles but this got me much further than before. It may do it for you.

Kind regards,
Andy.

Return to Firefox Builds


Who is online

Users browsing this forum: No registered users and 1 guest