From: rajibul h. <raj...@ya...> - 2007-12-10 15:29:21
|
Hi I need help for compiling Java compiler and libgcj. I'm getting the following error messages while compiling libjava/exception.cc: --------------------------------------------------------------------------------------------------- /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc: At global scope: /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc:63: error: ISO C++ forbids casting to an array type 'char [8]' /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc:64: error: ISO C++ forbids casting to an array type 'char [8]' /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc:65: error: ISO C++ forbids casting to an array type 'char [8]' /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc:66: error: ISO C++ forbids casting to an array type 'char [8]' /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc:67: error: ISO C++ forbids casting to an array type 'char [8]' /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc:68: error: ISO C++ forbids casting to an array type 'char [8]' /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc:69: error: ISO C++ forbids casting to an array type 'char [8]' /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc:70: error: ISO C++ forbids casting to an array type 'char [8]' /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc: In function 'void _Jv_Throw(java::lang::Throwable*)': /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc:92: error: ISO C++ forbids assignment of arrays /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc: In function '_Unwind_Reason_Code __gcj_personality_v0(int, _Unwind_Action, char*, _Unwind_Control_Block*, _Unwind_Context*)': /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc:204: error: '_URC_FATAL_PHASE1_ERROR' was not declared in this scope /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc:208: error: invalid use of non-lvalue array /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc:330: error: invalid use of non-lvalue array /home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/libjava/exception.cc:378: error: invalid use of non-lvalue array make[4]: *** [exception.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1-final/arm-linux-uclibcgnueabi/libjava' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1-final/arm-linux-uclibcgnueabi/libjava' make[2]: *** [all-target-libjava] Error 2 make[2]: Leaving directory `/home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1-final' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1-final' make: *** [/home/bagside/buildroot/toolchain_build_arm_nofpu/gcc-4.1.1-final/.compiled] Error 2 --------------------------------------------------------------------------------------------------------------------------------- Please let me know if anyone has faced the same problem. Thanks Rajib --------------------------------- Never miss a thing. Make Yahoo your homepage. |