[Mono-list] problems building mono on linux ...
Nick Drochak
ndrochak@gol.com
Wed, 5 Sep 2001 22:25:23 +0900
I was about to ask the same question since the same was happening to me on
cygwin.
I copied the provided opcode.def to the cil directory and the make finished
without errors, finally. Whew! There were a quite a few warnings however,
and monodis failed with a stackdump on the one exe I tested it on. Here is
a listing of all the warnings I received during make (I grepped for
'warning'). Can anyone help with these?
--------------------------------------------------------------
image.c: In function `load_class_names':
image.c:333: warning: passing arg 2 of `g_hash_table_insert' discards
qualifiers from pointer target type
image.c:335: warning: passing arg 2 of `g_hash_table_insert' discards
qualifiers from pointer target type
image.c: In function `do_mono_image_open':
image.c:413: warning: assignment discards qualifiers from pointer target
type
metadata.c: In function `mono_metadata_parse_type':
metadata.c:1046: warning: passing arg 1 of `g_hash_table_new' from
incompatible pointer type
metadata.c:1046: warning: passing arg 2 of `g_hash_table_new' from
incompatible pointer type
metadata.c: At top level:
metadata.c:1289: warning: `hex_dump' defined but not used
icall.c:210: warning: no previous prototype for `mono_init_icall'
pedump.c:23: warning: `hex_dump' defined but not used
libtool: link: warning: library `/usr/local/lib/libglib.la' was moved.
libtool: link: warning: library `/usr/local/lib/libglib.la' was moved.
libtool: link: warning: library `/usr/local/lib/libglib.la' was moved.
get.c:502: warning: no previous prototype for `dis_stringify_object'
libtool: link: warning: library `/usr/local/lib/libglib.la' was moved.
libtool: link: warning: library `/usr/local/lib/libglib.la' was moved.
libtool: link: warning: library `/usr/local/lib/libglib.la' was moved.
interp.c: In function `ves_pinvoke_method':
interp.c:593: warning: assignment from incompatible pointer type
interp.c: At top level:
interp.c:296: warning: `get_exception_security' defined but not used
interp.c:306: warning: `get_exception_arithmetic' defined but not used
interp.c:316: warning: `get_exception_overflow' defined but not used
libtool: link: warning: library `/usr/local/lib/libglib.la' was moved.
libtool: link: warning: library `/usr/local/lib/libglib.la' was moved.
libtool: link: warning: library `/usr/local/lib/libglib.la' was moved.
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
shared libraries
--------------------------------------------------------------
> -----Original Message-----
> From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com]On
> Behalf Of Paolo Molaro
> Sent: Wednesday, September 05, 2001 9:42 PM
> To: mono-list@ximian.com
> Subject: Re: [Mono-list] problems building mono on linux ...
>
>
> On 09/05/01 Stefan Maierhofer wrote:
> > If I try to build mono on linux it fails because all the CEE*
> are undefined
> > (see below). Where are these CEE* defined?
>
> mono/cil/opcode.def should contain them (it should be distributed with
> the tarball release, but not with the snapshots).
> You need perl+XML::Parser or an XSL processor to create it.
> It's attached to this mail, if you can't build it for
> whatever reason.
>
> lupus
>
> --
> -----------------------------------------------------------------
> lupus@debian.org debian/rules
> lupus@ximian.com Monkeys do it better
>