Hi all,
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
http://www.mozilla.org/build/win32.html The path set to the system is
PATH=C:\PROGRA~1\MICROS~3\Common\msdev98\BIN;C:\PROGRA~1\MICROS~3\VC98\BIN;C:\PROGRA~1\MICROS~3\Comm
on\TOOLS\WINNT;C:\PROGRA~1\MICROS~3\Common\TOOLS;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;D
:\vc7\bin;D:\moz\mingw\bin;D:\moztools\bin;D:\cygwin\bin;D:\Perl\bin\;
Successful builder kindly reply to this.
Following is the error reported while building the source.
../../dist/include/xpcom\nsIConsoleService.h(63) : error C2061: syntax
error : identifier 'nsIConsol
eListener'
../../dist/include/xpcom\nsIConsoleService.h(69) : error C2061: syntax
error : identifier 'nsIConsol
eListener'
d:/mozilla/xpcom/base/nsConsoleService.h(58) : error C2061: syntax
error : identifier 'nsIConsoleLis
tener'
d:/mozilla/xpcom/base/nsConsoleService.h(58) : error C2061: syntax
error : identifier 'nsIConsoleLis
tener'
d:/mozilla/xpcom/base/nsConsoleService.h(62) : error C2061: syntax
error : identifier 'nsIConsoleLis
tener'
d:/mozilla/xpcom/base/nsConsoleService.cpp(156) : error C2065:
'nsIConsoleListener' : undeclared ide
ntifier
d:/mozilla/xpcom/base/nsConsoleService.cpp(156) : error C2955:
'nsCOMPtr' : use of class template re
quires template argument list
../../dist/include/xpcom\nsCOMPtr.h(728) : see declaration of
'nsCOMPtr'
d:/mozilla/xpcom/base/nsConsoleService.cpp(156) : error C2133:
'listener' : unknown size
d:/mozilla/xpcom/base/nsConsoleService.cpp(156) : error C2512:
'nsCOMPtr' : no appropriate default c
onstructor available
d:/mozilla/xpcom/base/nsConsoleService.cpp(156) : error C2262:
'listener' : cannot be destroyed
d:/mozilla/xpcom/base/nsConsoleService.cpp(173) : error C2784: 'class
nsGetterAddRefs<T> __cdecl get
ter_AddRefs(class nsCOMPtr<T> &)' : could not deduce template
argument for 'class nsCOMPtr<T> &' fro
m 'class nsCOMPtr'
d:/mozilla/xpcom/base/nsConsoleService.cpp(173) : error C2784: 'const
struct already_AddRefed<T> __c
decl getter_AddRefs(const struct already_AddRefed<T>)' : could
not deduce template argument for 'con
st struct already_AddRefed<T>' from 'class nsCOMPtr'
d:/mozilla/xpcom/base/nsConsoleService.cpp(173) : error C2784: 'const
struct already_AddRefed<T> __c
decl getter_AddRefs(T *)' : could not deduce template argument for ' *'
from 'class nsCOMPtr'
d:/mozilla/xpcom/base/nsConsoleService.cpp(178) : error C2678: binary
'->' : no operator defined whi
ch takes a left-hand operand of type 'class nsCOMPtr' (or there is no
acceptable conversion)
d:/mozilla/xpcom/base/nsConsoleService.cpp(178) : error C2039:
'Observe' : is not a member of 'nsCOM
Ptr'
../../dist/include/xpcom\nsCOMPtr.h(728) : see declaration of
'nsCOMPtr'
d:/mozilla/xpcom/base/nsConsoleService.cpp(254) : error C2065:
'listener' : undeclared identifier
d:/mozilla/xpcom/base/nsConsoleService.cpp(254) : error C2448:
'<Unknown>' : function-style initiali
zer appears to be a function definition
d:/mozilla/xpcom/base/nsConsoleService.cpp(289) : error C2448:
'<Unknown>' : function-style initiali
zer appears to be a function definition
d:/mozilla/xpcom/base/nsConsoleService.cpp(298) : error C2065:
'aListener' : undeclared identifier
d:/mozilla/xpcom/base/nsConsoleService.cpp(299) : error C2065: 'aProxy'
: undeclared identifier
d:/mozilla/xpcom/base/nsConsoleService.cpp(299) : error C2100: illegal
indirection
d:/mozilla/xpcom/base/nsConsoleService.cpp(300) : error C2448:
'<Unknown>' : function-style initiali
zer appears to be a function definition
make[4]: *** [nsConsoleService.obj] Error 2
make[4]: Leaving directory `/cygdrive/d/mozilla/xpcom/base'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/cygdrive/d/mozilla/xpcom'
make[2]: *** [tier_2] Error 2
make[2]: Leaving directory `/cygdrive/d/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/d/mozilla'
make: *** [build] Error 2
Thanks in advance,
Karthikeyan.R