Compilation error on OpenBSD

Archie Cobbs archie at
Fri Aug 25 18:46:16 PDT 2000

Oliver Cope writes:
> I've been trying for a while to get kaffe installed on my OpenBSD 2.7 machine, but without success.  I've downloaded version 1.0.6 and run the standard ./configure && make, only to come up againt the following error:
> gcc -g -O2 -Wall -Wstrict-prototypes -o .libs/Kaffe main.o version.o .libs/KaffeS.o  -lgmp -L/usr/local/lib ../../libraries/clib/math/.libs/libmath.a -lz ../../libraries/clib/zip/.libs/libzip.a ../../libraries/clib/native/.libs/libnative.a -L../kaffevm/.libs -lkaffevm -L../xprof/.libs -lkaffexprof -lm -R/opt/kaffe1.0.6/lib -R/usr/local/lib
> ld: -lkaffevm: no match
> collect2: ld returned 1 exit status
> I don't know why it wants to link with kaffevm -- there are no
  matching files anywhere in the source tree.  Can anyone help me
  out with this?

Note the "-L../kaffevm/.libs -lkaffevm" .. there should be a
libkaffevm built already in the kaffe/kaffevm sudirectory.

If there isn't one then maybe the build failed earlier during
that part.


Archie Cobbs   *   Whistle Communications, Inc.  *

More information about the kaffe mailing list