[kaffe] kaffe on oskit

Martin Pohlack mp26 at os.inf.tu-dresden.de
Thu May 22 05:29:01 PDT 2003


Hi,

I'm currently working on porting kaffe to the l4-microkernel.

As a first step i want to use the oskit-port, as we have some level of 
oskit support for our system (DROPS; http://os.inf.tu-dresden.de/drops/).

I have some problems in getting it built. I'm using the following oskit 
(and i'm somewhat bound to that version):

The OSKit - Flux Operating System Toolkit
      Version 0.97 - January 15, 1999
            (Snapshot 20000901)

I followed the steps described in kaffe/config/i386/oskit/README.

At first I built kaffe (natively) and installed to ~/soft. Afterwards i 
built the oskit and installed to the same place.

Then i ran:

config/i386/oskit/oskit-configure --srcdir=/home/mp26/tmp/kaffe \
   --oskitdir=/home/mp26/soft --localkaffeh=`which kaffe` \
   --prefix=/home/mp26/soft_l4

in the top kaffe dir.

Now i should be able to run "make all". When doing so I get the 
following error:

Making all in .
make[1]: Entering directory `/home/mp26/tmp/kaffe'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/mp26/tmp/kaffe'
Making all in config
make[1]: Entering directory `/home/mp26/tmp/kaffe/config'
make  all-am
make[2]: Entering directory `/home/mp26/tmp/kaffe/config'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/mp26/tmp/kaffe/config'
make[1]: Leaving directory `/home/mp26/tmp/kaffe/config'
Making all in include
make[1]: Entering directory `/home/mp26/tmp/kaffe/include'
make  all-am
make[2]: Entering directory `/home/mp26/tmp/kaffe/include'
/home/mp26/soft/bin/kaffe -classpath 
/home/mp26/tmp/kaffe/libraries/javalib/Klasses.jar.bootstrap -o 
java_lang_Object.h java/lang/Object
java.lang.ClassNotFoundException: stamp-h0java_lang_Object/h
         at 
kaffe.lang.SystemClassLoader.findClass0(SystemClassLoader.java:native)
         at 
kaffe.lang.SystemClassLoader.findClass(SystemClassLoader.java:150)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:149)
         at java.lang.Class.forName(Class.java:74)
         at java.lang.Class.forName(Class.java:43)
Caused by: <null cause>
mv: cannot stat `stamp-h0java_lang_Object.h': No such file or directory
make[2]: *** [stamp-h0all] Error 1
make[2]: Leaving directory `/home/mp26/tmp/kaffe/include'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/mp26/tmp/kaffe/include'
make: *** [all-recursive] Error 1


Any ideas?

Thanks,
Martin Pohlack





More information about the kaffe mailing list