[Prev][Next][Index][Thread]

kaffe 1.0b4




Hello,

I am trying to compile kaffe1.0b4 on Oskit and I have some problems.
Directory config/i386/oskit contains README file which seems to be
outdated. Have anybody managed to compile kaffe1.0b4 with Oskit? What
version of Oskit I should use and what patches if any i should apply?

It works fine with kaffe 1.0b3 and oskit 0.97, but I need kaffe 1.0b4.
I am doing the following:

untar kaffe-1.0b4
modify config-oskit.sh in config/i386/oskit
run config-oskit.sh 
run make in kaffe-1.0b4 directory

and I am getting following error

/usr/local/bin/i686-oskit-gcc -posix-oskit -pthread -DHAVE_CONFIG_H -I.
-I/home/ppeisa/kaffe-1.0b4/libraries/clib/native -I../../../config
-I../../../include -DKVER=\"1.0b4\" -I/home/ppeisa/kaffe-1.0b4/config
-I/home/ppeisa/kaffe-1.0b4/include -I/usr/local/include -g -O2 -Wall
-Wstrict-prototypes -c ObjectStreamClassImpl.c -o ObjectStreamClassImpl.o
In file included from ObjectStreamClassImpl.c:22:
../../../include/java_io_ObjectInputStream.h:4: warning: garbage at end of
`#ifndef' argument ../../../include/java_io_ObjectInputStream.h:5:
warning: missing white space after `#define _Included_stamp' In file
included from ObjectStreamClassImpl.c:23:
../../../include/java_io_ObjectOutputStream.h:4: warning: garbage at end
of `#ifndef' argument In file included from ObjectStreamClassImpl.c:24:
../../../include/kaffe_io_ObjectStreamClassImpl.h:4: warning: garbage at
end of `#ifndef' argument In file included from
ObjectStreamClassImpl.c:22:
../../../include/java_io_ObjectInputStream.h:19: warning: parameter names
(without types) in function declaration
../../../include/java_io_ObjectInputStream.h:19: warning: data definition
has no type or storage class ObjectStreamClassImpl.c:30: warning: `struct
Hkaffe_io_ObjectStreamClassImpl' declared inside parameter list
ObjectStreamClassImpl.c:30: warning: its scope is only this definition or
declaration, ObjectStreamClassImpl.c:30: warning: which is probably not
what you want. ObjectStreamClassImpl.c:68: warning: `struct
Hkaffe_io_ObjectStreamClassImpl' declared inside parameter list
ObjectStreamClassImpl.c: In function
`kaffe_io_ObjectStreamClassImpl_allocateNewObject':
ObjectStreamClassImpl.c:70: dereferencing pointer to incomplete type
ObjectStreamClassImpl.c: At top level: ObjectStreamClassImpl.c:74:
warning: `struct Hkaffe_io_ObjectStreamClassImpl' declared inside
parameter list
.
.
.


Thanks in advance,

Pentti Peisa