[kaffe] Error of kaffe-1.1.7

赵文杰 jackzhao1980 at gmail.com
Sun Jul 9 20:18:51 PDT 2006


Hi:
     I wanted to cross-compile the kaffe-1.1.7 to the mips.
     I configure it as:  ./configure CC=mipsel-linux-gcc
CPP=mipsel-linux-cpp PTHREAD_CC=mipsel-linux-gcc  CXX=mipsel-linux-g++
KAFFEH=/usr/local/kaffe/bin/kaffeh  NM=mipsel-linux-nm
AR=mipsel-linux-ar --host=mipsel-linux  --disable-debug
--enable-pure-java-math  --disable-xawt-xi18n --disable-gtk-peer.

    Then I compiled it: make. Errors appeared:
    Found 3 semantic errors compiling
"gnu/classpath/tools/giop/grmic/GiopIo.java":

    42. import org.omg.CORBA.portable.ObjectImpl;
               ^-------------------------------^
*** Semantic Error: The import "org/omg/CORBA/portable/ObjectImpl" is
not valid, since it does not name a type in a package.


    83.     else if (ObjectImpl.class.isAssignableFrom(c))
                     ^--------^
*** Semantic Error: Type "ObjectImpl" was not found.


   121.     else if (ObjectImpl.class.isAssignableFrom(c))
                     ^--------^
*** Semantic Error: Type "ObjectImpl" was not found.

Found 4 semantic errors compiling "gnu/classpath/tools/giop/IorParser.java":

    41. import gnu.CORBA.IOR;
               ^-----------^
*** Semantic Error: The import "gnu/CORBA/IOR" is not valid, since it
does not name a type in a package.


    49. import org.omg.CORBA.BAD_PARAM;
               ^---------------------^
*** Semantic Error: The import "org/omg/CORBA/BAD_PARAM" is not valid,
since itdoes not name a type in a package.


   115.         IOR gior = IOR.parse(ior);
                ^-^
*** Semantic Error: Type "IOR" was not found.


   119.     catch (BAD_PARAM e)
                   ^-------^
*** Semantic Error: Type "BAD_PARAM" was not found.

Found 1 semantic error compiling "gnu/classpath/tools/giop/NameService.java":

    40. import gnu.CORBA.NamingService.NamingServiceTransient;
               ^--------------------------------------------^
*** Semantic Error: The import
"gnu/CORBA/NamingService/NamingServiceTransient"is not valid, since it
does not name a type in a package.
make[3]: *** [tools.zip] 段错误

     Why is this? How can I fix it???  I appreciate you answer very much.

                                 jackzhao

                                2006.7.10


More information about the kaffe mailing list