Dear All

        For more than a week Im trying to compile the Mozilla 1.5 in my Windows XP,

        References,
       
                1. I had followed all the instructions in the following link, http://gemal.dk/mozilla/build.html.
                2. For .mozconfig file, I had used the instructions under the "Mozilla FireFox".
                3. Compiled using "make -f client.mk build_all > c:\mozilla\build.log 2>&1".

        Errors and hence the Changes :

                1. I got the "extra ;" error, then I had changed the gcc 3.4 to gcc 3.3.1,
           
                2. Now I got the ../../dist/include/xpcom/nsCOMPtr.h:402: error: function `   nsCOMPtr_base::~nsCOMPtr_base()' definition is marked dllimport.
c:/Mozilla_SDK/mozilla/xpcom/tests/nsIFileEnumerator.cpp: In function `PRBool  LoopInDir(nsILocalFile*)':

                3. Hence I changed to gcc3.2.3, But there also I got the error, Im not able to understand what error it is, I had attached the error file with this.


        Needed :

            1. Is there anyone already successfully compiled the SDK in Windows, If So then please intimate me the downloads and steps to follow on this.

            2. If anyone had any prestigious suggesstions over this, Please do the needful.

            3. Or is there any other way to get compile.

Expecting the reply without fail.

With Thanks In Advance

Chandrasekar P
make[5]: Leaving directory `/cygdrive/c/Mozilla_SDK/mozilla/xpcom/proxy/src'
make[4]: Leaving directory `/cygdrive/c/Mozilla_SDK/mozilla/xpcom/proxy'
make[4]: Entering directory `/cygdrive/c/Mozilla_SDK/mozilla/xpcom/build'
rm -f xpcom.dll
/cygdrive/c/Mozilla_SDK/mozilla/build/cygwin-wrapper g++ -mno-cygwin -shared -Wl
,--export-all-symbols -Wl,--out-implib -Wl,libxpcom.dll.a -o xpcom.dll  nsXPComI
nit.o dlldeps.o   ./module.res          -Wl,--whole-archive ../../dist/lib/libxp
comds_s.a ../../dist/lib/libxpcomio_s.a ../../dist/lib/libxpcomcomponents_s.a ..
/../dist/lib/libxpcomthreads_s.a ../../dist/lib/libxpcomproxy_s.a ../../dist/lib
/libxpcombase_s.a ../../dist/lib/libxptcall.a ../../dist/lib/libxptinfo.a ../../
dist/lib/libxpt.a ../../dist/lib/libxptcmd.a ../../dist/lib/libstring_s.a ../../
dist/lib/libstring_obsolete_s.a ../../dist/lib/libxpcomglue_s.a  -Wl,--no-whole-
archive  -L../../dist/lib -lnspr4 -lplc4 -lplds4 -lshell32 -lole32 -luuid -limag
ehlp -lm
../../dist/lib/libxpcomglue_s.a(nsComponentManagerUtils.o)(.text$_ZZN19nsICompon
entManager6GetIIDEvE3iid+0x0): In function `ZN13nsCOMTypeInfoI17nsIServiceManage
rE6GetIIDEv':
c:/Mozilla_SDK/mozilla/xpcom/glue/nsCOMPtr.h: multiple definition of `ZZN19nsICo
mponentManager6GetIIDEvE3iid'
../../dist/lib/libxpcomcomponents_s.a(nsComponentManager.o)(.rdata$_ZZN19nsIComp
onentManager6GetIIDEvE3iid+0x0):c:/Mozilla_SDK/mozilla/xpcom/components/../../di
st/include/string/nsBufferHandle.h: first defined here
../../dist/lib/libxpcomglue_s.a(nsComponentManagerUtils.o)(.data$_ZTV15nsCOMPtr_
helper+0x0): In function `ZN13nsCOMTypeInfoI17nsIServiceManagerE6GetIIDEv':
c:/Mozilla_SDK/mozilla/xpcom/glue/nsCOMPtr.h: multiple definition of `vtable for
 nsCOMPtr_helper'
nsXPComInit.o(.rdata$_ZTV15nsCOMPtr_helper+0x0):c:/Mozilla_SDK/mozilla/xpcom/bui
ld/../glue/nsCOMPtr.h: first defined here
../../dist/lib/libxpcomglue_s.a(nsComponentManagerUtils.o)(.text$_ZZN17nsIServic
eManager6GetIIDEvE3iid+0x0): In function `ZN13nsCOMTypeInfoI17nsIServiceManagerE
6GetIIDEv':
c:/Mozilla_SDK/mozilla/xpcom/glue/nsCOMPtr.h: multiple definition of `ZZN17nsISe
rviceManager6GetIIDEvE3iid'
nsXPComInit.o(.rdata$_ZZN17nsIServiceManager6GetIIDEvE3iid+0x0):c:/Mozilla_SDK/m
ozilla/xpcom/build/../glue/nsCOMPtr.h: first defined here
../../dist/lib/libxpcomglue_s.a(nsGenericFactory.o)(.text$_ZZN12nsIClassInfo6Get
IIDEvE3iid+0x0): In function `ZN8nsCOMPtrI21nsIComponentRegistrarE22assign_assum
ing_AddRefEPS0_':
c:/Mozilla_SDK/mozilla/xpcom/glue/nsCOMPtr.h: multiple definition of `ZZN12nsICl
assInfo6GetIIDEvE3iid'
../../dist/lib/libxpcomio_s.a(nsFastLoadFile.o)(.rdata$_ZZN12nsIClassInfo6GetIID
EvE3iid+0x0):c:/Mozilla_SDK/mozilla/xpcom/io/../../dist/include/xpcom/nsCOMPtr.h
: first defined here
../../dist/lib/libxpcomglue_s.a(nsGenericFactory.o)(.text$_ZZN13nsCOMTypeInfoI11
nsISupportsE6GetIIDEvE20iid_NS_ISUPPORTS_IID+0x0): In function `ZN8nsCOMPtrI21ns
IComponentRegistrarE22assign_assuming_AddRefEPS0_':
c:/Mozilla_SDK/mozilla/xpcom/glue/nsCOMPtr.h: multiple definition of `ZZN13nsCOM
TypeInfoI11nsISupportsE6GetIIDEvE20iid_NS_ISUPPORTS_IID'
dlldeps.o(.rdata$_ZZN13nsCOMTypeInfoI11nsISupportsE6GetIIDEvE20iid_NS_ISUPPORTS_
IID+0x0):c:/Mozilla_SDK/mozilla/xpcom/build/../../dist/include/string/nsString.h
:401: first defined here
../../dist/lib/libxpcomglue_s.a(nsGenericFactory.o)(.text$_ZZN10nsIFactory6GetII
DEvE3iid+0x0): In function `ZN8nsCOMPtrI21nsIComponentRegistrarE22assign_assumin
g_AddRefEPS0_':
c:/Mozilla_SDK/mozilla/xpcom/glue/nsCOMPtr.h: multiple definition of `ZZN10nsIFa
ctory6GetIIDEvE3iid'
nsXPComInit.o(.rdata$_ZZN10nsIFactory6GetIIDEvE3iid+0x0):c:/Mozilla_SDK/mozilla/
xpcom/build/../glue/nsCOMPtr.h: first defined here
../../dist/lib/libxpcomglue_s.a(nsGenericFactory.o)(.text$_ZZN9nsIModule6GetIIDE
vE3iid+0x0): In function `ZN8nsCOMPtrI21nsIComponentRegistrarE22assign_assuming_
AddRefEPS0_':
c:/Mozilla_SDK/mozilla/xpcom/glue/nsCOMPtr.h: multiple definition of `ZZN9nsIMod
ule6GetIIDEvE3iid'
../../dist/lib/libxpcomcomponents_s.a(nsNativeComponentLoader.o)(.rdata$_ZZN9nsI
Module6GetIIDEvE3iid+0x0):c:/Mozilla_SDK/mozilla/xpcom/components/../../dist/inc
lude/string/nsStringFragment.h: first defined here
../../dist/lib/libxpcomglue_s.a(nsGenericFactory.o)(.text$_ZZN21nsIComponentRegi
strar6GetIIDEvE3iid+0x0): In function `ZN8nsCOMPtrI21nsIComponentRegistrarE22ass
ign_assuming_AddRefEPS0_':
c:/Mozilla_SDK/mozilla/xpcom/glue/nsCOMPtr.h: multiple definition of `ZZN21nsICo
mponentRegistrar6GetIIDEvE3iid'
nsXPComInit.o(.rdata$_ZZN21nsIComponentRegistrar6GetIIDEvE3iid+0x0):c:/Mozilla_S
DK/mozilla/xpcom/build/../glue/nsCOMPtr.h: first defined here
../../dist/lib/libxpcomglue_s.a(nsGenericFactory.o)(.text$_ZZN24nsINativeCompone
ntLoader6GetIIDEvE3iid+0x0): In function `ZN8nsCOMPtrI21nsIComponentRegistrarE22
assign_assuming_AddRefEPS0_':
c:/Mozilla_SDK/mozilla/xpcom/glue/nsCOMPtr.h: multiple definition of `ZZN24nsINa
tiveComponentLoader6GetIIDEvE3iid'
../../dist/lib/libxpcomcomponents_s.a(nsComponentManager.o)(.rdata$_ZZN24nsINati
veComponentLoader6GetIIDEvE3iid+0x0):c:/Mozilla_SDK/mozilla/xpcom/components/../
../dist/include/string/nsBufferHandle.h: first defined here
../../dist/lib/libxpcomglue_s.a(nsGenericFactory.o)(.data$_ZTV11nsISupports+0x0)
: In function `ZN8nsCOMPtrI21nsIComponentRegistrarE22assign_assuming_AddRefEPS0_
':
c:/Mozilla_SDK/mozilla/xpcom/glue/nsCOMPtr.h: multiple definition of `vtable for
 nsISupports'
nsXPComInit.o(.rdata$_ZTV11nsISupports+0x0):c:/Mozilla_SDK/mozilla/xpcom/build/.
./glue/nsCOMPtr.h: first defined here
../../dist/lib/libxpcomglue_s.a(nsGenericFactory.o)(.data$_ZTV10nsIFactory+0x0):
 In function `ZN8nsCOMPtrI21nsIComponentRegistrarE22assign_assuming_AddRefEPS0_'
:
c:/Mozilla_SDK/mozilla/xpcom/glue/nsCOMPtr.h: multiple definition of `vtable for
 nsIFactory'
../../dist/lib/libxpcomcomponents_s.a(nsCategoryManager.o)(.rdata$_ZTV10nsIFacto
ry+0x0):c:/Mozilla_SDK/mozilla/xpcom/components/../ds/nsBaseHashtable.h: first d
efined here
../../dist/lib/libxpcomglue_s.a(nsIInterfaceRequestorUtils.o)(.text$_ZZN21nsIInt
erfaceRequestor6GetIIDEvE3iid+0x0): In function `ZN13nsCOMPtr_baseD2Ev':
c:/Mozilla_SDK/mozilla/xpcom/glue/nsCOMPtr.h: multiple definition of `ZZN21nsIIn
terfaceRequestor6GetIIDEvE3iid'
../../dist/lib/libxpcomcomponents_s.a(nsComponentManager.o)(.rdata$_ZZN21nsIInte
rfaceRequestor6GetIIDEvE3iid+0x0):c:/Mozilla_SDK/mozilla/xpcom/components/../../
dist/include/string/nsBufferHandle.h: first defined here
../../dist/lib/libxpcomglue_s.a(nsWeakReference.o)(.text$_ZZN16nsIWeakReference6
GetIIDEvE3iid+0x0): In function `ZN23nsSupportsWeakReferenceD0Ev':
c:/Mozilla_SDK/mozilla/xpcom/glue/nsWeakReference.h: multiple definition of `ZZN
16nsIWeakReference6GetIIDEvE3iid'
../../dist/lib/libxpcomds_s.a(nsObserverList.o)(.rdata$_ZZN16nsIWeakReference6Ge
tIIDEvE3iid+0x0):c:/Mozilla_SDK/mozilla/xpcom/ds/../../dist/include/xpcom/nsCOMP
tr.h: first defined here
../../dist/lib/libxpcomglue_s.a(nsWeakReference.o)(.text$_ZZN24nsISupportsWeakRe
ference6GetIIDEvE3iid+0x0): In function `ZN23nsSupportsWeakReferenceD0Ev':
c:/Mozilla_SDK/mozilla/xpcom/glue/nsWeakReference.h: multiple definition of `ZZN
24nsISupportsWeakReference6GetIIDEvE3iid'
../../dist/lib/libxpcomds_s.a(nsObserverList.o)(.rdata$_ZZN24nsISupportsWeakRefe
rence6GetIIDEvE3iid+0x0):c:/Mozilla_SDK/mozilla/xpcom/ds/../../dist/include/xpco
m/nsCOMPtr.h: first defined here
Creating library file: libxpcom.dll.a
make[4]: *** [xpcom.dll] Error 1
make[4]: Leaving directory `/cygdrive/c/Mozilla_SDK/mozilla/xpcom/build'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/cygdrive/c/Mozilla_SDK/mozilla/xpcom'
make[2]: *** [tier_2] Error 2
make[2]: Leaving directory `/cygdrive/c/Mozilla_SDK/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/c/Mozilla_SDK/mozilla'
make: *** [build] Error 2

Reply via email to