[kaffe] kaffe on oskit

Dalibor Topic robilad@yahoo.com
Thu May 22 05:36:02 2003


Hallo Martin,

--- Martin Pohlack <mp26@os.inf.tu-dresden.de> wrote:
> Hi,
> 
> I'm currently working on porting kaffe to the l4-microkernel.

Cool, that would be an interesting addition.
 
> 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

> 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

try using -localkaffeh=`which kaffeh` in the configure line above. kaffe and
kaffeh are differen programs doing different things ;)

cheers,
dalibor topic

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com