Interestingly enough, building the XULRUNNER_1_8_0_4 source tarball
with *this* mozconfig
built just fine:

. $topsrcdir/xulrunner/config/mozconfig
mk_add_options [EMAIL PROTECTED]@/win32_d.obj
ac_add_options --enable-debug
ac_add_options --disable-optimize

But using this one caused a build error (see below):

. $topsrcdir/xulrunner/config/mozconfig
mk_add_options MOZ_OBJDIR=/cygdrive/e/Data/Win2k_Developer/mozilla/
MOZILLA_NIH/XULRUNNER_1_8_0_4/mozilla/win32_o.obj
ac_add_options --disable-debug
ac_add_options --enable-optimize

Complete build log at <http://pastebin.mozilla.org/3408>.  Here is the
relevant part:

rm -f xpcom_core.lib
lib -NOLOGO -OUT:"xpcom_core.lib"  pldhash.obj nsCOMPtr.obj
nsComponentManagerUtils.obj nsDebug.obj nsID.obj
nsIInterfaceRequestorUtils.obj nsINIParser.obj nsMemory.obj
nsTraceRefcnt.obj nsWeakReference.obj nsGREGlue.obj
nsVersionComparator.obj nsTHashtable.obj nsGenericFactory.obj
nsXPComInit.obj nsStringAPI.obj ../../dist/lib/xpcomds_s.lib ../../
dist/lib/xpcomio_s.lib ../../dist/lib/xpcomcomponents_s.lib ../../dist/
lib/xpcomthreads_s.lib ../../dist/lib/xpcomproxy_s.lib ../../dist/lib/
xpcombase_s.lib ../../dist/lib/xptcall.lib ../../dist/lib/
xptinfo.lib ../../dist/lib/xpt.lib ../../dist/lib/xptcmd.lib ../../
dist/lib/string_s.lib
../../dist/lib/xpcomds_s.lib : fatal error LNK1127: library is corrupt
make[4]: *** [xpcom_core.lib] Error 103
make[4]: Leaving directory `/cygdrive/e/Data/Win2k_Developer/mozilla/
MOZILLA_NIH/XULRUNNER_1_8_0_4/mozilla/win32_o.obj/xpcom/build'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/cygdrive/e/Data/Win2k_Developer/mozilla/
MOZILLA_NIH/XULRUNNER_1_8_0_4/mozilla/win32_o.obj/xpcom'
make[2]: *** [tier_2] Error 2
make[2]: Leaving directory `/cygdrive/e/Data/Win2k_Developer/mozilla/
MOZILLA_NIH/XULRUNNER_1_8_0_4/mozilla/win32_o.obj'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/e/Data/Win2k_Developer/mozilla/
MOZILLA_NIH/XULRUNNER_1_8_0_4/mozilla/win32_o.obj'
make: *** [build] Error 2

Compilation exited abnormally with code 2 at Thu Feb 01 03:39:58

The lib that lib is complaining about built fine:

lib -NOLOGO -OUT:"xpcomds_s.lib"  nsAtomTable.obj nsAtomService.obj
nsByteBuffer.obj nsCheapSets.obj nsCRT.obj nsDeque.obj
nsEmptyEnumerator.obj nsEnumeratorUtils.obj nsFixedSizeAllocator.obj
nsHashSets.obj nsHashtable.obj nsObserverList.obj
nsObserverService.obj nsProperties.obj nsPersistentProperties.obj
nsQuickSort.obj nsRecyclingAllocator.obj nsStaticNameTable.obj
nsStringEnumerator.obj nsSupportsArray.obj
nsSupportsArrayEnumerator.obj nsSupportsPrimitives.obj
nsUnicharBuffer.obj nsVariant.obj nsVoidArray.obj nsTextFormatter.obj
nsTimelineService.obj nsValueArray.obj nsCOMArray.obj nsArray.obj
nsArrayEnumerator.obj nsHashPropertyBag.obj nsWindowsRegKey.obj
echo not_ranlib xpcomds_s.lib
not_ranlib xpcomds_s.lib
/cygdrive/c/Projects/mozilla/MOZILLA_NIH/XULRUNNER_1_8_0_4/mozilla/
build/cygwin-wrapper /cygdrive/c/MOZTOOLS/buildtools/windows/bin/
nsinstall -m 644 xpcomds_s.lib ../../dist/lib

If anyone could help with this I would really appreciate it.

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to