[kaffe] kaffe on oskit

Helmer Krämer hkraemer at freenet.de
Mon May 26 09:44:01 PDT 2003


On Mon, 26 May 2003 18:37:42 +0200
Martin Pohlack <mp26 at os.inf.tu-dresden.de> wrote:

hi,

> However, now I'm stuck with the following error:
> 
> make[2]: Entering directory `/home/mp26/tmp/kaffe/kaffe/kaffeh'
> source='support.c' object='support.o' libtool=no \
> depfile='.deps/support.Po' tmpdepfile='.deps/support.TPo' \
> depmode=gcc /bin/sh /home/mp26/tmp/kaffe/depcomp \
> /home/mp26/soft/bin/x86-oskit-gcc -posix-oskit -pthread -nostdinc 
> -DHAVE_CONFIG_H -I. -I/home/mp26/tmp/kaffe/kaffe/kaffeh -I../../config 
> -I../../include  -I../kaffevm 
> -I/home/mp26/tmp/kaffe/kaffe/kaffeh/../kaffevm -DKAFFEH 
> -DKVER='"1.1.x-cvs"' -I/home/mp26/tmp/kaffe/kaffe/kaffevm 
> -I/home/mp26/tmp/kaffe/kaffe/kaffevm/systems/oskit-pthreads 
> -I/home/mp26/tmp/kaffe/config -I/home/mp26/tmp/kaffe/include   -g -O2 
> -Wall -Wstrict-prototypes -c `test -f 'support.c' || echo 
> '/home/mp26/tmp/kaffe/kaffe/kaffeh/'`support.c
> In file included from ../kaffevm/thread.h:17,
>                   from 
> /home/mp26/tmp/kaffe/kaffe/kaffevm/systems/oskit-pthreads/jthread.h:33,
>                   from ../kaffevm/classMethod.h:21,
>                   from support.c:23:
> ../../include/native.h:49: redefinition of `Hjava_lang_Object'
> java_lang_Object.h:19: `Hjava_lang_Object' previously declared here
> make[2]: *** [support.o] Error 1
> make[2]: Leaving directory `/home/mp26/tmp/kaffe/kaffe/kaffeh'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/mp26/tmp/kaffe/kaffe'
> make: *** [all-recursive] Error 1
> 
> 
> I found somewhat related problems here:
> http://www.kaffe.org/pipermail/kaffe/2001-April/007247.html
> 
> but this doesn't help me.
> 
> Any suggestions???

yes, probably. Could you try the attached patch and see
whether that solves your problem?

Greetings,
Helmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oskit-jthread.patch
Type: application/octet-stream
Size: 621 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20030526/552eb536/attachment-0002.obj 


More information about the kaffe mailing list