* Building the Mozilla component In file included from xpcom_profile_structs.h:29, from xpcom_profile.cpp:30: xpcom_profile.h:34:22: error: nsCOMPtr.h: No such file or directory xpcom_profile.h:35:41: error: nsProfileDirServiceProvider.h: No such file or directory xpcom_profile.cpp: In function 'jint Java_org_eclipse_swt_internal_mozilla_XPCOM_1PROFILE_NS_1NewProfileDirServiceProvider(JNIEnv*, _jclass*, jboolean, _jintArray*)': xpcom_profile.cpp:45: error: 'nsProfileDirServiceProvider' was not declared in this scope xpcom_profile.cpp:45: error: 'NS_NewProfileDirServiceProvider' was not declared in this scope xpcom_profile.cpp:45: error: expected primary-expression before ')' token xpcom_profile.cpp:45: error: expected `;' before 'NS_NewProfileDirServiceProvider' xpcom_profile.cpp: In function 'jint Java_org_eclipse_swt_internal_mozilla_XPCOM_1PROFILE_ProfileDirServiceProvider_1Register(JNIEnv*, _jclass*, jint)': xpcom_profile.cpp:59: error: 'nsProfileDirServiceProvider' was not declared in this scope xpcom_profile.cpp:59: error: expected primary-expression before ')' token xpcom_profile.cpp:59: error: expected primary-expression before ')' token xpcom_profile.cpp: In function 'jint Java_org_eclipse_swt_internal_mozilla_XPCOM_1PROFILE_ProfileDirServiceProvider_1SetProfileDir(JNIEnv*, _jclass*, jint, jint)': xpcom_profile.cpp:71: error: 'nsProfileDirServiceProvider' was not declared in this scope xpcom_profile.cpp:71: error: expected primary-expression before ')' token xpcom_profile.cpp:71: error: expected primary-expression before ')' token xpcom_profile.cpp:71: error: 'nsIFile' was not declared in this scope xpcom_profile.cpp:71: error: expected primary-expression before ')' token xpcom_profile.cpp: In function 'jint Java_org_eclipse_swt_internal_mozilla_XPCOM_1PROFILE_ProfileDirServiceProvider_1Shutdown(JNIEnv*, _jclass*, jint)': xpcom_profile.cpp:83: error: 'nsProfileDirServiceProvider' was not declared in this scope xpcom_profile.cpp:83: error: expected primary-expression before ')' token xpcom_profile.cpp:83: error: expected primary-expression before ')' token make: *** [xpcom14_profile.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: dev-java/swt-3.2.1 failed. Call stack: ebuild.sh, line 1568: Called dyn_compile ebuild.sh, line 937: Called src_compile swt-3.2.1.ebuild, line 145: Called die !!! Failed to build Mozilla support !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info !!! This ebuild is from an overlay: '/usr/local/overlays/migrated-java-experimental-overlay'