[Mono-list] Error in building Mono with mono-build-w32.sh

Kenneth Benson sdhmis@sheratondover.com
Wed, 5 Feb 2003 10:55:55 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2CD2F.115D4F40
Content-Type: text/plain;
	charset="iso-8859-1"

Agreed. Although this setup was working up until a week ago when I left for
a vacation.

-----Original Message-----
From: Andrew Stopford [mailto:Astopford@beta.dabs.com]
Sent: Wednesday, February 05, 2003 10:01 AM
To: mono-list@lists.ximian.com
Subject: RE: [Mono-list] Error in building Mono with mono-build-w32.sh

Just a thought but based on all the emails concerning building Mono
using cygwin on the Windows platform it seems that a write up of the
process and known issues/work arounds would help greatly in building
Mono on the Windows platform. Do any of you folks agree?

Andrew

-----Original Message-----
From: Kenneth Benson [mailto:sdhmis@sheratondover.com]
Sent: 05 February 2003 14:56
To: mono-list@lists.ximian.com
Subject: [Mono-list] Error in building Mono with mono-build-w32.sh

I'm using a W2K pc with cygwin loaded and up to date as of 1 Jan.
Ok...I just updated from cvs and tried to make mcs and mono. Mcs
compiled fine but I got this error in using mono-build-w32.sh....

/bin/sh ../../libtool --mode=compile gcc -mno-cygwin -DHAVE_CONFIG_H -I.
-I. -I../.. -I/home/mis/ins
tall/include/glib-2.0 -I/home/mis/install/lib/glib-2.0/include
-I/home/mis/install/include/glib-2.
0 -I/home/mis/install/lib/glib-2.0/include   -I../..    -I../../mono
-DMONO_ASSEMBLIES=\""D:/cygw
in/home/mis/install/lib"\"
-DMONO_CFG_DIR=\""D:/cygwin/home/mis/install/etc"\"
-I/home/mis/install/
include -DGC_WIN32_THREADS -DWIN32_THREADS  -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declara
tions -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wno-cast-qual -Wca
st-align -Wwrite-strings -c appdomain.c
rm -f .libs/appdomain.lo
gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../..
-I/home/mis/install/include/glib-2.0 -I/home/mis/ins
tall/lib/glib-2.0/include -I/home/mis/install/include/glib-2.0
-I/home/mis/install/lib/glib-2.0/incl
ude -I../.. -I../../mono
-DMONO_ASSEMBLIES=\"D:/cygwin/home/mis/install/lib\"
-DMONO_CFG_DIR=\"D:/cy
gwin/home/mis/install/etc\" -I/home/mis/install/include
-DGC_WIN32_THREADS -DWIN32_THREADS -g -Wall
-Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnest
ed-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings
-Wp,-MD,.deps/appdomain.pp -c
 appdomain.c                                  -DDLL_EXPORT -DPIC -o
.libs/appdomain.lo
In file included from ../../mono/os/gc_wrapper.h:6,
                 from appdomain.c:15:
/home/mis/install/include/gc/gc.h:205: warning: function declaration
isn't a prototype
/home/mis/install/include/gc/gc.h:840: warning: function declaration
isn't a prototype
/home/mis/install/include/gc/gc.h:898: warning: function declaration
isn't a prototype
In file included from ../../mono/metadata/image.h:4,
                 from ../../mono/metadata/metadata.h:9,
                 from ../../mono/metadata/class.h:4,
                 from ../../mono/metadata/object.h:4,
                 from appdomain.c:17:
/usr/include/mingw/stdio.h:225: warning: no previous prototype for
`vsnprintf'
/usr/include/mingw/stdio.h:380: warning: no previous prototype for
`vsnwprintf'
appdomain.c: In function `mono_domain_try_type_resolve':
appdomain.c:109: warning: implicit declaration of function
`look_for_method_by_name'
appdomain.c:109: warning: assignment makes pointer from integer without
a cast
appdomain.c: In function `ves_icall_System_AppDomain_createDomain':
appdomain.c:240: warning: unused variable `domain'
appdomain.c: At top level:
appdomain.c:309: warning: `look_for_method_by_name' was used with no
prototype before its definition

appdomain.c:309: warning: `look_for_method_by_name' was declared
implicitly `extern' and later `stat
ic'
appdomain.c:109: warning: previous declaration of
`look_for_method_by_name'
appdomain.c:309: warning: type mismatch with previous implicit
declaration
appdomain.c:109: warning: previous implicit declaration of
`look_for_method_by_name'
appdomain.c:309: warning: `look_for_method_by_name' was previously
implicitly declared to return `in
t'
appdomain.c: In function `ves_icall_System_AppDomain_InternalUnload':
appdomain.c:744: parse error before `*'
appdomain.c:745: `domain' undeclared (first use in this function)
appdomain.c:745: (Each undeclared identifier is reported only once
appdomain.c:745: for each function it appears in.)
appdomain.c: In function `ves_icall_System_AppDomain_ExecuteAssembly':
appdomain.c:783: warning: assignment from incompatible pointer type
appdomain.c: At top level:
appdomain.c:792: warning: no previous prototype for
`ves_icall_System_AppDomain_GetIDFromDomain'
make[3]: *** [appdomain.lo] Error 1
make[3]: Leaving directory `/home/mis/mono/mono/metadata'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mis/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mis/mono'
make: *** [all-recursive-am] Error 2

mis@W9800893B ~

I'm not a really good programmer in C# yet and after one look at
appdomain.c, I decided to report in and not try to figure it out. :p
I hope Dietmar or Patrik can figure this out soon. I need my mono fix
*grin*.

Ken Benson
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

------_=_NextPart_001_01C2CD2F.115D4F40
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Mono-list] Error in building Mono with mono-build-w32.sh</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Agreed. Although this setup was working up until a week ago when I left for a vacation.</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Andrew Stopford [<A HREF="mailto:Astopford@beta.dabs.com">mailto:Astopford@beta.dabs.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Wednesday, February 05, 2003 10:01 AM</FONT>
<BR><FONT SIZE=2>To: mono-list@lists.ximian.com</FONT>
<BR><FONT SIZE=2>Subject: RE: [Mono-list] Error in building Mono with mono-build-w32.sh</FONT>
</P>

<P><FONT SIZE=2>Just a thought but based on all the emails concerning building Mono</FONT>
<BR><FONT SIZE=2>using cygwin on the Windows platform it seems that a write up of the</FONT>
<BR><FONT SIZE=2>process and known issues/work arounds would help greatly in building</FONT>
<BR><FONT SIZE=2>Mono on the Windows platform. Do any of you folks agree?</FONT>
</P>

<P><FONT SIZE=2>Andrew</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Kenneth Benson [<A HREF="mailto:sdhmis@sheratondover.com">mailto:sdhmis@sheratondover.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: 05 February 2003 14:56</FONT>
<BR><FONT SIZE=2>To: mono-list@lists.ximian.com</FONT>
<BR><FONT SIZE=2>Subject: [Mono-list] Error in building Mono with mono-build-w32.sh</FONT>
</P>

<P><FONT SIZE=2>I'm using a W2K pc with cygwin loaded and up to date as of 1 Jan.</FONT>
<BR><FONT SIZE=2>Ok...I just updated from cvs and tried to make mcs and mono. Mcs</FONT>
<BR><FONT SIZE=2>compiled fine but I got this error in using mono-build-w32.sh....</FONT>
</P>

<P><FONT SIZE=2>/bin/sh ../../libtool --mode=compile gcc -mno-cygwin -DHAVE_CONFIG_H -I.</FONT>
<BR><FONT SIZE=2>-I. -I../.. -I/home/mis/ins</FONT>
<BR><FONT SIZE=2>tall/include/glib-2.0 -I/home/mis/install/lib/glib-2.0/include</FONT>
<BR><FONT SIZE=2>-I/home/mis/install/include/glib-2.</FONT>
<BR><FONT SIZE=2>0 -I/home/mis/install/lib/glib-2.0/include&nbsp;&nbsp; -I../..&nbsp;&nbsp;&nbsp; -I../../mono</FONT>
<BR><FONT SIZE=2>-DMONO_ASSEMBLIES=\&quot;&quot;D:/cygw</FONT>
<BR><FONT SIZE=2>in/home/mis/install/lib&quot;\&quot;</FONT>
<BR><FONT SIZE=2>-DMONO_CFG_DIR=\&quot;&quot;D:/cygwin/home/mis/install/etc&quot;\&quot;</FONT>
<BR><FONT SIZE=2>-I/home/mis/install/</FONT>
<BR><FONT SIZE=2>include -DGC_WIN32_THREADS -DWIN32_THREADS&nbsp; -g -Wall -Wunused</FONT>
<BR><FONT SIZE=2>-Wmissing-prototypes -Wmissing-declara</FONT>
<BR><FONT SIZE=2>tions -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wnested-externs</FONT>
<BR><FONT SIZE=2>-Wpointer-arith -Wno-cast-qual -Wca</FONT>
<BR><FONT SIZE=2>st-align -Wwrite-strings -c appdomain.c</FONT>
<BR><FONT SIZE=2>rm -f .libs/appdomain.lo</FONT>
<BR><FONT SIZE=2>gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../..</FONT>
<BR><FONT SIZE=2>-I/home/mis/install/include/glib-2.0 -I/home/mis/ins</FONT>
<BR><FONT SIZE=2>tall/lib/glib-2.0/include -I/home/mis/install/include/glib-2.0</FONT>
<BR><FONT SIZE=2>-I/home/mis/install/lib/glib-2.0/incl</FONT>
<BR><FONT SIZE=2>ude -I../.. -I../../mono</FONT>
<BR><FONT SIZE=2>-DMONO_ASSEMBLIES=\&quot;D:/cygwin/home/mis/install/lib\&quot;</FONT>
<BR><FONT SIZE=2>-DMONO_CFG_DIR=\&quot;D:/cy</FONT>
<BR><FONT SIZE=2>gwin/home/mis/install/etc\&quot; -I/home/mis/install/include</FONT>
<BR><FONT SIZE=2>-DGC_WIN32_THREADS -DWIN32_THREADS -g -Wall</FONT>
<BR><FONT SIZE=2>-Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes</FONT>
<BR><FONT SIZE=2>-Wmissing-prototypes -Wnest</FONT>
<BR><FONT SIZE=2>ed-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings</FONT>
<BR><FONT SIZE=2>-Wp,-MD,.deps/appdomain.pp -c</FONT>
<BR><FONT SIZE=2>&nbsp;appdomain.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -DDLL_EXPORT -DPIC -o</FONT>
<BR><FONT SIZE=2>.libs/appdomain.lo</FONT>
<BR><FONT SIZE=2>In file included from ../../mono/os/gc_wrapper.h:6,</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from appdomain.c:15:</FONT>
<BR><FONT SIZE=2>/home/mis/install/include/gc/gc.h:205: warning: function declaration</FONT>
<BR><FONT SIZE=2>isn't a prototype</FONT>
<BR><FONT SIZE=2>/home/mis/install/include/gc/gc.h:840: warning: function declaration</FONT>
<BR><FONT SIZE=2>isn't a prototype</FONT>
<BR><FONT SIZE=2>/home/mis/install/include/gc/gc.h:898: warning: function declaration</FONT>
<BR><FONT SIZE=2>isn't a prototype</FONT>
<BR><FONT SIZE=2>In file included from ../../mono/metadata/image.h:4,</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ../../mono/metadata/metadata.h:9,</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ../../mono/metadata/class.h:4,</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ../../mono/metadata/object.h:4,</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from appdomain.c:17:</FONT>
<BR><FONT SIZE=2>/usr/include/mingw/stdio.h:225: warning: no previous prototype for</FONT>
<BR><FONT SIZE=2>`vsnprintf'</FONT>
<BR><FONT SIZE=2>/usr/include/mingw/stdio.h:380: warning: no previous prototype for</FONT>
<BR><FONT SIZE=2>`vsnwprintf'</FONT>
<BR><FONT SIZE=2>appdomain.c: In function `mono_domain_try_type_resolve':</FONT>
<BR><FONT SIZE=2>appdomain.c:109: warning: implicit declaration of function</FONT>
<BR><FONT SIZE=2>`look_for_method_by_name'</FONT>
<BR><FONT SIZE=2>appdomain.c:109: warning: assignment makes pointer from integer without</FONT>
<BR><FONT SIZE=2>a cast</FONT>
<BR><FONT SIZE=2>appdomain.c: In function `ves_icall_System_AppDomain_createDomain':</FONT>
<BR><FONT SIZE=2>appdomain.c:240: warning: unused variable `domain'</FONT>
<BR><FONT SIZE=2>appdomain.c: At top level:</FONT>
<BR><FONT SIZE=2>appdomain.c:309: warning: `look_for_method_by_name' was used with no</FONT>
<BR><FONT SIZE=2>prototype before its definition</FONT>
</P>

<P><FONT SIZE=2>appdomain.c:309: warning: `look_for_method_by_name' was declared</FONT>
<BR><FONT SIZE=2>implicitly `extern' and later `stat</FONT>
<BR><FONT SIZE=2>ic'</FONT>
<BR><FONT SIZE=2>appdomain.c:109: warning: previous declaration of</FONT>
<BR><FONT SIZE=2>`look_for_method_by_name'</FONT>
<BR><FONT SIZE=2>appdomain.c:309: warning: type mismatch with previous implicit</FONT>
<BR><FONT SIZE=2>declaration</FONT>
<BR><FONT SIZE=2>appdomain.c:109: warning: previous implicit declaration of</FONT>
<BR><FONT SIZE=2>`look_for_method_by_name'</FONT>
<BR><FONT SIZE=2>appdomain.c:309: warning: `look_for_method_by_name' was previously</FONT>
<BR><FONT SIZE=2>implicitly declared to return `in</FONT>
<BR><FONT SIZE=2>t'</FONT>
<BR><FONT SIZE=2>appdomain.c: In function `ves_icall_System_AppDomain_InternalUnload':</FONT>
<BR><FONT SIZE=2>appdomain.c:744: parse error before `*'</FONT>
<BR><FONT SIZE=2>appdomain.c:745: `domain' undeclared (first use in this function)</FONT>
<BR><FONT SIZE=2>appdomain.c:745: (Each undeclared identifier is reported only once</FONT>
<BR><FONT SIZE=2>appdomain.c:745: for each function it appears in.)</FONT>
<BR><FONT SIZE=2>appdomain.c: In function `ves_icall_System_AppDomain_ExecuteAssembly':</FONT>
<BR><FONT SIZE=2>appdomain.c:783: warning: assignment from incompatible pointer type</FONT>
<BR><FONT SIZE=2>appdomain.c: At top level:</FONT>
<BR><FONT SIZE=2>appdomain.c:792: warning: no previous prototype for</FONT>
<BR><FONT SIZE=2>`ves_icall_System_AppDomain_GetIDFromDomain'</FONT>
<BR><FONT SIZE=2>make[3]: *** [appdomain.lo] Error 1</FONT>
<BR><FONT SIZE=2>make[3]: Leaving directory `/home/mis/mono/mono/metadata'</FONT>
<BR><FONT SIZE=2>make[2]: *** [all-recursive] Error 1</FONT>
<BR><FONT SIZE=2>make[2]: Leaving directory `/home/mis/mono/mono'</FONT>
<BR><FONT SIZE=2>make[1]: *** [all-recursive] Error 1</FONT>
<BR><FONT SIZE=2>make[1]: Leaving directory `/home/mis/mono'</FONT>
<BR><FONT SIZE=2>make: *** [all-recursive-am] Error 2</FONT>
</P>

<P><FONT SIZE=2>mis@W9800893B ~</FONT>
</P>

<P><FONT SIZE=2>I'm not a really good programmer in C# yet and after one look at</FONT>
<BR><FONT SIZE=2>appdomain.c, I decided to report in and not try to figure it out. :p</FONT>
<BR><FONT SIZE=2>I hope Dietmar or Patrik can figure this out soon. I need my mono fix</FONT>
<BR><FONT SIZE=2>*grin*.</FONT>
</P>

<P><FONT SIZE=2>Ken Benson</FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Mono-list maillist&nbsp; -&nbsp; Mono-list@lists.ximian.com</FONT>
<BR><FONT SIZE=2><A HREF="http://lists.ximian.com/mailman/listinfo/mono-list" TARGET="_blank">http://lists.ximian.com/mailman/listinfo/mono-list</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2CD2F.115D4F40--