Hi, I'have tried to build mozilla 1.4, but I get this error: g++ -o oeICalImpl.o -c -DICAL_DEBUG -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -I../../dist/include/xpcom -I../../dist/include/appshell -I../../dist/include/string -I../../dist/include/timer -I../../dist/include/necko -I../../dist/include/msgcompose -I../../dist/include/addrbook -I../../dist/include/ical -I../../dist/include/icalss -I../../dist/include/calendar -I../../dist/include -I/var/tmp/portage/mozilla-1.4/work/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -march=pentium3 -pipe -Wno-deprecated -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -DDEPENDENT_LIBS="\"libmozicalss.so\", \"libmozical.so\", \"libxpcom.so\", \"libplds4.so\", \"libplc4.so\", \"libnspr4.so\", \"libpthread.so\", \"libdl.so\"," -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/oeICalImpl.pp oeICalImpl.cpp oeICalEventImpl.cpp: En la funci
Hi, I'have tried to build mozilla 1.4, but I get this error: g++ -o oeICalImpl.o -c -DICAL_DEBUG -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -I../../dist/include/xpcom -I../../dist/include/appshell -I../../dist/include/string -I../../dist/include/timer -I../../dist/include/necko -I../../dist/include/msgcompose -I../../dist/include/addrbook -I../../dist/include/ical -I../../dist/include/icalss -I../../dist/include/calendar -I../../dist/include -I/var/tmp/portage/mozilla-1.4/work/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -march=pentium3 -pipe -Wno-deprecated -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -DDEPENDENT_LIBS="\"libmozicalss.so\", \"libmozical.so\", \"libxpcom.so\", \"libplds4.so\", \"libplc4.so\", \"libnspr4.so\", \"libpthread.so\", \"libdl.so\"," -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/oeICalImpl.pp oeICalImpl.cpp oeICalEventImpl.cpp: En la función miembro `virtual nsresult oeICalEventImpl::GetExceptions(nsISimpleEnumerator**)': oeICalEventImpl.cpp:1338: aviso: `PRTime lastadded' se debería usar sin iniciar en esta función oeICalEventImpl.cpp:1338: aviso: `PRTime minimum' se debería usar sin iniciar en esta función oeICalEventImpl.cpp: At global scope: oeICalEventImpl.cpp: En la instanciación de `nsCOMPtr<nsIMsgAttachment>': oeICalEventImpl.cpp:1462: instanciado desde aquí oeICalEventImpl.cpp:1462: sizeof aplicado a un tipo de dato incompleto ` nsIMsgAttachment' oeICalEventImpl.cpp: En la instanciación de `nsDerivedSafe<nsIMsgAttachment>': oeICalEventImpl.cpp:1469: instanciado desde aquí oeICalEventImpl.cpp:1469: la clase base `nsIMsgAttachment' tiene tipo de dato incompleto oeICalEventImpl.cpp: En member function `virtual nsresult oeICalEventImpl::AddAttachment(nsIMsgAttachment*)': oeICalEventImpl.cpp:1469: no se encuentra una función coincidente para la llamada a `nsDerivedSafe<nsIMsgAttachment>::EqualsUrl(nsIMsgAttachment*&, PRBool*)' oeICalEventImpl.cpp:1475: no se encuentra una función coincidente para la llamada a `nsDerivedSafe<nsISupportsArray>::InsertElementAt( nsIMsgAttachment*&, PRUint32&)' ../../dist/include/xpcom/nsISupportsArray.h:74: candidates are: virtual PRBool nsISupportsArray::InsertElementAt(nsISupports*, unsigned int) ../../dist/include/xpcom/nsISupportsUtils.h: En static member function `static const nsIID& nsCOMTypeInfo<T>::GetIID() [with T = nsIMsgAttachment]': oeICalEventImpl.cpp:1466: instanciado desde aquí ../../dist/include/xpcom/nsISupportsUtils.h:243: no hay un método ` nsIMsgAttachment::GetIID' oeICalEventImpl.cpp: En member function `virtual nsresult oeICalEventImpl::RemoveAttachment(nsIMsgAttachment*)': oeICalEventImpl.cpp:1494: no se encuentra una función coincidente para la llamada a `nsDerivedSafe<nsIMsgAttachment>::EqualsUrl(nsIMsgAttachment*&, PRBool*)' oeICalEventImpl.cpp: At global scope: oeICalEventImpl.cpp: En la instanciación de `nsCOMPtr<nsIAbCard>': oeICalEventImpl.cpp:1539: instanciado desde aquí oeICalEventImpl.cpp:1539: sizeof aplicado a un tipo de dato incompleto ` nsIAbCard' oeICalEventImpl.cpp: En la instanciación de `nsDerivedSafe<nsIAbCard>': oeICalEventImpl.cpp:1546: instanciado desde aquí oeICalEventImpl.cpp:1546: la clase base `nsIAbCard' tiene tipo de dato incompleto oeICalEventImpl.cpp: En member function `virtual nsresult oeICalEventImpl::AddContact(nsIAbCard*)': oeICalEventImpl.cpp:1546: no se encuentra una función coincidente para la llamada a `nsDerivedSafe<nsIAbCard>::Equals(nsIAbCard*&, PRBool*)' oeICalEventImpl.cpp:1552: no se encuentra una función coincidente para la llamada a `nsDerivedSafe<nsISupportsArray>::InsertElementAt(nsIAbCard*&, PRUint32&)' ../../dist/include/xpcom/nsISupportsArray.h:74: candidates are: virtual PRBool nsISupportsArray::InsertElementAt(nsISupports*, unsigned int) ../../dist/include/xpcom/nsISupportsUtils.h: En static member function `static const nsIID& nsCOMTypeInfo<T>::GetIID() [with T = nsIAbCard]': oeICalEventImpl.cpp:1543: instanciado desde aquí ../../dist/include/xpcom/nsISupportsUtils.h:243: no hay un método `nsIAbCard:: GetIID' oeICalEventImpl.cpp: En member function `virtual nsresult oeICalEventImpl::RemoveContact(nsIAbCard*)': oeICalEventImpl.cpp:1571: no se encuentra una función coincidente para la llamada a `nsDerivedSafe<nsIAbCard>::Equals(nsIAbCard*&, PRBool*)' oeICalEventImpl.cpp: En member function `bool oeICalEventImpl::ParseIcalComponent(icalcomponent*)': oeICalEventImpl.cpp:2158: `NS_MSGATTACHMENT_CONTRACTID' sin declarar (primero use esta función) oeICalEventImpl.cpp:2158: (Cada identificador sin declarar es reportado sólo una vez para cada función en el que aparece.) oeICalEventImpl.cpp:2158: `do_CreateInstance' sin declarar (primero use esta función) oeICalEventImpl.cpp:2160: no se encuentra una función coincidente para la llamada a `nsDerivedSafe<nsIMsgAttachment>::SetUrl(const char*&)' oeICalEventImpl.cpp:2161: no se encuentra una función coincidente para la llamada a `oeICalEventImpl::AddAttachment(nsCOMPtr<nsIMsgAttachment>&)' oeICalEventImpl.cpp:1453: candidates are: virtual nsresult oeICalEventImpl::AddAttachment(nsIMsgAttachment*) oeICalEventImpl.cpp:2173: `NS_ABCARDPROPERTY_CONTRACTID' sin declarar (primero use esta función) oeICalEventImpl.cpp:2177: no se encuentra una función coincidente para la llamada a `nsDerivedSafe<nsIAbCard>::SetPrimaryEmail(const PRUnichar*)' oeICalEventImpl.cpp:2178: no se encuentra una función coincidente para la llamada a `oeICalEventImpl::AddContact(nsCOMPtr<nsIAbCard>&)' oeICalEventImpl.cpp:1530: candidates are: virtual nsresult oeICalEventImpl::AddContact(nsIAbCard*) oeICalEventImpl.cpp: En member function `icalcomponent* oeICalEventImpl::AsIcalComponent()': oeICalEventImpl.cpp:2586: no se encuentra una función coincidente para la llamada a `nsDerivedSafe<nsIMsgAttachment>::GetUrl(char**)' oeICalEventImpl.cpp:2620: no se encuentra una función coincidente para la llamada a `nsDerivedSafe<nsIAbCard>::GetPrimaryEmail( nsXPIDLString::getter_Copies_t)' En el fichero incluído de ../../dist/include/xpcom/nsIComponentManager.h:158, de ../../dist/include/xpcom/nsIServiceManagerObsolete.h:52, de ../../dist/include/xpcom/nsIServiceManagerUtils.h:42, de ../../dist/include/xpcom/nsIServiceManager.h:167, de oeICalEventImpl.cpp:2633: ../../dist/include/xpcom/nsComponentManagerUtils.h: En function `const nsCreateInstanceByCID do_CreateInstance(const nsCID&, nsresult*)': ../../dist/include/xpcom/nsComponentManagerUtils.h:84: se usa `const nsCreateInstanceByCID do_CreateInstance(const nsCID&, nsresult* = 0)' previo a la declaración make[3]: *** [oeICalEventImpl.o] Error 1 make[3]: *** Se espera a que terminen otras tareas.... oeICalImpl.cpp: En la función miembro `virtual nsresult oeICalImpl::GetFirstEventsForRange(long long int, long long int, nsISimpleEnumerator**)': oeICalImpl.cpp:1475: aviso: `bool isbeginning' se debería usar sin iniciar en esta función make[3]: Leaving directory `/var/tmp/portage/mozilla-1.4/work/mozilla/calendar/libxpical' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/var/tmp/portage/mozilla-1.4/work/mozilla/calendar' make[1]: *** [tier_98] Error 2 make[1]: Leaving directory `/var/tmp/portage/mozilla-1.4/work/mozilla' make: *** [default] Error 2 The Use flags applied to the ebuild are: +java +crypt -ipv6 +gtk2 +ssl -ldap +gnome +mozsvg +mozcalendar +mozaccess +mozp3p -mozxmlterm +moznoirc +moznomail -moznocompose -moznoxft I'm using gentoo 1.4 and a 2.4.20 gentoo-sources Tomorrow I'm going to left my home for a month, so I'll not be able to answer questions relative to the problem Thanks Rodrigo Cilla Ugarte Madrid Spain Reproducible: Always Steps to Reproduce: 1.emerge mozilla 2. 3.
I haven't said that I was using gcc 3.2.2 Rodrigo
g++ -o oeICalStartupHandler.o -c -DICAL_DEBUG -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -I../../dist/include/xpcom -I../../dist/include/appshell -I../../dist/include/string -I../../dist/include/timer -I../../dist/include/necko -I../../dist/include/msgcompose -I../../dist/include/addrbook -I../../dist/include/ical -I../../dist/include/icalss -I../../dist/include/calendar -I../../dist/include -I/var/tmp/portage/mozilla-1.4-r3/work/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -march=pentium3 -pipe -Wno-deprecated -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -DDEPENDENT_LIBS="\"libmozicalss.so\", \"libmozical.so\", \"libxpcom.so\", \"libplds4.so\", \"libplc4.so\", \"libnspr4.so\", \"libpthread.so\", \"libdl.so\"," -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/oeICalStartupHandler.pp oeICalStartupHandler.cpp oeIICal.idl ../../dist/bin/xpidl -m typelib -w -I ../../dist/idl -I. -o _xpidlgen/oeIICal oeIICal.idl ../../dist/bin/xpt_link _xpidlgen/calendar.xpt _xpidlgen/oeIICal.xpt oeICalEventImpl.cpp: In member function `virtual nsresult oeICalEventImpl::GetExceptions(nsISimpleEnumerator**)': oeICalEventImpl.cpp:1338: warning: `PRTime lastadded' might be used uninitialized in this function oeICalEventImpl.cpp:1338: warning: `PRTime minimum' might be used uninitialized in this function oeICalEventImpl.cpp: At global scope: oeICalEventImpl.cpp: In instantiation of `nsCOMPtr<nsIMsgAttachment>': oeICalEventImpl.cpp:1462: instantiated from here oeICalEventImpl.cpp:1462: `sizeof' applied to incomplete type `nsIMsgAttachment ' oeICalEventImpl.cpp: In instantiation of `nsDerivedSafe<nsIMsgAttachment>': oeICalEventImpl.cpp:1469: instantiated from here oeICalEventImpl.cpp:1469: base class `nsIMsgAttachment' has incomplete type oeICalEventImpl.cpp: In member function `virtual nsresult oeICalEventImpl::AddAttachment(nsIMsgAttachment*)': oeICalEventImpl.cpp:1469: no matching function for call to ` nsDerivedSafe<nsIMsgAttachment>::EqualsUrl(nsIMsgAttachment*&, PRBool*)' oeICalEventImpl.cpp:1475: no matching function for call to ` nsDerivedSafe<nsISupportsArray>::InsertElementAt(nsIMsgAttachment*&, PRUint32&)' ../../dist/include/xpcom/nsISupportsArray.h:74: candidates are: virtual PRBool nsISupportsArray::InsertElementAt(nsISupports*, unsigned int) ../../dist/include/xpcom/nsISupportsUtils.h: In static member function `static const nsIID& nsCOMTypeInfo<T>::GetIID() [with T = nsIMsgAttachment]': oeICalEventImpl.cpp:1466: instantiated from here ../../dist/include/xpcom/nsISupportsUtils.h:243: no method `nsIMsgAttachment:: GetIID' oeICalEventImpl.cpp: In member function `virtual nsresult oeICalEventImpl::RemoveAttachment(nsIMsgAttachment*)': oeICalEventImpl.cpp:1494: no matching function for call to ` nsDerivedSafe<nsIMsgAttachment>::EqualsUrl(nsIMsgAttachment*&, PRBool*)' oeICalEventImpl.cpp: At global scope: oeICalEventImpl.cpp: In instantiation of `nsCOMPtr<nsIAbCard>': oeICalEventImpl.cpp:1539: instantiated from here oeICalEventImpl.cpp:1539: `sizeof' applied to incomplete type `nsIAbCard' oeICalEventImpl.cpp: In instantiation of `nsDerivedSafe<nsIAbCard>': oeICalEventImpl.cpp:1546: instantiated from here oeICalEventImpl.cpp:1546: base class `nsIAbCard' has incomplete type oeICalEventImpl.cpp: In member function `virtual nsresult oeICalEventImpl::AddContact(nsIAbCard*)': oeICalEventImpl.cpp:1546: no matching function for call to ` nsDerivedSafe<nsIAbCard>::Equals(nsIAbCard*&, PRBool*)' oeICalEventImpl.cpp:1552: no matching function for call to ` nsDerivedSafe<nsISupportsArray>::InsertElementAt(nsIAbCard*&, PRUint32&)' ../../dist/include/xpcom/nsISupportsArray.h:74: candidates are: virtual PRBool nsISupportsArray::InsertElementAt(nsISupports*, unsigned int) ../../dist/include/xpcom/nsISupportsUtils.h: In static member function `static const nsIID& nsCOMTypeInfo<T>::GetIID() [with T = nsIAbCard]': oeICalEventImpl.cpp:1543: instantiated from here ../../dist/include/xpcom/nsISupportsUtils.h:243: no method `nsIAbCard::GetIID' oeICalEventImpl.cpp: In member function `virtual nsresult oeICalEventImpl::RemoveContact(nsIAbCard*)': oeICalEventImpl.cpp:1571: no matching function for call to ` nsDerivedSafe<nsIAbCard>::Equals(nsIAbCard*&, PRBool*)' oeICalEventImpl.cpp: In member function `bool oeICalEventImpl::ParseIcalComponent(icalcomponent*)': oeICalEventImpl.cpp:2158: `NS_MSGATTACHMENT_CONTRACTID' undeclared (first use this function) oeICalEventImpl.cpp:2158: (Each undeclared identifier is reported only once for each function it appears in.) oeICalEventImpl.cpp:2158: `do_CreateInstance' undeclared (first use this function) oeICalEventImpl.cpp:2160: no matching function for call to ` nsDerivedSafe<nsIMsgAttachment>::SetUrl(const char*&)' oeICalEventImpl.cpp:2161: no matching function for call to `oeICalEventImpl:: AddAttachment(nsCOMPtr<nsIMsgAttachment>&)' oeICalEventImpl.cpp:1453: candidates are: virtual nsresult oeICalEventImpl::AddAttachment(nsIMsgAttachment*) oeICalEventImpl.cpp:2173: `NS_ABCARDPROPERTY_CONTRACTID' undeclared (first use this function) oeICalEventImpl.cpp:2177: no matching function for call to ` nsDerivedSafe<nsIAbCard>::SetPrimaryEmail(const PRUnichar*)' oeICalEventImpl.cpp:2178: no matching function for call to `oeICalEventImpl:: AddContact(nsCOMPtr<nsIAbCard>&)' oeICalEventImpl.cpp:1530: candidates are: virtual nsresult oeICalEventImpl::AddContact(nsIAbCard*) oeICalEventImpl.cpp: In member function `icalcomponent* oeICalEventImpl::AsIcalComponent()': oeICalEventImpl.cpp:2586: no matching function for call to ` nsDerivedSafe<nsIMsgAttachment>::GetUrl(char**)' oeICalEventImpl.cpp:2620: no matching function for call to ` nsDerivedSafe<nsIAbCard>::GetPrimaryEmail(nsXPIDLString::getter_Copies_t)' In file included from ../../dist/include/xpcom/nsIComponentManager.h:158, from ../../dist/include/xpcom/nsIServiceManagerObsolete.h:52, from ../../dist/include/xpcom/nsIServiceManagerUtils.h:42, from ../../dist/include/xpcom/nsIServiceManager.h:167, from oeICalEventImpl.cpp:2633: ../../dist/include/xpcom/nsComponentManagerUtils.h: In function `const nsCreateInstanceByCID do_CreateInstance(const nsCID&, nsresult*)': ../../dist/include/xpcom/nsComponentManagerUtils.h:84: `const nsCreateInstanceByCID do_CreateInstance(const nsCID&, nsresult* = 0)' used prior to declaration make[3]: *** [oeICalEventImpl.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/mozilla-1.4-r3/work/mozilla/calendar/libxpical' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/var/tmp/portage/mozilla-1.4-r3/work/mozilla/calendar' make[1]: *** [tier_98] Error 2 make[1]: Leaving directory `/var/tmp/portage/mozilla-1.4-r3/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-1.4-r3 failed. !!! Function src_compile, Line 351, Exitcode 2 !!! (no error message) > emerge info Portage 2.0.49 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Intel(R) Celeron(TM) CPU 1100MHz distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox autoaddcvs buildpkg ccache" GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://gentoo.mirrors.pair.com/ http://gentoo.chem.wisc.edu/gentoo/ http://ds.thn.htu.se/linux/gentoo http://gentoo.seren.com/gentoo http://gentoo.inode.at/ http://ftp.caliu.info/pub/gentoo/ http://www.fhh.opensource-mirror.de/gentoo.org/ http://darkstar.ist.utl.pt/gentoo/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts aalib svga tcltk java mysql X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl ldap apache2 curl dga gtk2 gtkhtml i8x0 lcms mozaccess mozcalendar mozilla mozinterfaceinfo moznoirc moznomail mozp3p mozsvg mozxmlterm offensive samba sse tiff type1 wmf xml -3dnow" I shall try and compile without mozcalendar and see if that makes any difference. Aniruddha Karim Shankar New Delhi, India
I believe this to be a result of Mozilla Bug 183966. All the people reporting this bug had the USE flags "moznomail mozcalendar" and I was having the same problem with these USE flags and fixed it by unsetting "moznomail."
closing as 1.5 is stable