major FreeBSD 2.1.6 compile trouble
Johnny Lam
lamj at stat.cmu.edu
Thu Sep 4 07:33:42 PDT 1997
I got these same errors compiling under NetBSD. Most of the errors
are easy to fix based on the definition of struct _methods. The only
error I didn't know how to fix was the second one. Apparently,
meth->ins is supposed to store the number of arguments to *meth, but I
didn't know which of the fields actually stored that information based
on just their field names.
Let me know if there's a patch for this.
Thanks,
--
Johnny C. Lam
Department of Statistics lamj at stat.cmu.edu
Carnegie Mellon University http://www.stat.cmu.edu/~lamj/
@>---`---,----
On 4 Sep, Simon Lindgren wrote:
> kaffe-0.9.1 gives me trouble when compiling it on my FreeBSD 2.1.6 system.
>
> when compiling with the interpreter option (no jit) i get this:
> -----------------------------------------------
> gcc -g -O -I. -I. -I./../../config -I../../config -I../../include
> -I./../../include -DINTERPRETER -I./intrp -DKVER=\"0.91\" -c -fPIC
> ./intrp/machine.c
> ./intrp/machine.c: In function `virtualMachine':
> ./intrp/machine.c:141: structure has no member named `exception_table_len'
> ./intrp/machine.c:152: structure has no member named `ins'
> ./intrp/machine.c:178: structure has no member named `code'
> ./intrp/machine.c:182: structure has no member named `codelen'
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> ----------------------------------------------------
>
> and with the jit:
> --------------------------------------------
> gcc -g -O -I. -I. -I./../../config -I../../config -I../../include
> -I./../../include -DTRANSLATOR -I./jit -DKVER=\"0.91\" -c -fPIC support.c
> support.c: In function `do_execute_java_method':
> support.c:80: inconsistent operand constraints in an `asm'
> support.c: In function `do_execute_java_class_method':
> support.c:122: inconsistent operand constraints in an `asm'
> support.c: In function `execute_java_constructor':
> support.c:173: inconsistent operand constraints in an `asm'
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> --------------------------------------------
>
> has anyone encountered this earlier? (do I need a newer version of FreeBSD?)
>
> thank you
>
>
> Simon Lindgren
> biz: lindgren at istudio.no
> priv: simon at lindgren.no
> info: http://lindgren.no/info/
>
More information about the kaffe
mailing list