[kaffe] kaffe on oskit

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


This is a multi-part message in MIME format.

--Multipart_Mon__26_May_2003_18:46:59_+0200_09b31b50
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Mon, 26 May 2003 18:37:42 +0200
Martin Pohlack <mp26@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
--Multipart_Mon__26_May_2003_18:46:59_+0200_09b31b50
Content-Type: application/octet-stream;
 name="oskit-jthread.patch"
Content-Disposition: attachment;
 filename="oskit-jthread.patch"
Content-Transfer-Encoding: base64

SW5kZXg6IGthZmZlL2thZmZldm0vc3lzdGVtcy9vc2tpdC1wdGhyZWFkcy9qdGhyZWFkLmgKPT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PQpSQ1MgZmlsZTogL2N2cy9rYWZmZS9rYWZmZS9rYWZmZS9rYWZmZXZtL3N5c3RlbXMv
b3NraXQtcHRocmVhZHMvanRocmVhZC5oLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjkKZGlmZiAt
dSAtcjEuOSBqdGhyZWFkLmgKLS0tIGthZmZlL2thZmZldm0vc3lzdGVtcy9vc2tpdC1wdGhyZWFk
cy9qdGhyZWFkLmgJMTIgRmViIDIwMDMgMjM6NTE6NTYgLTAwMDAJMS45CisrKyBrYWZmZS9rYWZm
ZXZtL3N5c3RlbXMvb3NraXQtcHRocmVhZHMvanRocmVhZC5oCTI2IE1heSAyMDAzIDE2OjQwOjA5
IC0wMDAwCkBAIC0yOCw5ICsyOCw3IEBACiAjaW5jbHVkZSAiY29uZmlnLXN0ZC5oIgogI2luY2x1
ZGUgImNvbmZpZy1tZW0uaCIKICNpbmNsdWRlICJjb25maWctaW8uaCIKLSNpbmNsdWRlICJqdHlw
ZXMuaCIKICNpbmNsdWRlICJndHlwZXMuaCIKLSNpbmNsdWRlICJ0aHJlYWQuaCIKICNpbmNsdWRl
ICJzdXBwb3J0LmgiCiAjaW5jbHVkZSAibWQuaCIKICNpbmNsdWRlICJsZXJybm8uaCIK

--Multipart_Mon__26_May_2003_18:46:59_+0200_09b31b50--