[Mono-list] Cygwin Build Problems

Ahmad Baitalmal ahmad@bitbuilder.com
19 Feb 2002 13:00:16 -0800


--=-tCg7Tn3nitYWvoZWoUJ3
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

That's not what I'm having problems with, I got .Net SDK installed.
mcs builds fine, my classes build fine, mcs compiles my .cs files fine.

Tis the runtime, I need to get mint going so I can work on my new
classes.

Here is the latest error:
-----------------------------------------------------------------------------------------------------------------
In file included from /usr/include/unistd.h:6,
                 from icall.c:15:
/usr/include/sys/unistd.h:259: warning: `MAXPATHLEN' redefined
/usr/local/include/glib-2.0/glib/gwin32.h:40: warning: this is the
location of the previous definiti
on
In file included from /usr/include/unistd.h:6,
                 from icall.c:15:
/usr/include/sys/unistd.h:80: parse error before `4096'
/usr/include/sys/unistd.h:138: conflicting types for `g_win32_ftruncate'
/usr/local/include/glib-2.0/glib/gwin32.h:72: previous declaration of
`g_win32_ftruncate'
In file included from icall.c:24:
../../mono/metadata/socket-io.h:134: parse error before
`ves_icall_System_Net_Sockets_Socket_Socket_
internal'
.
.
.

-----------------------------------------------------------------------------------------------------------------

Would the runtime change if the class library changed?
I guess what I'm asking, could someone post the runtime binaries, or do
I need to recompile the runtime also if the class library changes?

Ahmad


On Tue, 2002-02-19 at 10:34, Piers Haken wrote:

    FYI: you don't need MSVC to build win32 stuff.
     
    You can either download the .NET Framework SDK itself (131Mb):
    http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.as
    p?url=/msdn-files/027/000/976/msdncompositedoc.xml
    <http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.a
    sp?url=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true>
    &frame=true (watch for linebreaks)
     
    or the "Build Environment" from the Platform SDK (33Mb):
    http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
    <http://www.microsoft.com/msdownload/platformsdk/sdkupdate/> 
     
    maybe this should be in the FAQ.
     
    Piers.
    



--=-tCg7Tn3nitYWvoZWoUJ3
Content-Type: text/html; charset=utf-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.0.1.99">
</HEAD>
<BODY>
That's not what I'm having problems with, I got .Net SDK installed.
<BR>
mcs builds fine, my classes build fine, mcs compiles my .cs files fine.
<BR>

<BR>
Tis the runtime, I need to get mint going so I can work on my new classes.
<BR>

<BR>
Here is the latest error:
<BR>
-----------------------------------------------------------------------------------------------------------------
<BR>
In file included from /usr/include/unistd.h:6,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from icall.c:15:
<BR>
/usr/include/sys/unistd.h:259: warning: `MAXPATHLEN' redefined
<BR>
/usr/local/include/glib-2.0/glib/gwin32.h:40: warning: this is the location of the previous definiti
<BR>
on
<BR>
In file included from /usr/include/unistd.h:6,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from icall.c:15:
<BR>
/usr/include/sys/unistd.h:80: parse error before `4096'
<BR>
/usr/include/sys/unistd.h:138: conflicting types for `g_win32_ftruncate'
<BR>
/usr/local/include/glib-2.0/glib/gwin32.h:72: previous declaration of `g_win32_ftruncate'
<BR>
In file included from icall.c:24:
<BR>
../../mono/metadata/socket-io.h:134: parse error before `ves_icall_System_Net_Sockets_Socket_Socket_
<BR>
internal'
<BR>
.
<BR>
.
<BR>
.
<BR>

<BR>
-----------------------------------------------------------------------------------------------------------------
<BR>

<BR>
Would the runtime change if the class library changed?
<BR>
I guess what I'm asking, could someone post the runtime binaries, or do I need to recompile the runtime also if the class library changes?
<BR>

<BR>
Ahmad
<BR>

<BR>

<BR>
On Tue, 2002-02-19 at 10:34, Piers Haken wrote:
    <BLOCKQUOTE>
<PRE><FONT COLOR="#737373"><FONT SIZE="3"><I>FYI: you don't need MSVC to build win32 stuff.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>You can either download the .NET Framework SDK itself (131Mb):</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.as</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>p?url=/msdn-files/027/000/976/msdncompositedoc.xml</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&lt;http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.a</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>sp?url=/msdn-files/027/000/976/msdncompositedoc.xml&amp;frame=true&gt;</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&amp;frame=true (watch for linebreaks)</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>or the &quot;Build Environment&quot; from the Platform SDK (33Mb):</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>http://www.microsoft.com/msdownload/platformsdk/sdkupdate/</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&lt;http://www.microsoft.com/msdownload/platformsdk/sdkupdate/&gt; </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>maybe this should be in the FAQ.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Piers.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I></PRE>
    </BLOCKQUOTE>

</BODY>
</HTML>

--=-tCg7Tn3nitYWvoZWoUJ3--