Eventually I installed Eclipse-3.2.1 I update Mozilla to 1.7.13_1,2 and after that Eclipse was built successfully.
On 11/16/06, Alex Pivovarov <[EMAIL PROTECTED]> wrote:
anyway I installed mozilla-1.7.13.2 from package after than I runed portinstall java/eclipse and got the similar errors in xpcom_profile.cpp in lines 45, 59, 71, 83 On 11/15/06, Alex Pivovarov <[EMAIL PROTECTED] > wrote: > > 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. >
_______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse To unsubscribe, send any mail to "[EMAIL PROTECTED]"
