Problem building kaffe under linux 2.0.29

Robert J. Brown rj at eli.elilabs.com
Mon Apr 13 08:55:49 PDT 1998


I ftp-ed kaffe-0.9.2.tar.gz and kaffe-0.9.2-package-javasoft.com.tgz
and untarred them into kaffe-0.9.2/ and did:

  $ ./configure
  $ make

but it failed to build, complaining about:


    gcc -g -O2  -I. -I. -I./../../config -I../../config -I../../include -I./../../include -DTRANSLATOR -I./jit -DKVER=\"0.92\" -c -fPIC external.c
    external.c:68: parse error before `LIBRARYHANDLE'
    external.c:68: warning: no semicolon at end of struct or union
    external.c:71: parse error before `}'
    external.c:71: warning: data definition has no type or storage class
    external.c: In function `loadNativeLibrary':
    external.c:159: request for member `desc' in something not a structure or union
    external.c:162: request for member `name' in something not a structure or union
    external.c:163: request for member `ref' in something not a structure or union
    external.c:171: request for member `desc' in something not a structure or union
    external.c:173: request for member `desc' in something not a structure or union
    external.c:178: request for member `ref' in something not a structure or union
    external.c:179: request for member `name' in something not a structure or union
    external.c:180: request for member `name' in something not a structure or union
    make[2]: *** [external.o] Error 1
    make[2]: Leaving directory `/home/rj/java/kaffe/kaffe-0.9.2/kaffe/kaffevm'
    make[1]: *** [all] Error 1
    make[1]: Leaving directory `/home/rj/java/kaffe/kaffe-0.9.2/kaffe'
    make: *** [all] Error 1

I then tried make distclean and re-configured for just the
interpreter, and not using shared libraries, but it failed complaining 
about -llib-native or something like that.  Are there mandatory
patches I must install for this thing to build, or is my Linux too
old, my shared libraries being out of sync with what kaffe expects, or 
what?

I would appreciate any help.  Thanks!

-- 
--------  "And there came a writing to him from Elijah"  [2Ch 21:12]  --------
Robert Jay Brown III rj at eli.elilabs.com  http://www.elilabs.com 1 847 705-0424
Elijah Laboratories Inc.;  37 South Greenwood Avenue;  Palatine, IL 60067-6328
-----  M o d e l i n g   t h e   M e t h o d s   o f   t h e   M i n d  ------


More information about the kaffe mailing list