Compiliation errors on Linux

Fred Dushin fadushin at
Mon Apr 14 07:26:12 PDT 1997

> gcc -g -O  -I. -I. -I./../../config -I../../config -I../../include
> -DTRANSLATOR -I./jit -DKVER=\"0.83\" -c -fPIC external.c
> external.c:67: parse error before `libHandle'
> external.c:67: warning: data definition has no type or storage class
> make[2]: *** [external.o] Error 1
> make[2]: Leaving directory `/tmp/kaffe-0.8.3/kaffe/kaffevm'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/tmp/kaffe-0.8.3/kaffe'
> make: *** [all] Error 1
> ramky:/tmp/kaffe-0.8.3$ uname -a
> Linux ramky 2.0.0 #2 Fri Jan 24 16:31:58 GMT+0500 1997 i586

As far as I can tell, this is because LIBRARYHANDLE is not getting
defined in slib.h, so maybe something is wrong with the Makefile,
generated by configure.

It's interesting that kaffe compiles cleanly under linux-pmac
(modulo the patches that been posted); however, the VM often
dies when compiling.  What is strange about this is that often
a recompile will fix things, which leads me to believe that there
is perhaps a memory leak somewhere, though I haven't rules out
the possibility of general linux-pmac (2.1.24 kernel) instability.
Oh, also, the linux-pmac kaffe is compiled using static libs.  Still
can't get biss-awt going; get a null pointer on call to Thread.sleep().

Fred Dushin
Syracuse, NY

More information about the kaffe mailing list