Eclipse 3.2 (Calisto) on FreeBSD 5.5

Eugeny N Dzhurinsky bofh at redwerk.com
Wed Sep 6 07:22:52 PDT 2006


Today I downloaded http://www.freshdevonrails.com/eclipse.shar

then I tried to build it with

make WITHOUT_CAIRO="YES" WITHOUT_GNOMEVFS="YES" WITH_MOZILLA="firefox"

and 

make WITHOUT_CAIRO="YES" WITHOUT_GNOMEVFS="YES" WITHOUT_MOZILLA="YES"

but in both cases I got this error:

     [exec] In file included from xpcom_structs.h:29,
     [exec]                  from xpcom.cpp:30:
     [exec] xpcom.h:34:21: nsXPCOM.h: No such file or directory
     [exec] xpcom.h:35:25: nsEmbedAPI.h: No such file or directory
     [exec] xpcom.h:36:27: nsEmbedString.h: No such file or directory
     [exec] xpcom.h:37:28: nsIInputStream.h: No such file or directory
     [exec] In file included from xpcom.h:38,
     [exec]                  from xpcom_structs.h:29,
     [exec]                  from xpcom.cpp:30:
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:45:20: nscore.h: No such file or directory
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:49:29: nsISupportsBase.h: No such file or directory
     [exec] In file included from /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:53,
     [exec]                  from xpcom.h:38,
     [exec]                  from xpcom_structs.h:29,
     [exec]                  from xpcom.cpp:30:
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsError.h:292: error: `NS_COM' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:57:21: nsDebug.h: No such file or directory
     [exec] In file included from /usr/local/include/mozilla-1.0.0/nspr/pratom.h:43,
     [exec]                  from /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsImpl.h:48,
     [exec]                  from /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:61,
     [exec]                  from xpcom.h:38,
     [exec]                  from xpcom_structs.h:29,
     [exec]                  from xpcom.cpp:30:
     [exec] /usr/local/include/mozilla-1.0.0/nspr/prtypes.h:484:31: obsolete/protypes.h: No such file or directory
     [exec] In file included from /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsImpl.h:49,
     [exec]                  from /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:61,
     [exec]                  from xpcom.h:38,
     [exec]                  from xpcom_structs.h:29,
     [exec]                  from xpcom.cpp:30:
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:149: error: `nsrefcnt' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:150: error: `nsrefcnt' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:151: error: `nsrefcnt' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:152: error: `nsrefcnt' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:180: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:180: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:182: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:182: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:184: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:184: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:189: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:189: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:193: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:193: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:199: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:199: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:203: error: `NS_COM' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:208: error: `NS_COM' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:213: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:213: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:216: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:216: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:219: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:219: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:221: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:221: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:228: error: `NS_COM' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:231: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:231: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:233: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:233: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:236: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:236: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:239: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:239: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:243: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:243: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:245: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:245: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:252: error: ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:252: error: expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:258: error: expected constructor, destructor, or type conversion before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:258: error: expected `,' or `;' before "void"
     [exec] In file included from /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:61,
     [exec]                  from xpcom.h:38,
     [exec]                  from xpcom_structs.h:29,
     [exec]                  from xpcom.cpp:30:
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsImpl.h:748:26: nsIClassInfo.h: No such file or directory
     [exec] In file included from xpcom.h:38,
     [exec]                  from xpcom_structs.h:29,
     [exec]                  from xpcom.cpp:30:
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:117: error: expected init-declarator before "ns_if_addref"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:117: error: expected `;' before "ns_if_addref"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:247: error: ISO C++ forbids declaration of `nsIID' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:247: error: expected `;' before '&' token
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:248: error: expected `;' before '}' token
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:251: error: expected constructor, destructor, or type conversion before "struct"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:251: error: expected `,' or `;' before "struct"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:264: error: expected init-declarator before "CallQueryInterface"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:264: error: expected `;' before "CallQueryInterface"
     [exec] In file included from xpcom.cpp:30:
     [exec] xpcom_structs.h:33: error: expected constructor, destructor, or type conversion before '*' token
     [exec] xpcom_structs.h:33: error: expected `,' or `;' before '*' token
     [exec] xpcom_structs.h:34: error: `nsID' has not been declared
     [exec] xpcom_structs.h:34: error: ISO C++ forbids declaration of `lpStruct' with no type
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_Call(JNIEnv*, _jclass*, jint, jint, jint, _jbyteArray*, jint, jint, _jintArray*)':
     [exec] xpcom.cpp:47: error: `nsWriteSegmentFun' undeclared (first use this function)
     [exec] xpcom.cpp:47: error: (Each undeclared identifier is reported only once for each function it appears in.)
     [exec] xpcom.cpp:47: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:47: error: `nsIInputStream' undeclared (first use this function)
     [exec] xpcom.cpp:47: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_NS_1GetComponentManager(JNIEnv*, _jclass*, _jintArray*)':
     [exec] xpcom.cpp:64: error: `nsIComponentManager' undeclared (first use this function)
     [exec] xpcom.cpp:64: error: `NS_GetComponentManager' undeclared (first use this function)
     [exec] xpcom.cpp:64: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:64: error: expected `;' before "NS_GetComponentManager"
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_NS_1GetServiceManager(JNIEnv*, _jclass*, _jintArray*)':
     [exec] xpcom.cpp:80: error: `nsIServiceManager' undeclared (first use this function)
     [exec] xpcom.cpp:80: error: `NS_GetServiceManager' undeclared (first use this function)
     [exec] xpcom.cpp:80: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:80: error: expected `;' before "NS_GetServiceManager"
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_NS_1InitEmbedding(JNIEnv*, _jclass*, jint, jint)':
     [exec] xpcom.cpp:94: error: `nsILocalFile' undeclared (first use this function)
     [exec] xpcom.cpp:94: error: `nsIDirectoryServiceProvider' undeclared (first use this function)
     [exec] xpcom.cpp:94: error: `NS_InitEmbedding' undeclared (first use this function)
     [exec] xpcom.cpp:94: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:94: error: expected `;' before "NS_InitEmbedding"
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_NS_1NewLocalFile(JNIEnv*, _jclass*, jint, jboolean, _jintArray*)':
     [exec] xpcom.cpp:108: error: `nsAString' undeclared (first use this function)
     [exec] xpcom.cpp:108: error: `nsILocalFile' undeclared (first use this function)
     [exec] xpcom.cpp:108: error: `NS_NewLocalFile' undeclared (first use this function)
     [exec] xpcom.cpp:108: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:108: error: expected `;' before "NS_NewLocalFile"
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_NS_1TermEmbedding(JNIEnv*, _jclass*)':
     [exec] xpcom.cpp:122: error: `NS_TermEmbedding' undeclared (first use this function)
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_VtblCall__IIILorg_eclipse_swt_internal_mozilla_nsID_2(JNIEnv*, _jclass*, jint, jint, jint, _jobject*)':
     [exec] xpcom.cpp:428: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:428: error: expected `;' before "_arg3"
     [exec] xpcom.cpp:431: error: `lparg3' undeclared (first use this function)
     [exec] xpcom.cpp:431: error: `_arg3' undeclared (first use this function)
     [exec] xpcom.cpp:431: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:432: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:432: error: expected primary-expression before '(' token
     [exec] xpcom.cpp:432: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:432: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:432: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:432: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_VtblCall__IIILorg_eclipse_swt_internal_mozilla_nsID_2_3I(JNIEnv*, _jclass*, jint, jint, jint, _jobject*, _jintArray*)':
     [exec] xpcom.cpp:444: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:444: error: expected `;' before "_arg3"
     [exec] xpcom.cpp:448: error: `lparg3' undeclared (first use this function)
     [exec] xpcom.cpp:448: error: `_arg3' undeclared (first use this function)
     [exec] xpcom.cpp:448: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:450: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:450: error: expected primary-expression before '(' token
     [exec] xpcom.cpp:450: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:450: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:450: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:450: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:450: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:450: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2I(JNIEnv*, _jclass*, jint, jint, _jobject*, jint)':
     [exec] xpcom.cpp:985: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:985: error: expected `;' before "_arg2"
     [exec] xpcom.cpp:988: error: `lparg2' undeclared (first use this function)
     [exec] xpcom.cpp:988: error: `_arg2' undeclared (first use this function)
     [exec] xpcom.cpp:988: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:989: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:989: error: expected primary-expression before '(' token
     [exec] xpcom.cpp:989: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:989: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:989: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:989: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2ILorg_eclipse_swt_internal_mozilla_nsID_2_3I(JNIEnv*, _jclass*, jint, jint, _jobject*, jint, _jobject*, _jintArray*)':
     [exec] xpcom.cpp:1001: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:1001: error: expected `;' before "_arg2"
     [exec] xpcom.cpp:1002: error: expected `;' before "_arg4"
     [exec] xpcom.cpp:1006: error: `lparg2' undeclared (first use this function)
     [exec] xpcom.cpp:1006: error: `_arg2' undeclared (first use this function)
     [exec] xpcom.cpp:1006: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:1007: error: `lparg4' undeclared (first use this function)
     [exec] xpcom.cpp:1007: error: `_arg4' undeclared (first use this function)
     [exec] xpcom.cpp:1009: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1009: error: expected primary-expression before '(' token
     [exec] xpcom.cpp:1009: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1009: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1009: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1009: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1009: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1009: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1009: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2Lorg_eclipse_swt_internal_mozilla_nsID_2_3I(JNIEnv*, _jclass*, jint, jint, _jobject*, _jobject*, _jintArray*)':
     [exec] xpcom.cpp:1023: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:1023: error: expected `;' before "_arg2"
     [exec] xpcom.cpp:1024: error: expected `;' before "_arg3"
     [exec] xpcom.cpp:1028: error: `lparg2' undeclared (first use this function)
     [exec] xpcom.cpp:1028: error: `_arg2' undeclared (first use this function)
     [exec] xpcom.cpp:1028: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:1029: error: `lparg3' undeclared (first use this function)
     [exec] xpcom.cpp:1029: error: `_arg3' undeclared (first use this function)
     [exec] xpcom.cpp:1031: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1031: error: expected primary-expression before '(' token
     [exec] xpcom.cpp:1031: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1031: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1031: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1031: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1031: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1031: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2Lorg_eclipse_swt_internal_mozilla_nsID_2_3Z(JNIEnv*, _jclass*, jint, jint, _jobject*, _jobject*, _jbooleanArray*)':
     [exec] xpcom.cpp:1045: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:1045: error: expected `;' before "_arg2"
     [exec] xpcom.cpp:1046: error: expected `;' before "_arg3"
     [exec] xpcom.cpp:1050: error: `lparg2' undeclared (first use this function)
     [exec] xpcom.cpp:1050: error: `_arg2' undeclared (first use this function)
     [exec] xpcom.cpp:1050: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:1051: error: `lparg3' undeclared (first use this function)
     [exec] xpcom.cpp:1051: error: `_arg3' undeclared (first use this function)
     [exec] xpcom.cpp:1053: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1053: error: expected primary-expression before '(' token
     [exec] xpcom.cpp:1053: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1053: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1053: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1053: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1053: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1053: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2_3B_3BI(JNIEnv*, _jclass*, jint, jint, _jobject*, _jbyteArray*, _jbyteArray*, jint)':
     [exec] xpcom.cpp:1067: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:1067: error: expected `;' before "_arg2"
     [exec] xpcom.cpp:1072: error: `lparg2' undeclared (first use this function)
     [exec] xpcom.cpp:1072: error: `_arg2' undeclared (first use this function)
     [exec] xpcom.cpp:1072: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:1075: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1075: error: expected primary-expression before '(' token
     [exec] xpcom.cpp:1075: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1075: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1075: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1075: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1075: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1075: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1075: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1075: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2_3B_3BI_3B_3B(JNIEnv*, _jclass*, jint, jint, _jobject*, _jbyteArray*, _jbyteArray*, jint, _jbyteArray*, _jbyteArray*)':
     [exec] xpcom.cpp:1089: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:1089: error: expected `;' before "_arg2"
     [exec] xpcom.cpp:1096: error: `lparg2' undeclared (first use this function)
     [exec] xpcom.cpp:1096: error: `_arg2' undeclared (first use this function)
     [exec] xpcom.cpp:1096: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:1101: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1101: error: expected primary-expression before '(' token
     [exec] xpcom.cpp:1101: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1101: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1101: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1101: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1101: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1101: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1101: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1101: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1101: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1101: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1101: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1101: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2_3I(JNIEnv*, _jclass*, jint, jint, _jobject*, _jintArray*)':
     [exec] xpcom.cpp:1117: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:1117: error: expected `;' before "_arg2"
     [exec] xpcom.cpp:1121: error: `lparg2' undeclared (first use this function)
     [exec] xpcom.cpp:1121: error: `_arg2' undeclared (first use this function)
     [exec] xpcom.cpp:1121: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:1123: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1123: error: expected primary-expression before '(' token
     [exec] xpcom.cpp:1123: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1123: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1123: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1123: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1123: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2_3Z(JNIEnv*, _jclass*, jint, jint, _jobject*, _jbooleanArray*)':
     [exec] xpcom.cpp:1136: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:1136: error: expected `;' before "_arg2"
     [exec] xpcom.cpp:1140: error: `lparg2' undeclared (first use this function)
     [exec] xpcom.cpp:1140: error: `_arg2' undeclared (first use this function)
     [exec] xpcom.cpp:1140: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:1142: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1142: error: expected primary-expression before '(' token
     [exec] xpcom.cpp:1142: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1142: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1142: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1142: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1142: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_VtblCall__II_3BILorg_eclipse_swt_internal_mozilla_nsID_2_3I(JNIEnv*, _jclass*, jint, jint, _jbyteArray*, jint, _jobject*, _jintArray*)':
     [exec] xpcom.cpp:1228: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:1228: error: expected `;' before "_arg4"
     [exec] xpcom.cpp:1233: error: `lparg4' undeclared (first use this function)
     [exec] xpcom.cpp:1233: error: `_arg4' undeclared (first use this function)
     [exec] xpcom.cpp:1233: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:1235: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1235: error: expected primary-expression before '(' token
     [exec] xpcom.cpp:1235: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1235: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1235: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1235: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1235: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1235: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1235: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1235: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_VtblCall__II_3BLorg_eclipse_swt_internal_mozilla_nsID_2I(JNIEnv*, _jclass*, jint, jint, _jbyteArray*, _jobject*, jint)':
     [exec] xpcom.cpp:1285: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:1285: error: expected `;' before "_arg3"
     [exec] xpcom.cpp:1289: error: `lparg3' undeclared (first use this function)
     [exec] xpcom.cpp:1289: error: `_arg3' undeclared (first use this function)
     [exec] xpcom.cpp:1289: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:1290: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1290: error: expected primary-expression before '(' token
     [exec] xpcom.cpp:1290: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1290: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1290: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1290: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1290: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1290: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_VtblCall__II_3BLorg_eclipse_swt_internal_mozilla_nsID_2_3I(JNIEnv*, _jclass*, jint, jint, _jbyteArray*, _jobject*, _jintArray*)':
     [exec] xpcom.cpp:1304: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:1304: error: expected `;' before "_arg3"
     [exec] xpcom.cpp:1309: error: `lparg3' undeclared (first use this function)
     [exec] xpcom.cpp:1309: error: `_arg3' undeclared (first use this function)
     [exec] xpcom.cpp:1309: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:1311: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1311: error: expected primary-expression before '(' token
     [exec] xpcom.cpp:1311: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1311: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1311: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1311: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1311: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1311: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1311: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_VtblCall__II_3BLorg_eclipse_swt_internal_mozilla_nsID_2_3Z(JNIEnv*, _jclass*, jint, jint, _jbyteArray*, _jobject*, _jbooleanArray*)':
     [exec] xpcom.cpp:1326: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:1326: error: expected `;' before "_arg3"
     [exec] xpcom.cpp:1331: error: `lparg3' undeclared (first use this function)
     [exec] xpcom.cpp:1331: error: `_arg3' undeclared (first use this function)
     [exec] xpcom.cpp:1331: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:1333: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1333: error: expected primary-expression before '(' token
     [exec] xpcom.cpp:1333: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:1333: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1333: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1333: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1333: error: expected primary-expression before ',' token
     [exec] xpcom.cpp:1333: error: expected primary-expression before '*' token
     [exec] xpcom.cpp:1333: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `void Java_org_eclipse_swt_internal_mozilla_XPCOM_memmove__ILorg_eclipse_swt_internal_mozilla_nsID_2I(JNIEnv*, _jclass*, jint, _jobject*, jint)':
     [exec] xpcom.cpp:1891: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:1891: error: expected `;' before "_arg1"
     [exec] xpcom.cpp:1893: error: `lparg1' undeclared (first use this function)
     [exec] xpcom.cpp:1893: error: `_arg1' undeclared (first use this function)
     [exec] xpcom.cpp:1893: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:1894: error: `memmove' undeclared (first use this function)
     [exec] xpcom.cpp: In function `void Java_org_eclipse_swt_internal_mozilla_XPCOM_memmove__I_3BI(JNIEnv*, _jclass*, jint, _jbyteArray*, jint)':
     [exec] xpcom.cpp:1908: error: `memmove' undeclared (first use this function)
     [exec] xpcom.cpp: In function `void Java_org_eclipse_swt_internal_mozilla_XPCOM_memmove__I_3CI(JNIEnv*, _jclass*, jint, _jcharArray*, jint)':
     [exec] xpcom.cpp:1922: error: `memmove' undeclared (first use this function)
     [exec] xpcom.cpp: In function `void Java_org_eclipse_swt_internal_mozilla_XPCOM_memmove__I_3II(JNIEnv*, _jclass*, jint, _jintArray*, jint)':
     [exec] xpcom.cpp:1936: error: `memmove' undeclared (first use this function)
     [exec] xpcom.cpp: In function `void Java_org_eclipse_swt_internal_mozilla_XPCOM_memmove__I_3JI(JNIEnv*, _jclass*, jint, _jlongArray*, jint)':
     [exec] xpcom.cpp:1950: error: `memmove' undeclared (first use this function)
     [exec] xpcom.cpp: In function `void Java_org_eclipse_swt_internal_mozilla_XPCOM_memmove__Lorg_eclipse_swt_internal_mozilla_nsID_2II(JNIEnv*, _jclass*, _jobject*, jint, jint)':
     [exec] xpcom.cpp:1961: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:1961: error: expected `;' before "_arg0"
     [exec] xpcom.cpp:1963: error: `lparg0' undeclared (first use this function)
     [exec] xpcom.cpp:1963: error: `_arg0' undeclared (first use this function)
     [exec] xpcom.cpp:1963: error: `getnsIDFields' undeclared (first use this function)
     [exec] xpcom.cpp:1964: error: `memmove' undeclared (first use this function)
     [exec] xpcom.cpp: In function `void Java_org_eclipse_swt_internal_mozilla_XPCOM_memmove___3BII(JNIEnv*, _jclass*, _jbyteArray*, jint, jint)':
     [exec] xpcom.cpp:1978: error: `memmove' undeclared (first use this function)
     [exec] xpcom.cpp: In function `void Java_org_eclipse_swt_internal_mozilla_XPCOM_memmove___3B_3CI(JNIEnv*, _jclass*, _jbyteArray*, _jcharArray*, jint)':
     [exec] xpcom.cpp:1994: error: `memmove' undeclared (first use this function)
     [exec] xpcom.cpp: In function `void Java_org_eclipse_swt_internal_mozilla_XPCOM_memmove___3CII(JNIEnv*, _jclass*, _jcharArray*, jint, jint)':
     [exec] xpcom.cpp:2009: error: `memmove' undeclared (first use this function)
     [exec] xpcom.cpp: In function `void Java_org_eclipse_swt_internal_mozilla_XPCOM_memmove___3III(JNIEnv*, _jclass*, _jintArray*, jint, jint)':
     [exec] xpcom.cpp:2023: error: `memmove' undeclared (first use this function)
     [exec] xpcom.cpp: In function `void Java_org_eclipse_swt_internal_mozilla_XPCOM_memmove___3JII(JNIEnv*, _jclass*, _jlongArray*, jint, jint)':
     [exec] xpcom.cpp:2037: error: `memmove' undeclared (first use this function)
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedCString_1Length(JNIEnv*, _jclass*, jint)':
     [exec] xpcom.cpp:2050: error: `nsEmbedCString' undeclared (first use this function)
     [exec] xpcom.cpp:2050: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:2050: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `void Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedCString_1delete(JNIEnv*, _jclass*, jint)':
     [exec] xpcom.cpp:2061: error: `nsEmbedCString' undeclared (first use this function)
     [exec] xpcom.cpp:2061: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:2061: error: expected `;' before "arg0"
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedCString_1get(JNIEnv*, _jclass*, jint)':
     [exec] xpcom.cpp:2072: error: `nsEmbedCString' undeclared (first use this function)
     [exec] xpcom.cpp:2072: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:2072: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedCString_1new__(JNIEnv*, _jclass*)':
     [exec] xpcom.cpp:2084: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:2084: error: expected `;' before "new"
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedCString_1new___3BI(JNIEnv*, _jclass*, _jbyteArray*, jint)':
     [exec] xpcom.cpp:2098: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:2098: error: expected `;' before "new"
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedString_1Length(JNIEnv*, _jclass*, jint)':
     [exec] xpcom.cpp:2112: error: `nsEmbedString' undeclared (first use this function)
     [exec] xpcom.cpp:2112: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:2112: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `void Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedString_1delete(JNIEnv*, _jclass*, jint)':
     [exec] xpcom.cpp:2123: error: `nsEmbedString' undeclared (first use this function)
     [exec] xpcom.cpp:2123: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:2123: error: expected `;' before "arg0"
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedString_1get(JNIEnv*, _jclass*, jint)':
     [exec] xpcom.cpp:2134: error: `nsEmbedString' undeclared (first use this function)
     [exec] xpcom.cpp:2134: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:2134: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedString_1new__(JNIEnv*, _jclass*)':
     [exec] xpcom.cpp:2146: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:2146: error: expected `;' before "new"
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedString_1new___3C(JNIEnv*, _jclass*, _jcharArray*)':
     [exec] xpcom.cpp:2160: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:2160: error: expected `;' before "new"
     [exec] xpcom.cpp: In function `jboolean Java_org_eclipse_swt_internal_mozilla_XPCOM_nsID_1Equals(JNIEnv*, _jclass*, jint, jint)':
     [exec] xpcom.cpp:2174: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:2174: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:2174: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:2174: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `jboolean Java_org_eclipse_swt_internal_mozilla_XPCOM_nsID_1Parse(JNIEnv*, _jclass*, jint, _jstring*)':
     [exec] xpcom.cpp:2188: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:2188: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:2188: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function `void Java_org_eclipse_swt_internal_mozilla_XPCOM_nsID_1delete(JNIEnv*, _jclass*, jint)':
     [exec] xpcom.cpp:2201: error: `nsID' undeclared (first use this function)
     [exec] xpcom.cpp:2201: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:2201: error: expected `;' before "arg0"
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_nsID_1new(JNIEnv*, _jclass*)':
     [exec] xpcom.cpp:2212: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:2212: error: expected `;' before "new"
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_strlen(JNIEnv*, _jclass*, jint)':
     [exec] xpcom.cpp:2224: error: `strlen' undeclared (first use this function)

BUILD FAILED
/usr/home/bofh/tmp/eclipse/work/build.xml:76: exec returned: 1

Total time: 17 minutes 55 seconds
*** Error code 1

Stop in /usr/home/bofh/tmp/eclipse.

Could soembody please advice?
I don't have mozilla installed, but firefox.

-- 
Eugene N Dzhurinsky


More information about the freebsd-java mailing list