[kaffe] BeOS & Kaffe !!!

Dalibor Topic robilad at kaffe.org
Sun Sep 21 08:04:02 PDT 2003


Hi Milton,

Milton César de Souza Leite wrote:
> I am having problems in compiling kaffe-1.1.1 in BeOS 5.03 !!! 
> I used this parameters in configure: 
> 
> % ./configure --disable-shared --prefix=/boot/home/bekaffe 
> --with-threads=beos-native 

we haven't merged with bekaffe yet, but it would be great if we could. 
So no beos-native threads yet.


> After that i got the error: 
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include  -I../kaffevm 
> -I./../kaffevm -DKAFFEH -DKVER='"1.1.0"' 

Are you sre you're building kaffe 1.1.1? This seems to indicate you're 
building kaffe 1.1.0.

> -I/boot/home/jp/kaffe-1.1.0/./kaffe/kaffevm 
> -I/boot/home/jp/kaffe-1.1.0/./kaffe/kaffevm/systems/beos-native 
> -I../../config -I../../include  -DKAFFE_VMDEBUG  -g -O2 -Wall 
> -Wstrict-prototypes -c `test -f 'support.c' || echo './'`support.c 
> In file included from 
> /boot/home/jp/kaffe-1.1.0/kaffe/kaffevm/systems/beos-native/jthread.h:25, 
>                  from 
> /boot/home/jp/kaffe-1.1.0/kaffe/kaffevm/classMethod.h:21, 
>                  from /boot/home/jp/kaffe-1.1.0/kaffe/kaffeh/support.c:23: 
> /boot/home/jp/kaffe-1.1.0/kaffe/kaffevm/thread.h:19: java_lang_Throwable.h: 
> No such file or directory 
> /boot/home/jp/kaffe-1.1.0/kaffe/kaffevm/thread.h:20: java_lang_Thread.h: No 
> such file or directory 
> /boot/home/jp/kaffe-1.1.0/kaffe/kaffevm/thread.h:21: 
> java_lang_ThreadGroup.h: No such file or directory 
> make[3]: *** [support.o] Error 1 
> make[3]: Leaving directory `/boot/home/jp/kaffe-1.1.0/kaffe/kaffeh' 
> make[2]: *** [stamp-kaffeh] Error 2 
> make[2]: Leaving directory `/boot/home/jp/kaffe-1.1.0/include' 
> make[1]: *** [all] Error 2 
> make[1]: Leaving directory `/boot/home/jp/kaffe-1.1.0/include' 
> make: *** [all-recursive] Error 1 

Try without specifying beos-native. I don't know if unix-jthread will 
work on beos, though. A better way would be to merge the changes back 
that the bekaffe team made in their version. We had a discussion about 
it here: http://www.kaffe.org/pipermail/kaffe/2003-July/043283.html

cheers,
dalibor topic





More information about the kaffe mailing list