[kaffe] kaffe on oskit
Martin Pohlack
mp26@os.inf.tu-dresden.de
Mon May 26 10:26:01 2003
>>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?
yes, this solves the problem!
Thanks,
Martin Pohlack