Problem while compiling mozilla 1.6
"karthikeyan.R" <[email protected]> Tue, 13 Jul 2004 22:30:03 +0530
| Newsgroups | gmane.comp.mozilla.devel.dom,gmane.comp.mozilla.builds |
|---|---|
| Organization | AdventNet Inc., |
| Message-ID | <[email protected]> |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hi all, <br> <br> I am trying to compile mozilla 1.6 source in windows 2000. But i am unsuccessful in my approach. I followed the steps provided in the following URL <a class="moz-txt-link-freetext" href="http://www.mozilla.org/build/win32.html">http://www.mozilla.org/build/win32.html</a> <br> <br> <b>The path set to the system is <br> PATH=C:\PROGRA~1\MICROS~3\Common\msdev98\BIN;C:\PROGRA~1\MICROS~3\VC98\BIN;C:\PROGRA~1\MICROS~3\Comm<br> on\TOOLS\WINNT;C:\PROGRA~1\MICROS~3\Common\TOOLS;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;D<br> :\vc7\bin;D:\moz\mingw\bin;D:\moztools\bin;D:\cygwin\bin;D:\Perl\bin\;<br> <br> Successful builder kindly reply to this.<br> </b><br> Following is the error reported while building the source.<br> <br> ../../dist/include/xpcom\nsIConsoleService.h(63) : error C2061: syntax error : identifier 'nsIConsol<br> eListener'<br> ../../dist/include/xpcom\nsIConsoleService.h(69) : error C2061: syntax error : identifier 'nsIConsol<br> eListener'<br> d:/mozilla/xpcom/base/nsConsoleService.h(58) : error C2061: syntax error : identifier 'nsIConsoleLis<br> tener'<br> d:/mozilla/xpcom/base/nsConsoleService.h(58) : error C2061: syntax error : identifier 'nsIConsoleLis<br> tener'<br> d:/mozilla/xpcom/base/nsConsoleService.h(62) : error C2061: syntax error : identifier 'nsIConsoleLis<br> tener'<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(156) : error C2065: 'nsIConsoleListener' : undeclared ide<br> ntifier<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(156) : error C2955: 'nsCOMPtr' : use of class template re<br> quires template argument list<br> ../../dist/include/xpcom\nsCOMPtr.h(728) : see declaration of 'nsCOMPtr'<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(156) : error C2133: 'listener' : unknown size<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(156) : error C2512: 'nsCOMPtr' : no appropriate default c<br> onstructor available<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(156) : error C2262: 'listener' : cannot be destroyed<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(173) : error C2784: 'class nsGetterAddRefs<T> __cdecl get<br> ter_AddRefs(class nsCOMPtr<T> &)' : could not deduce template argument for 'class nsCOMPtr<T> &' fro<br> m 'class nsCOMPtr'<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(173) : error C2784: 'const struct already_AddRefed<T> __c<br> decl getter_AddRefs(const struct already_AddRefed<T>)' : could not deduce template argument for 'con<br> st struct already_AddRefed<T>' from 'class nsCOMPtr'<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(173) : error C2784: 'const struct already_AddRefed<T> __c<br> decl getter_AddRefs(T *)' : could not deduce template argument for ' *' from 'class nsCOMPtr'<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(178) : error C2678: binary '->' : no operator defined whi<br> ch takes a left-hand operand of type 'class nsCOMPtr' (or there is no acceptable conversion)<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(178) : error C2039: 'Observe' : is not a member of 'nsCOM<br> Ptr'<br> ../../dist/include/xpcom\nsCOMPtr.h(728) : see declaration of 'nsCOMPtr'<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(254) : error C2065: 'listener' : undeclared identifier<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(254) : error C2448: '<Unknown>' : function-style initiali<br> zer appears to be a function definition<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(289) : error C2448: '<Unknown>' : function-style initiali<br> zer appears to be a function definition<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(298) : error C2065: 'aListener' : undeclared identifier<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(299) : error C2065: 'aProxy' : undeclared identifier<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(299) : error C2100: illegal indirection<br> d:/mozilla/xpcom/base/nsConsoleService.cpp(300) : error C2448: '<Unknown>' : function-style initiali<br> zer appears to be a function definition<br> make[4]: *** [nsConsoleService.obj] Error 2<br> make[4]: Leaving directory `/cygdrive/d/mozilla/xpcom/base'<br> make[3]: *** [libs] Error 2<br> make[3]: Leaving directory `/cygdrive/d/mozilla/xpcom'<br> make[2]: *** [tier_2] Error 2<br> make[2]: Leaving directory `/cygdrive/d/mozilla'<br> make[1]: *** [default] Error 2<br> make[1]: Leaving directory `/cygdrive/d/mozilla'<br> make: *** [build] Error 2<br> <br> <br> Thanks in advance,<br> Karthikeyan.R<br> </body> </html>