[kaffe] Newbie question

Dalibor Topic robilad@yahoo.com
Fri, 11 Oct 2002 12:10:03 -0700 (PDT)


Hallo Ronald,

--- Ronald Aigner <ra3@os.inf.tu-dresden.de> wrote:
> 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

hm. The last time we had a thread about that error it
somehow petered out:
http://www.kaffe.org/pipermail/kaffe/2001-April/007247.html

I assume that you're crosscompiling for oskit, so you
may want to take a look at this mail from Edouard G.
Parmelan for further suggestions:
http://www.kaffe.org/pipermail/kaffe/2001-July/007375.html

best regards,

dalibor topic

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com