[kaffe] Newbie question

Ronald Aigner ra3 at os.inf.tu-dresden.de
Fri Oct 11 08:49:40 PDT 2002


Hello again,

> I'm glad to hear that. 
I read the manuals more precisely and I found out that I forgot to 
configure oskit before configuring kaffe. I cleaned the source tree and 
ran the configure scripts again in the right order (and hopefully with 
the correct options).

Then I started make and it gave me errors about conflicting types and 
functions between include/native.h and some other files
e.g.
make[2]: Entering directory 
`/home/ra3/src/l4/pkg/kaffe/libraries/clib/native'
/bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../../../config -I../../../include   -DKVER=1.1.x-cvs 
-I/home/ra3/src/l4/pkg/kaffe/./kaffe/kaffevm 
-I/home/ra3/src/l4/pkg/kaffe/./kaffe/kaffevm/systems/oskit-pthreads 
-I../../../config -I../../../include 
-I/home/ra3/src/l4/pkg/oskit10_support/include/ -DDEBUG  -g -O2 -Wall 
-Wstrict-prototypes -c ObjectStreamClassImpl.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../include 
-DKVER=\"1.1.x-cvs\" -I/home/ra3/src/l4/pkg/kaffe/./kaffe/kaffevm 
-I/home/ra3/src/l4/pkg/kaffe/./kaffe/kaffevm/systems/oskit-pthreads 
-I../../../config -I../../../include 
-I/home/ra3/src/l4/pkg/oskit10_support/include/ -DDEBUG -g -O2 -Wall 
-Wstrict-prototypes -Wp,-MD,.deps/ObjectStreamClassImpl.pp -c 
ObjectStreamClassImpl.c -o ObjectStreamClassImpl.o

In file included from ../../../kaffe/kaffevm/object.h:19,
                  from ../../../kaffe/kaffevm/classMethod.h:17,
                  from ObjectStreamClassImpl.c:15:
../../../include/java_lang_Object.h:13: redefinition of `struct 
_Hjava_lang_Object'
../../../include/java_lang_Object.h:15: redefinition of `Hjava_lang_Object'
../../../include/native.h:51: `Hjava_lang_Object' previously declared here

In file included from ObjectStreamClassImpl.c:20:
../../../kaffe/kaffevm/support.h:117: conflicting types for 
`execute_java_constructor'
../../../include/native.h:73: previous declaration of 
`execute_java_constructor

So probably this should never happend...
I will dig into that...


-- 
Mit freundlichen Gruessen / with regards
Ronald Aigner
http://os.inf.tu-dresden.de/~ra3/
Operating Systems Group - TU Dresden





More information about the kaffe mailing list