[Mono-dev] Win32 build errors (recent change)

Rob Wilkens robwilkens at gmail.com
Fri Jun 15 23:15:01 UTC 2012


I found one error seems to be that HAVE_SYS_TIME_H (or something spelled
similarly) is not being defined in cygwin in the root configure script,
even though if i look in /usr/include/sys there is a time.h file

If i look at the config.log in eglib, for example though, which is
different than the root one, the SYS_TIME_H thing is defined.

I'm going to try to trace this one down myself, but if someone wants to
chime in who knows more about configure scripts let me know.

-Rob

On 06/15/2012 06:18 PM, Matthias D. wrote:
> Hi Jonathan,
>
> I could be wrong but what I basically did was to disable the "warning
> as error" thing.
> This enables you to build the thing (at least I was able to build it)...
> I did mention this because Rob wanted to build mono for windows and it
> should be possible with the patch.
>
> This is in no sense a solution to the problem (this is why i called it
> a temporary patch) and should not be pushed,
> sorry when it did sound like that.
>
> Note though: the other patches that are included should be pushed as
> they fix very basic errors (thats why I made them extra)
>
> For reference:
> https://docs.google.com/document/d/1rtkBYdPlRvnWQsFHetIAQqTNNzPu8_iP8maoQUl3zRE/edit
>
> Hope this helps to clarify things.
> Have a nice weekend,
> Matthias
>
>
> On Fri, Jun 15, 2012 at 11:47 PM, Rob Wilkens <robwilkens at gmail.com
> <mailto:robwilkens at gmail.com>> wrote:
>
>     Jonathan,
>
>     I would love to help with this, on some level, but i would have to
>     submit patches via a patchfile rather than github because of the
>     way my git fork is currently set up....  i'm not entirely sure of
>     the patch creation process other than 'diff -urp' i think to
>     create them, then patch -p1 (or similar) to apply them.
>
>     Is there anything you'd like help with here?  Should i hunt down
>     header files so that we have functions with declarations rather
>     than without, or add declarations to header files (existing or
>     new) based on actual function parameters?  I would probably focus
>     on the ones that prevent compile rather than dealing with every
>     possible warning.
>
>     Also, my weekend's are rarely completely free - I'm usually more
>     available during the week (tomorrow we're planning a walk in NYC,
>     and the next day will probably spend most of day at sister's
>     house)..  If i started on it, tonight would probably be spent
>     downloading from github and starting on a compile, i doubt i'd get
>     that far.
>
>     -Rob
>
>
>     On 06/15/2012 05:32 PM, Jonathan Chambers wrote:
>>     Matthias,
>>
>>     I see patches that you submitted, but I don't think they address
>>     the issue here which is warnings for functions without
>>     declarations. If you submitted patches for this, please provide a
>>     link.
>>
>>     Thanks,
>>     Jonathan
>>
>>     On Mon, Jun 11, 2012 at 11:57 PM, Matthias Dittrich
>>     <matthi.d at googlemail.com <mailto:matthi.d at googlemail.com>> wrote:
>>
>>         Hey,
>>
>>         I did report that and I also included a (temporary) patch for
>>         this (and possibly other)  issue, to make it build successfully.
>>         See one of my previous emails (I cant include a link or
>>         attachment right now as I'm not at home).
>>
>>         Matthias
>>         ------------------------------------------------------------------------
>>         Von: Robert Wilkens
>>         Gesendet: 12.06.2012 05:49
>>         An: Jonathan Chambers
>>         Cc: mono-devel-list at lists.ximian.com
>>         <mailto:mono-devel-list at lists.ximian.com>
>>         Betreff: Re: [Mono-dev] Win32 build errors (recent change)
>>
>>         Awesome, just was hoping it wasn't my end. 
>>
>>         -Rob
>>
>>         On Jun 11, 2012, at 11:44 PM, Jonathan Chambers wrote:
>>
>>>         Certain warning have been made into errors as the warnings
>>>         are not safe on 64-bit builds. I am looking into fixing the
>>>         build now.
>>>
>>>         Thanks,
>>>         Jonathan
>>>
>>>         On Mon, Jun 11, 2012 at 9:23 PM, Rob Wilkens
>>>         <robwilkens at gmail.com <mailto:robwilkens at gmail.com>> wrote:
>>>
>>>             In my local copy of mono (robwilkens/mono on github) I
>>>             can build in cygwin just fine...
>>>
>>>             In the real mono/mono, i get the following error:
>>>
>>>             In file included from ../../eglib/src/glib.h:7,
>>>                             from socket-io.c:20:
>>>             /usr/i686-pc-mingw32/sys-root/mingw/include/stdio.h:536:
>>>             warning: no previous prototype for 'fopen64'
>>>             /usr/i686-pc-mingw32/sys-root/mingw/include/stdio.h:548:
>>>             warning: no previous prototype for 'ftello64'
>>>             socket-io.c: In function
>>>             `ves_icall_System_Net_Sockets_Socket_Available_internal':
>>>             socket-io.c:835: warning: passing arg 3 of `ioctlsocket'
>>>             from incompatible pointer type
>>>             socket-io.c: In function
>>>             `ves_icall_System_Net_Sockets_Socket_Poll_internal':
>>>             socket-io.c:1278: error: implicit declaration of
>>>             function `time'
>>>             .etc..
>>>
>>>             Has there been recent build changes to Win32 building?
>>>
>>>             -Rob
>>>             _______________________________________________
>>>             Mono-devel-list mailing list
>>>             Mono-devel-list at lists.ximian.com
>>>             <mailto:Mono-devel-list at lists.ximian.com>
>>>             http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>
>>>
>>
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120615/74ca54ee/attachment.html>


More information about the Mono-devel-list mailing list