eclipse 3.2.1 build WITH_MOZILLA=firefox2 failed

Alex Pivovarov apivovarov at gmail.com
Wed Nov 15 18:04:04 UTC 2006


I have the last firefox-2.0_2,1 installed
I cvsup stable-supfile
I cd to /usr/ports/java/eclipse
run make WITH_MOZILLA=firefox2 install

after 15 min I get an error:


PCOM_nsEmbedCString_1new__(JNIEnv*, _jclass*)':
     [exec] xpcom.cpp:2106: error: expected primary-expression before ')'
token
     [exec] xpcom.cpp:2106: error: expected `;' before "new"
     [exec] xpcom.cpp: In function `jint
Java_org_eclipse_swt_internal_mozilla_X
PCOM_nsEmbedCString_1new___3BI(JNIEnv*, _jclass*, _jbyteArray*, jint)':
     [exec] xpcom.cpp:2120: error: expected primary-expression before ')'
token
     [exec] xpcom.cpp:2120: error: expected `;' before "new"
     [exec] xpcom.cpp: In function `jint
Java_org_eclipse_swt_internal_mozilla_X
PCOM_nsEmbedString_1Length(JNIEnv*, _jclass*, jint)':
     [exec] xpcom.cpp:2134: error: `nsEmbedString' undeclared (first use
this fu
nction)
     [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 `void
Java_org_eclipse_swt_internal_mozilla_X
PCOM_nsEmbedString_1delete(JNIEnv*, _jclass*, jint)':
     [exec] xpcom.cpp:2145: error: `nsEmbedString' undeclared (first use
this fu
nction)
     [exec] xpcom.cpp:2145: error: expected primary-expression before ')'
token
     [exec] xpcom.cpp:2145: error: expected `;' before "arg0"
     [exec] xpcom.cpp: In function `jint
Java_org_eclipse_swt_internal_mozilla_X
PCOM_nsEmbedString_1get(JNIEnv*, _jclass*, jint)':
     [exec] xpcom.cpp:2156: error: `nsEmbedString' undeclared (first use
this fu
nction)
     [exec] xpcom.cpp:2156: error: expected primary-expression before ')'
token
     [exec] xpcom.cpp:2156: error: expected primary-expression before ')'
token
     [exec] xpcom.cpp: In function `jint
Java_org_eclipse_swt_internal_mozilla_X
PCOM_nsEmbedString_1new__(JNIEnv*, _jclass*)':
     [exec] xpcom.cpp:2168: error: expected primary-expression before ')'
token
     [exec] xpcom.cpp:2168: error: expected `;' before "new"
     [exec] xpcom.cpp: In function `jint
Java_org_eclipse_swt_internal_mozilla_X
PCOM_nsEmbedString_1new___3C(JNIEnv*, _jclass*, _jcharArray*)':
     [exec] xpcom.cpp:2182: error: expected primary-expression before ')'
token
     [exec] xpcom.cpp:2182: error: expected `;' before "new"
     [exec] xpcom.cpp: In function `jboolean
Java_org_eclipse_swt_internal_mozil
la_XPCOM_nsID_1Equals(JNIEnv*, _jclass*, jint, jint)':
     [exec] xpcom.cpp:2196: error: `nsID' undeclared (first use this
function)
     [exec] xpcom.cpp:2196: error: expected primary-expression before ')'
token
     [exec] xpcom.cpp:2196: error: expected primary-expression before ')'
token
     [exec] xpcom.cpp:2196: error: expected primary-expression before ')'
token
     [exec] xpcom.cpp: In function `jboolean
Java_org_eclipse_swt_internal_mozil
la_XPCOM_nsID_1Parse(JNIEnv*, _jclass*, jint, _jstring*)':
     [exec] xpcom.cpp:2210: error: `nsID' undeclared (first use this
function)
     [exec] xpcom.cpp:2210: error: expected primary-expression before ')'
token
     [exec] xpcom.cpp:2210: error: expected primary-expression before ')'
token
     [exec] xpcom.cpp: In function `void
Java_org_eclipse_swt_internal_mozilla_X
PCOM_nsID_1delete(JNIEnv*, _jclass*, jint)':
     [exec] xpcom.cpp:2223: error: `nsID' undeclared (first use this
function)
     [exec] xpcom.cpp:2223: error: expected primary-expression before ')'
token
     [exec] xpcom.cpp:2223: error: expected `;' before "arg0"
     [exec] xpcom.cpp: In function `jint
Java_org_eclipse_swt_internal_mozilla_X
PCOM_nsID_1new(JNIEnv*, _jclass*)':
     [exec] xpcom.cpp:2234: error: expected primary-expression before ')'
token
     [exec] xpcom.cpp:2234: error: expected `;' before "new"
     [exec] xpcom.cpp: In function `jint
Java_org_eclipse_swt_internal_mozilla_X
PCOM_strlen(JNIEnv*, _jclass*, jint)':
     [exec] xpcom.cpp:2246: error: `strlen' undeclared (first use this
function)


BUILD FAILED
/usr/ports/java/eclipse/work/build.xml:76: exec returned: 1

Total time: 18 minutes 25 seconds
*** Error code 1

Stop in /usr/ports/java/eclipse.


More information about the freebsd-java mailing list