[Mono-dev] Having trouble compiling the mono interpreter

daaven at delfinity.com daaven at delfinity.com
Sat Sep 9 16:16:08 EDT 2006


Hi Zoltan,

The reason I am interested in the interpreter is that I wanted a simple
simulation reference model (i.e., "interp.c") to be use to design a direct
CIL execution engine implemented in an FPGA. I would then use the rest of
mono to provide a .NET Framework that would run on my FPGA. In my case CIL
is the native instruction set. Could the JIT code be used? Do you know how
much effort would be need to fix the interpreter?

Daaven



-----Original Message-----
From: Zoltan Varga [mailto:vargaz at gmail.com] 
Sent: Saturday, September 09, 2006 3:05 PM
To: daaven at earthlink.net
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Having trouble compiling the mono interpreter

    Hi,

  The interpreter is no longer supported and it is currently broken.
Try the JIT if
possible.

    Zoltan

On 9/9/06, daaven at delfinity.com <daaven at delfinity.com> wrote:
>
>
>
>
> Hi,
>
>
>
> I am a mono newbie. I am trying to compile the mono with the interpreter
as
> the execution engine. The following explains my problem. I would
appreciate
> any kind of help.
>
> Thanks,
>
> Daaven
>
>
>
> Cygwin> ls
>
> build
>
> do-install-zip-pkgs
>
> libgdiplus-1.1.17.tar.gz
>
> mono-1.1.17.tar.gz
>
> utils.py
>
> zip
>
>
>
> Cygwin> ls zip
>
> gettext-0.14.5.zip
>
> gettext-dev-0.14.5.zip
>
> glib-2.6.6.zip
>
> glib-dev-2.6.6.zip
>
> libiconv-1.9.1.bin.woe32.zip
>
> pkgconfig-0.15.zip
>
>
>
> Cygwin> cat build
>
> #!/bin/bash.exe
>
>
>
> set -x
>
>
>
> export PWD=`pwd`
>
>
>
> for i in `ls *.gz`
>
> do
>
>             tar xzvf $i
>
> done
>
>
>
> ./do-install-zip-pkgs /usr/mono /usr/mono $PWD/zip/*.zip
>
>
>
> . /usr/mono/env.sh
>
>
>
> (
>
> cd mono-1.1.17;
>
> ./configure --without-jit --with-interp;
>
> make &> mak.rpt
>
> )
>
>
>
> Cygwin> ./build
>
> Cygwin> tail/ mono-1.1.17/mak.rpt
>
> In file included from ../../mono/os/gc_wrapper.h:37,
>
>                  from interp.c:27:
>
> ../../libgc/include/gc.h:1008: warning: function declaration isn't a
> prototype
>
> interp.c:58:26: mono/os/util.h: No such file or directory
>
> interp.c:76:1: warning: "isnan" redefined
>
> In file included from interp.c:24:
>
>
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/math.
h:380:1:
> warning: this is the location of the previous definition
>
> interp.c: In function `ves_real_abort':
>
> interp.c:238: error: dereferencing pointer to incomplete type
>
> interp.c:240: error: dereferencing pointer to incomplete type
>
> interp.c: In function `get_virtual_method':
>
> interp.c:305: error: structure has no member named `interface_offsets'
>
> interp.c: In function `interp_walk_stack':
>
> interp.c:690: error: dereferencing pointer to incomplete type
>
> interp.c: In function `dump_frame':
>
> interp.c:944: warning: implicit declaration of function
> `mono_debug_source_location_from_il_offset'
>
> interp.c:944: warning: nested extern declaration of
> `mono_debug_source_location_from_il_offset'
>
> interp.c:944: warning: assignment makes pointer from integer without a
cast
>
> interp.c: In function `do_icall':
>
> interp.c:1243: warning: function declaration isn't a prototype
>
> interp.c: In function `ves_exec_method_with_context':
>
> interp.c:1434: warning: unsigned int format, DWORD arg (arg 2)
>
> interp.c:1473: warning: unsigned int format, DWORD arg (arg 2)
>
> interp.c:2667: error: structure has no member named `interface_offsets'
>
> interp.c:2691: error: structure has no member named `interface_offsets'
>
> interp.c:3957: error: dereferencing pointer to incomplete type
>
> interp.c:4004: error: dereferencing pointer to incomplete type
>
> interp.c:4037: warning: unsigned int format, DWORD arg (arg 2)
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>





More information about the Mono-devel-list mailing list