How to compile the mozilla sources in Windows.
chandrasekar <[email protected]> Tue, 25 May 2004 14:37:10 +0530
| Newsgroups | gmane.comp.mozilla.devel.seamonkey,gmane.comp.mozilla.devel.xpcom,gmane.comp.mozilla.devel.dom,gmane.comp.mozilla.devel.xpfe,gmane.comp.mozilla.devel.windows |
|---|---|
| Message-ID | <[email protected]> |
--------------010504020400090709090000
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Dear All
This time I changed the Mozilla version (mozilla 1.6)
I had used the mingw with
1. gcc-core-3.4.0-20040501-1.tar ,
2. gcc-g++-3.4.0-20040501-1.tar ,
3. mingw-runtime-3.3.tar ,
4. w32api-2.5.tar
5. binutils-2.15.90-20040222-1.tar
I had used the wintools from
http://ftp.mozilla.org/pub/mozilla.org/mozilla/source/wintools.zip
I had changed the header files under the wintools/include
directory from DOS2UNIX using DOS2UNIX.exe
While Compiling I got the following Error.,
Please give me the details, How to compile the mozilla sources
in Windows.
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_classes.h:47:18: ../../dist/include/string: Permission denied
In file included from
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..
/../include/c++/3.4.0/ios:49,
from
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..
/../include/c++/3.4.0/ostream:45,
from
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..
/../include/c++/3.4.0/iostream:45,
from
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..
/../include/c++/3.4.0/backward/iostream.h:32,
from c:/Mozilla_SDK/mozilla/xpcom/tests/TestCOMPtr.cpp:39:
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/ios_base.h:181: error: field `_M_msg' has incomplete type
In file included from
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..
/../include/c++/3.4.0/locale:47,
from
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..
/../include/c++/3.4.0/bits/ostream.tcc:40,
from
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..
/../include/c++/3.4.0/ostream:545,
from
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..
/../include/c++/3.4.0/iostream:45,
from
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..
/../include/c++/3.4.0/backward/iostream.h:32,
from c:/Mozilla_SDK/mozilla/xpcom/tests/TestCOMPtr.cpp:39:
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc: In member function `_InIter std::num_get<_CharT,
_InIter
>::_M_extract_float(_InIter, _InIter, std::ios_base&,
std::_Ios_Iostate&, std::s
tring&) const':
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:325: error: invalid use of undefined type `struct
std::st
ring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:362: error: invalid use of undefined type `struct
std::st
ring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:383: error: invalid use of undefined type `struct
std::st
ring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:409: error: invalid use of undefined type `struct
std::st
ring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc: In member function `_InIter std::num_get<_CharT,
_InIter
>::_M_extract_int(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&,
_ValueT&
) const':
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:505: error: invalid use of undefined type `struct
std::st
ring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:603: error: invalid use of undefined type `struct
std::st
ring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc: In member function `virtual _InIter
std::num_get<_CharT,
_InIter>::do_get(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&,
float&)
const':
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:738: error: invalid use of undefined type `struct
std::st
ring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:740: error: invalid use of undefined type `struct
std::st
ring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc: In member function `virtual _InIter
std::num_get<_CharT,
_InIter>::do_get(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&,
double&)
const':
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:751: error: invalid use of undefined type `struct
std::st
ring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:753: error: invalid use of undefined type `struct
std::st
ring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc: In member function `virtual _InIter
std::num_get<_CharT,
_InIter>::do_get(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&,
long dou
ble&) const':
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:764: error: invalid use of undefined type `struct
std::st
ring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:771: error: invalid use of undefined type `struct
std::st
ring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc: In member function `_InIter
std::money_get<_CharT, _InIt
er>::_M_extract(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&,
std::strin
g&) const':
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1289: error: invalid use of undefined type
`struct std::s
tring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1301: error: invalid use of undefined type
`struct std::s
tring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1395: error: invalid use of undefined type
`struct std::s
tring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1429: error: invalid use of undefined type
`struct std::s
tring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1431: error: invalid use of undefined type
`struct std::s
tring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1432: error: incomplete type `std::string' used
in nested
name specifier
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1434: error: invalid use of undefined type
`struct std::s
tring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1434: error: invalid use of undefined type
`struct std::s
tring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1438: error: no match for 'operator[]' in '__res[0]'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1439: error: invalid use of undefined type
`struct std::s
tring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1439: error: invalid use of undefined type
`struct std::s
tring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1442: error: invalid use of undefined type
`struct std::s
tring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1467: error: invalid use of undefined type
`struct std::s
tring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc: In member function `virtual _InIter
std::money_get<_Char
T, _InIter>::do_get(_InIter, _InIter, bool, std::ios_base&,
std::_Ios_Iostate&,
long double&) const':
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1488: error: invalid use of undefined type
`struct std::s
tring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc: In member function `virtual _InIter
std::money_get<_Char
T, _InIter>::do_get(_InIter, _InIter, bool, std::ios_base&,
std::_Ios_Iostate&,
std::basic_string<_CharT, std::char_traits<_CharT>,
std::allocator<_CharT> >&) c
onst':
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1499: error: no type named `size_type' in `struct
std::st
ring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1509: error: invalid use of undefined type
`struct std::s
tring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1514: error: invalid use of undefined type
`struct std::s
tring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:1514: error: invalid use of undefined type
`struct std::s
tring'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `struct std::string'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc: In function `bool std::__verify_grouping(const
char*, si
ze_t, const std::string&)':
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:2497: error: invalid use of undefined type `const
struct
std::basic_string<char, std::char_traits<char>, std::allocator<char> >'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/stringfwd.h:56: error: declaration of `const struct
std::basic_string<char,
std::char_traits<char>, std::allocator<char> >'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:2506: error: no match for 'operator[]' in
'__grouping_tmp
[__i]'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:2508: error: no match for 'operator[]' in
'__grouping_tmp
[__i]'
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/
bits/locale_facets.tcc:2511: error: no match for 'operator[]' in
'__grouping_tmp
[0]'
make[4]: *** [TestCOMPtr.o] Error 1
make[4]: Leaving directory `/cygdrive/c/Mozilla_SDK/mozilla/xpcom/tests'
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
Christopher Seawood wrote:
> chandrasekar wrote:
>
>> Dear All
>>
>> For more than a week Im trying to compile the Mozilla 1.5 in
>> my Windows XP,
>
>
>> 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*)':
>
>
> You need to search bugzilla for resolved bugs with mingw in the
> subject. Mozilla1.5 is quite old and there have been a number of
> fixes made to get Mozilla to work with newer versions of gcc. You
> also need to make sure that you're using a newer version of binutils
> when using a newer version of gcc. From my experience, mingw gcc >=
> 3.3.3 works best with binutils 2.15 and 3.3.1 & below work best with
> binutils 2.14.90-20030807 . And this should really be in n.p.builds.
>
> - cls
> _______________________________________________
> Mozilla-seamonkey mailing list
> [email protected]
> http://mail.mozilla.org/listinfo/mozilla-seamonkey
>
--------------010504020400090709090000
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
Dear All <br>
<br>
This time I changed the Mozilla version (mozilla 1.6) <br>
<br>
I had used the mingw with <br>
1. <b>gcc-core-3.4.0-20040501-1.tar , <br>
2. gcc-g++-3.4.0-20040501-1.tar , <br>
3. mingw-runtime-3.3.tar , <br>
4. w32api-2.5.tar <br>
5. binutils-2.15.90-20040222-1.tar<br>
<br>
I had used the wintools from </b><a class="moz-txt-link-freetext" href="http://ftp.mozilla.org/pub/mozilla.org/mozilla/source/wintools.zip">http://ftp.mozilla.org/pub/mozilla.org/mozilla/source/wintools.zip</a><br>
<br>
I had changed the header files under the wintools/include directory
from DOS2UNIX using DOS2UNIX.exe<br>
<br>
<b> While Compiling I got the following Error.,<br>
<br>
Please give me the details, How to compile the mozilla sources in
Windows. </b><br>
<br>
<b>c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_classes.h:47:18: ../../dist/include/string: Permission denied<br>
In file included from c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..<br>
/../include/c++/3.4.0/ios:49,</b><br>
from c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..<br>
/../include/c++/3.4.0/ostream:45,<br>
from c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..<br>
/../include/c++/3.4.0/iostream:45,<br>
from c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..<br>
/../include/c++/3.4.0/backward/iostream.h:32,<br>
from c:/Mozilla_SDK/mozilla/xpcom/tests/TestCOMPtr.cpp:39:<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/ios_base.h:181: error: field `_M_msg' has incomplete type<br>
In file included from c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..<br>
/../include/c++/3.4.0/locale:47,<br>
from c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..<br>
/../include/c++/3.4.0/bits/ostream.tcc:40,<br>
from c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..<br>
/../include/c++/3.4.0/ostream:545,<br>
from c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..<br>
/../include/c++/3.4.0/iostream:45,<br>
from c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../..<br>
/../include/c++/3.4.0/backward/iostream.h:32,<br>
from c:/Mozilla_SDK/mozilla/xpcom/tests/TestCOMPtr.cpp:39:<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc: In member function `_InIter std::num_get<_CharT,
_InIter<br>
>::_M_extract_float(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&,
std::s<br>
tring&) const':<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:325: error: invalid use of undefined type `struct
std::st<br>
ring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:362: error: invalid use of undefined type `struct
std::st<br>
ring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:383: error: invalid use of undefined type `struct
std::st<br>
ring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:409: error: invalid use of undefined type `struct
std::st<br>
ring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc: In member function `_InIter std::num_get<_CharT,
_InIter<br>
>::_M_extract_int(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&,
_ValueT&<br>
) const':<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:505: error: invalid use of undefined type `struct
std::st<br>
ring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:603: error: invalid use of undefined type `struct
std::st<br>
ring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc: In member function `virtual _InIter std::num_get<_CharT,<br>
_InIter>::do_get(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&,
float&)<br>
const':<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:738: error: invalid use of undefined type `struct
std::st<br>
ring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:740: error: invalid use of undefined type `struct
std::st<br>
ring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc: In member function `virtual _InIter std::num_get<_CharT,<br>
_InIter>::do_get(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&,
double&)<br>
const':<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:751: error: invalid use of undefined type `struct
std::st<br>
ring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:753: error: invalid use of undefined type `struct
std::st<br>
ring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc: In member function `virtual _InIter std::num_get<_CharT,<br>
_InIter>::do_get(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&,
long dou<br>
ble&) const':<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:764: error: invalid use of undefined type `struct
std::st<br>
ring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:771: error: invalid use of undefined type `struct
std::st<br>
ring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc: In member function `_InIter std::money_get<_CharT,
_InIt<br>
er>::_M_extract(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&,
std::strin<br>
g&) const':<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1289: error: invalid use of undefined type `struct
std::s<br>
tring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1301: error: invalid use of undefined type `struct
std::s<br>
tring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1395: error: invalid use of undefined type `struct
std::s<br>
tring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1429: error: invalid use of undefined type `struct
std::s<br>
tring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1431: error: invalid use of undefined type `struct
std::s<br>
tring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1432: error: incomplete type `std::string' used in
nested<br>
name specifier<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1434: error: invalid use of undefined type `struct
std::s<br>
tring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1434: error: invalid use of undefined type `struct
std::s<br>
tring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1438: error: no match for 'operator[]' in '__res[0]'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1439: error: invalid use of undefined type `struct
std::s<br>
tring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1439: error: invalid use of undefined type `struct
std::s<br>
tring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1442: error: invalid use of undefined type `struct
std::s<br>
tring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1467: error: invalid use of undefined type `struct
std::s<br>
tring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc: In member function `virtual _InIter std::money_get<_Char<br>
T, _InIter>::do_get(_InIter, _InIter, bool, std::ios_base&, std::_Ios_Iostate&,<br>
long double&) const':<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1488: error: invalid use of undefined type `struct
std::s<br>
tring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc: In member function `virtual _InIter std::money_get<_Char<br>
T, _InIter>::do_get(_InIter, _InIter, bool, std::ios_base&, std::_Ios_Iostate&,<br>
std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT>
>&) c<br>
onst':<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1499: error: no type named `size_type' in `struct
std::st<br>
ring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1509: error: invalid use of undefined type `struct
std::s<br>
tring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1514: error: invalid use of undefined type `struct
std::s<br>
tring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:1514: error: invalid use of undefined type `struct
std::s<br>
tring'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `struct std::string'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc: In function `bool std::__verify_grouping(const char*,
si<br>
ze_t, const std::string&)':<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:2497: error: invalid use of undefined type `const
struct<br>
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/stringfwd.h:56: error: declaration of `const struct std::basic_string<char,<br>
std::char_traits<char>, std::allocator<char> >'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:2506: error: no match for 'operator[]' in '__grouping_tmp<br>
[__i]'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:2508: error: no match for 'operator[]' in '__grouping_tmp<br>
[__i]'<br>
c:\Mozilla_SDK\mingw\bin\../lib/gcc/mingw32/3.4.0/../../../../include/c++/3.4.0/<br>
bits/locale_facets.tcc:2511: error: no match for 'operator[]' in '__grouping_tmp<br>
[0]'<br>
make[4]: *** [TestCOMPtr.o] Error 1<br>
make[4]: Leaving directory `/cygdrive/c/Mozilla_SDK/mozilla/xpcom/tests'<br>
make[3]: *** [libs] Error 2<br>
make[3]: Leaving directory `/cygdrive/c/Mozilla_SDK/mozilla/xpcom'<br>
make[2]: *** [tier_2] Error 2<br>
make[2]: Leaving directory `/cygdrive/c/Mozilla_SDK/mozilla'<br>
make[1]: *** [default] Error 2<br>
make[1]: Leaving directory `/cygdrive/c/Mozilla_SDK/mozilla'<br>
make: *** [build] Error 2<br>
<br>
Christopher Seawood wrote:<br>
<blockquote type="cite" cite="[email protected]">chandrasekar
wrote: <br>
<blockquote type="cite">Dear All <br>
<br>
For more than a week Im trying to compile the Mozilla 1.5 in my Windows
XP, <br>
</blockquote>
<br>
<blockquote type="cite"> 1. I got the "extra ;" error, then
I had changed the gcc 3.4 to gcc 3.3.1, <br>
2. Now I got the ../../dist/include/xpcom/nsCOMPtr.h:402:
error: function ` nsCOMPtr_base::~nsCOMPtr_base()' definition is marked
dllimport. <br>
c:/Mozilla_SDK/mozilla/xpcom/tests/nsIFileEnumerator.cpp: In function `PRBool
LoopInDir(nsILocalFile*)': <br>
</blockquote>
<br>
You need to search bugzilla for resolved bugs with mingw in the subject.
Mozilla1.5 is quite old and there have been a number of fixes made to get
Mozilla to work with newer versions of gcc. You also need to make sure
that you're using a newer version of binutils when using a newer version
of gcc. From my experience, mingw gcc >= 3.3.3 works best with binutils
2.15 and 3.3.1 & below work best with binutils 2.14.90-20030807 . And
this should really be in n.p.builds. <br>
<br>
- cls <br>
_______________________________________________ <br>
Mozilla-seamonkey mailing list <br>
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <br>
<a class="moz-txt-link-freetext" href="http://mail.mozilla.org/listinfo/mozilla-seamonkey">http://mail.mozilla.org/listinfo/mozilla-seamonkey</a> <br>
<br>
</blockquote>
<br>
</body>
</html>
--------------010504020400090709090000--