[Mono-list] genmdesc hangs on cygwin

Toan Ly naotyl@yahoo.ca
Tue, 5 Oct 2004 21:14:18 -0400 (EDT)


--0-547796115-1097025258=:93415
Content-Type: text/plain; charset=us-ascii

Hello,
 
I have the same problem in building mono as describe below. Does anyone know to how to fix this?
 
I m using cygwin and all the packages required to build mono are installed by cygwinsetup. 
 
I did try to build mono with the required packages specified on http://www.mono-project.com/contributing/compiling.html but I got this error
In file included from rawbuffer.c:14: 
/usr/i686-pc-mingw32/include/unistd.h:23: error: conflicting types for `g_win32_ 
ftruncate' 
/cygdrive/d/mono/sources/install/include/glib-2.0/glib/gwin32.h:72: error: previ 
ous declaration of `g_win32_ftruncate' 
make[3]: *** [rawbuffer.lo] Error 1 
make[3]: Leaving directory `/cygdrive/d/mono/sources/mono/mono/metadata' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/cygdrive/d/mono/sources/mono/mono' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/cygdrive/d/mono/sources/mono' 
make: *** [all] Error 2 
 
I also tried to build with msys 1.0 but it  snot succeeded. Its so much things to setup before get it into build. 
 
Thanks for helping
 
 
_______________________________________________
> -----Original Message-----
> From: Joe Ante [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 03, 2004 7:35 PM
> To: MONO
> Subject: [Mono-list] Mono windows genmdesc crash
> 
> Hi,
> 
> I am trying to build mono on windows at the moment.
> After two days we have gotten at least somewhere in the middle of the make
> process.
> But it currently hangs in genmdesc.exe.
> Either it crashes or it just loops with 100% CPU usage.
> 
> "./genmdesc ./cpu-pentium.md cpu-pentium.h pentium_desc"
> gdb bt gives me the folling stacktrace for the place where it loops
> infinetely:
> 
> #0 0x77e965d3 in Kernel32!GetPrivateProfileStructW ()
> #1 0x1003e84 in getprogname () from /usr/bin/cygwin1.dll
> #2 0x00+af0d0 in ?? ()
> 
> Or:
> #0  0x77ea31c7 in Kenral32!GetAtomNameA ()
> 
> Any ideas, how to not make genmdesc crash?
> (Another person mailed me that he also crashes inside genmdesc)
> 
> Joachim Ante
> 
> _______________________________________________
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________




---------------------------------
Post your free ad now! Yahoo! Canada Personals

--0-547796115-1097025258=:93415
Content-Type: text/html; charset=us-ascii

<DIV>Hello,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have the same problem in building mono as describe below.&nbsp;Does anyone know to how to fix this?</DIV>
<DIV>&nbsp;</DIV>
<DIV>I m using cygwin and all the packages required to build mono&nbsp;are installed by&nbsp;cygwinsetup. </DIV>
<DIV>&nbsp;</DIV>
<DIV>I did try to build mono with the required packages specified on <A href="http://www.mono-project.com/contributing/compiling.html">http://www.mono-project.com/contributing/compiling.html</A>&nbsp;but I got this error</DIV>
<DIV>
<TABLE class=windowbg cellSpacing=0 cellPadding=4 width="100%" bgColor=#afc6db>
<TBODY>
<TR>
<TD class=windowbg vAlign=top width="80%" bgColor=#afc6db height="100%"><FONT size=2>In file included from rawbuffer.c:14: <BR>/usr/i686-pc-mingw32/include/unistd.h:23: error: conflicting types for `g_win32_ <BR>ftruncate' <BR>/cygdrive/d/mono/sources/install/include/glib-2.0/glib/gwin32.h:72: error: previ <BR>ous declaration of `g_win32_ftruncate' <BR>make[3]: *** [rawbuffer.lo] Error 1 <BR>make[3]: Leaving directory `/cygdrive/d/mono/sources/mono/mono/metadata' <BR>make[2]: *** [all-recursive] Error 1 <BR>make[2]: Leaving directory `/cygdrive/d/mono/sources/mono/mono' <BR>make[1]: *** [all-recursive] Error 1 <BR>make[1]: Leaving directory `/cygdrive/d/mono/sources/mono' <BR>make: *** [all] Error 2 </FONT></TD></TR>
<TR>
<TD class=windowbg vAlign=bottom bgColor=#afc6db>
<TABLE width="100%" border=0>
<TBODY>
<TR>
<TD align=left><FONT size=1></FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>
<DIV>&nbsp;</DIV>
<DIV>I also tried to build with msys 1.0 but it&nbsp; snot succeeded. Its so much things to setup before get it into build. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for helping</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>_______________________________________________<BR>&gt; -----Original Message-----<BR>&gt; From: Joe Ante [<A href="mailto:[EMAIL">mailto:[EMAIL</A> PROTECTED]<BR>&gt; Sent: Tuesday, August 03, 2004 7:35 PM<BR>&gt; To: MONO<BR>&gt; Subject: [Mono-list] Mono windows genmdesc crash<BR>&gt; <BR>&gt; Hi,<BR>&gt; <BR>&gt; I am trying to build mono on windows at the moment.<BR>&gt; After two days we have gotten at least somewhere in the middle of the make<BR>&gt; process.<BR>&gt; But it currently hangs in genmdesc.exe.<BR>&gt; Either it crashes or it just loops with 100% CPU usage.<BR>&gt; <BR>&gt; "./genmdesc ./cpu-pentium.md cpu-pentium.h pentium_desc"<BR>&gt; gdb bt gives me the folling stacktrace for the place where it loops<BR>&gt; infinetely:<BR>&gt; <BR>&gt; #0 0x77e965d3 in Kernel32!GetPrivateProfileStructW ()<BR>&gt; #1 0x1003e84 in getprogname () from /usr/bin/cygwin1.dll<BR>&gt; #2 0x00+af0d0 in ?? ()<BR>&gt; <BR>&gt; Or:<BR>&gt; #0&nbsp; 0x77ea31c7 in Kenral32!GetAtomNameA
 ()<BR>&gt; <BR>&gt; Any ideas, how to not make genmdesc crash?<BR>&gt; (Another person mailed me that he also crashes inside genmdesc)<BR>&gt; <BR>&gt; Joachim Ante<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; Mono-list maillist&nbsp; -&nbsp; [EMAIL PROTECTED]<BR>&gt; <A href="http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.ximian.com/mailman/listinfo/mono-list</A><BR>_______________________________________________<BR></DIV><p><br><hr size=1>Post your free ad now! <a href="http://ca.personals.yahoo.com/"><b>Yahoo! Canada Personals</b></a><br>
--0-547796115-1097025258=:93415--