compile error / System.c
Johan Andersson
Johan.Andersson at cs.tcd.ie
Tue Jul 3 14:01:03 PDT 2001
Hi,
I have downloaded Kaffe 1.0.6, configured it and tried to compile it on
Linux 2.4.5 (Redhat 7.1).
However, it fails when compiling System.c.
gcc -DHAVE_CONFIG_H -I. -I. -I../../../config
-I../../../include -DKVER=\"1.0.6\" -I/tmp/kaffe-1.0.6/./kaffe/kaffevm
-I/tmp/kaffe1.0.6/./kaffe/kaffevm/systems/unix-jthreads
-I../../../config -I../../../include
-I/usr/local/include -g -O2 -Wall -Wstrict-prototypes -fexceptions -c
System.c -Wp,-MD,.deps/System.TPlo -o System.o
System.c: In function `java_lang_System_initProperties':
System.c:415: warning: implicit declaration of function `time'
System.c:418: warning: implicit declaration of function `localtime'
System.c:418: invalid type argument of `->'
I find this very strange, since I have downloaded and compiled kaffe before
on a redhat dist (6.2) before without any problems. The gcc version is
egcs-2.91.66. I have tried with gcc version 2.96 as well.
Configured kaffe with --prefix=/tmp/kaffe as my only config flag.
Any suggestions, work arounds???
Regards
Johan
More information about the kaffe
mailing list