java/eclipse: error building WITH_MOZILLA=mozilla

barbara.xxx1975 barbara.xxx1975 at libero.it
Wed Sep 14 19:05:03 PDT 2005


port version:
# $FreeBSD: ports/java/eclipse/Makefile,v 1.38 2005/09/14 14:46:36 nork Exp $

I keep getting an error if I try to upgrade(from eclipse-3.1_1) or build eclipse with WITH_MOZILLA=mozilla.
This doesn't happen if I use the WITH_MOZILLA=firefox.

*UPDATE* (this happened while I was writing):
When I tryed to build eclipse WITH_MOZILLA=mozilla these ports where not installed:
nspr-4.6_1
nss-3.10
firefox-1.0.6_5,1
I had them installed to try with WITH_MOZILLA=firefox.
Now it builds also with WITH_MOZILLA=mozilla.
As eclipse does not run-depends on them, could I safely pkg_delete them?
Or should I keep them to avoid to install them again on the next eclipse upgrade?
**

This is the salient part of the output of (all the java tasks seems ok, only warnings there).
-----------------------------------------------------------------------------------------------------------------------
     [exec] In file included from /usr/X11R6/include/mozilla/nsXPCOM.h:41,

     [exec]                  from xpcom.h:21,

     [exec]                  from xpcom_structs.h:29,

     [exec]                  from xpcom.cpp:30:

     [exec] /usr/X11R6/include/mozilla/nscore.h:51:21: prtypes.h: No such file or directory

     [exec] In file included from /usr/X11R6/include/mozilla/nsXPCOM.h:41,

     [exec]                  from xpcom.h:21,

     [exec]                  from xpcom_structs.h:29,

     [exec]                  from xpcom.cpp:30:

     [exec] /usr/X11R6/include/mozilla/nscore.h:225: error: `PRUint32' does not name a type

     [exec] In file included from /usr/X11R6/include/mozilla/nscore.h:232,

     [exec]                  from /usr/X11R6/include/mozilla/nsXPCOM.h:41,

     [exec]                  from xpcom.h:21,

     [exec]                  from xpcom_structs.h:29,

     [exec]                  from xpcom.cpp:30:

     [exec] /usr/X11R6/include/mozilla/nsError.h:299: error: `nsresult' does not name a type

     [exec] In file included from /usr/X11R6/include/mozilla/nsXPCOM.h:41,

     [exec]                  from xpcom.h:21,

     [exec]                  from xpcom_structs.h:29,

     [exec]                  from xpcom.cpp:30:

     [exec] /usr/X11R6/include/mozilla/nscore.h:288: error: `PRUint16' does not name a type

     [exec] In file included from xpcom.h:21,

     [exec]                  from xpcom_structs.h:29,

     [exec]                  from xpcom.cpp:30:

     [exec] /usr/X11R6/include/mozilla/nsXPCOM.h:91: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsXPCOM.h:108: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsXPCOM.h:122: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsXPCOM.h:135: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsXPCOM.h:148: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsXPCOM.h:161: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsXPCOM.h:187: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsXPCOM.h:192: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsXPCOM.h:198: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsXPCOM.h:201: error: `nsresult' does not name a type

     [exec] In file included from /usr/X11R6/include/mozilla/nsISupports.h:10,

     [exec]                  from /usr/X11R6/include/mozilla/nsIFile.h:10,

     [exec]                  from /usr/X11R6/include/mozilla/nsILocalFile.h:10,

     [exec]                  from /usr/X11R6/include/mozilla/nsEmbedAPI.h:28,

     [exec]                  from xpcom.h:22,

     [exec]                  from xpcom_structs.h:29,

     [exec]                  from xpcom.cpp:30:

     [exec] /usr/X11R6/include/mozilla/nsrootidl.h:12:20: prtime.h: No such file or directory

     [exec] In file included from /usr/X11R6/include/mozilla/nsISupportsBase.h:44,

     [exec]                  from /usr/X11R6/include/mozilla/nsISupports.h:120,

     [exec]                  from /usr/X11R6/include/mozilla/nsIFile.h:10,

     [exec]                  from /usr/X11R6/include/mozilla/nsILocalFile.h:10,

     [exec]                  from /usr/X11R6/include/mozilla/nsEmbedAPI.h:28,

     [exec]                  from xpcom.h:22,

     [exec]                  from xpcom_structs.h:29,

     [exec]                  from xpcom.cpp:30:

     [exec] /usr/X11R6/include/mozilla/nsID.h:58: error: `PRUint32' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsID.h:59: error: `PRUint16' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsID.h:60: error: `PRUint16' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsID.h:61: error: `PRUint8' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsID.h:74: error: `PRBool' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsID.h:93: error: `PRBool' does not name a type

     [exec] In file included from /usr/X11R6/include/mozilla/nsISupports.h:120,

     [exec]                  from /usr/X11R6/include/mozilla/nsIFile.h:10,

     [exec]                  from /usr/X11R6/include/mozilla/nsILocalFile.h:10,

     [exec]                  from /usr/X11R6/include/mozilla/nsEmbedAPI.h:28,

     [exec]                  from xpcom.h:22,

     [exec]                  from xpcom_structs.h:29,

     [exec]                  from xpcom.cpp:30:

     [exec] /usr/X11R6/include/mozilla/nsISupportsBase.h:71: error: `PRUint32' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsISupportsBase.h:97: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsISupportsBase.h:105: error: `nsrefcnt' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsISupportsBase.h:114: error: `nsrefcnt' does not name a type

     [exec] In file included from /usr/X11R6/include/mozilla/nsILocalFile.h:10,

     [exec]                  from /usr/X11R6/include/mozilla/nsEmbedAPI.h:28,

     [exec]                  from xpcom.h:22,

     [exec]                  from xpcom_structs.h:29,

     [exec]                  from xpcom.cpp:30:

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:69: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:72: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:78: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:101: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:109: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:110: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:113: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:114: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:144: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:147: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:159: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:162: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:196: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:199: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:208: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:214: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:215: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:218: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:219: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:227: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:228: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:231: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:232: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:241: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:242: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:245: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:273: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:276: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:279: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:282: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:285: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:288: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:291: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:294: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:297: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:300: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:303: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:306: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:312: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:340: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:354: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:360: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:367: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:373: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:383: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIFile.h: In static member function `static const nsIID& nsIFile::GetIID()':

     [exec] /usr/X11R6/include/mozilla/nsIFile.h:45: error: too many initializers for `const nsIID'

     [exec] In file included from /usr/X11R6/include/mozilla/nsEmbedAPI.h:28,

     [exec]                  from xpcom.h:22,

     [exec]                  from xpcom_structs.h:29,

     [exec]                  from xpcom.cpp:30:

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:17:18: prio.h: No such file or directory

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:18:20: prlink.h: No such file or directory

     [exec] In file included from /usr/X11R6/include/mozilla/nsEmbedAPI.h:28,

     [exec]                  from xpcom.h:22,

     [exec]                  from xpcom_structs.h:29,

     [exec]                  from xpcom.cpp:30:

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h: At global scope:

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:59: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:62: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:73: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:91: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:92: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:95: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:98: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:101: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:104: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:118: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:121: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:131: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:132: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:142: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:152: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:167: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:181: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h: In static member function `static const nsIID& nsILocalFile::GetIID()':

     [exec] /usr/X11R6/include/mozilla/nsILocalFile.h:39: error: too many initializers for `const nsIID'

     [exec] In file included from /usr/X11R6/include/mozilla/nsEmbedAPI.h:29,

     [exec]                  from xpcom.h:22,

     [exec]                  from xpcom_structs.h:29,

     [exec]                  from xpcom.cpp:30:

     [exec] /usr/X11R6/include/mozilla/nsIDirectoryService.h: At global scope:

     [exec] /usr/X11R6/include/mozilla/nsIDirectoryService.h:58: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIDirectoryService.h: In static member function `static const nsIID& nsIDirectoryServiceProvider::GetIID()':

     [exec] /usr/X11R6/include/mozilla/nsIDirectoryService.h:39: error: too many initializers for `const nsIID'

     [exec] /usr/X11R6/include/mozilla/nsIDirectoryService.h: At global scope:

     [exec] /usr/X11R6/include/mozilla/nsIDirectoryService.h:149: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIDirectoryService.h: In static member function `static const nsIID& nsIDirectoryServiceProvider2::GetIID()':

     [exec] /usr/X11R6/include/mozilla/nsIDirectoryService.h:134: error: too many initializers for `const nsIID'

     [exec] /usr/X11R6/include/mozilla/nsIDirectoryService.h: At global scope:

     [exec] /usr/X11R6/include/mozilla/nsIDirectoryService.h:231: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIDirectoryService.h:244: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIDirectoryService.h:255: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsIDirectoryService.h: In static member function `static const nsIID& nsIDirectoryService::GetIID()':

     [exec] /usr/X11R6/include/mozilla/nsIDirectoryService.h:222: error: too many initializers for `const nsIID'

     [exec] In file included from xpcom.h:22,

     [exec]                  from xpcom_structs.h:29,

     [exec]                  from xpcom.cpp:30:

     [exec] /usr/X11R6/include/mozilla/nsEmbedAPI.h: At global scope:

     [exec] /usr/X11R6/include/mozilla/nsEmbedAPI.h:68: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsEmbedAPI.h:86: error: `nsresult' does not name a type

     [exec] In file included from /usr/X11R6/include/mozilla/nsEmbedString.h:43,

     [exec]                  from xpcom.h:23,

     [exec]                  from xpcom_structs.h:29,

     [exec]                  from xpcom.cpp:30:

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:136: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:170: error: `PRUint32' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:187: error: expected constructor, destructor, or type conversion before '*' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:187: error: expected `,' or `;' before '*' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:210: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:243: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:265: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:285: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:310: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:328: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:361: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:395: error: `PRUint32' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:435: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:468: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:490: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:510: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:535: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:553: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:595: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:614: error: `nsresult' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:644: error: `PRUnichar' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:646: error: `PRUint32' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:647: error: `PRUint32' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:649: error: ISO C++ forbids declaration of `char_type' with no type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:649: error: expected `;' before '*' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:656: error: expected `;' before "const"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:656: error: ISO C++ forbids declaration of `char_type' with no type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:656: error: expected `;' before '*' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:663: error: expected `;' before "size_type"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:663: error: `size_type' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:673: error: expected `,' or `...' before '*' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:674: error: ISO C++ forbids declaration of `char_type' with no type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:677: error: variable or field `Assign' declared void

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:677: error: expected `;' before '(' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:682: error: expected `;' before "self_type"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:683: error: expected `,' or `...' before '*' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:683: error: ISO C++ forbids declaration of `char_type' with no type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:684: error: declaration of `operator=' as non-function

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:684: error: expected `;' before '(' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:686: error: expected `;' before "void"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:686: error: variable or field `Replace' declared void

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:686: error: expected `;' before '(' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:690: error: expected `;' before "void"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:690: error: variable or field `Replace' declared void

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:690: error: expected `;' before '(' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:694: error: expected `;' before "void"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:694: error: variable or field `Replace' declared void

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:694: error: expected `;' before '(' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:701: error: expected `;' before "void"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:701: error: variable or field `Append' declared void

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:701: error: expected `;' before '(' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:702: error: expected `;' before "void"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:702: error: expected `,' or `...' before '*' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:702: error: ISO C++ forbids declaration of `char_type' with no type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:705: error: declaration of `operator+=' as non-function

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:705: error: expected `;' before '(' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:706: error: expected `;' before "self_type"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:706: error: expected `,' or `...' before '*' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:706: error: ISO C++ forbids declaration of `char_type' with no type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:709: error: variable or field `Insert' declared void

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:709: error: expected `;' before '(' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:710: error: expected `;' before "void"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:710: error: expected `,' or `...' before '*' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:710: error: ISO C++ forbids declaration of `char_type' with no type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:711: error: `index_type' has not been declared

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:711: error: ISO C++ forbids declaration of `pos' with no type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:713: error: variable or field `Cut' declared void

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:713: error: expected `;' before '(' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:717: error: expected `;' before "private"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `void nsAString::Assign(const nsAString&)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:671: error: `NS_StringCopy' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:671: error: (Each undeclared identifier is reported only once for each function it appears in.)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `void nsAString::Assign(int)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:675: error: `aData' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:675: error: `aLength' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:675: error: `NS_StringSetData' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `nsAString& nsAString::operator=(int)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:683: error: `aPtr' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `void nsAString::Append(int)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:702: error: `size_type' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:702: error: `data' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:702: error: `length' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:702: error: `Replace' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `void nsAString::Append(const nsAString&)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:703: error: `size_type' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:703: error: `Replace' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `nsAString& nsAString::operator+=(int)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:706: error: `data' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `void nsAString::Insert(int)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:710: error: `pos' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:710: error: `data' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:710: error: `length' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:710: error: `Replace' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `void nsAString::Insert(const nsAString&, int)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:711: error: `Replace' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: At global scope:

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:728: error: `PRUint32' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:729: error: `PRUint32' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:745: error: `size_type' does not name a type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:755: error: `size_type' has not been declared

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:756: error: ISO C++ forbids declaration of `aLength' with no type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:768: error: variable or field `Replace' declared void

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:768: error: expected `;' before '(' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:772: error: expected `;' before "void"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:772: error: variable or field `Replace' declared void

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:772: error: expected `;' before '(' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:776: error: expected `;' before "void"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:776: error: variable or field `Replace' declared void

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:776: error: expected `;' before '(' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:783: error: expected `;' before "void"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:784: error: `size_type' has not been declared

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:784: error: ISO C++ forbids declaration of `length' with no type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:791: error: `index_type' has not been declared

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:791: error: ISO C++ forbids declaration of `pos' with no type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:792: error: `index_type' has not been declared

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:792: error: `size_type' has not been declared

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:792: error: ISO C++ forbids declaration of `pos' with no type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:792: error: ISO C++ forbids declaration of `length' with no type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:793: error: `index_type' has not been declared

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:793: error: ISO C++ forbids declaration of `pos' with no type

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:795: error: variable or field `Cut' declared void

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:795: error: expected `;' before '(' token

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:799: error: expected `;' before "private"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:755: error: `PR_UINT32_MAX' was not declared in this scope

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:784: error: `size_type' was not declared in this scope

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:792: error: `size_type' was not declared in this scope

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `const char* nsACString::BeginReading() const':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:734: error: `NS_CStringGetData' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `const char* nsACString::EndReading() const':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:741: error: `PRUint32' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:741: error: expected `;' before "len"

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:742: error: `len' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `void nsACString::Assign(const nsACString&)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:753: error: `NS_CStringCopy' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `void nsACString::Assign(const char*, int)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:757: error: `NS_CStringSetData' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `void nsACString::Assign(char)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:761: error: `NS_CStringSetData' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `void nsACString::Append(char)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:783: error: `size_type' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:783: error: `Replace' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `void nsACString::Append(const char*, int)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:784: error: `size_type' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:784: error: `Replace' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `void nsACString::Append(const nsACString&)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:785: error: `size_type' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:785: error: `Replace' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `void nsACString::Insert(char, int)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:791: error: `Replace' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `void nsACString::Insert(const char*, int, int)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:792: error: `Replace' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h: In member function `void nsACString::Insert(const nsACString&, int)':

     [exec] /usr/X11R6/include/mozilla/nsStringAPI.h:793: error: `Replace' undeclared (first use this function)

     [exec] /usr/X11R6/include/mozilla/nsStringA



More information about the freebsd-eclipse mailing list