[Mono-dev] Issue Building on Windows

Zoltan Varga vargaz at gmail.com
Tue Mar 22 10:48:14 EDT 2011


Hi,

  I think this is some kind of cygwin/mingw/gcc bug. If you run:

mono hello.exe; echo X

The X gets printed before the Hello, World, which means the 'mono'
executable doesn't wait for the real .libs/mono.exe executable to finish
before exiting.

.libs/mono.exe hello.exe; echo X

works fine.

                                       Zoltan

On Wed, Mar 9, 2011 at 4:46 AM, Jonathan Chambers <joncham at gmail.com> wrote:

> Hello,
>
> I am doing some work on Windows, but am hitting a recurring problem when
> building via cygwin. The first time I build from a clean git checkout,
> things go fine. However, once I update and try another build I get a series
> of errors similar to:
>
> make[8]: Entering directory
> `/cygdrive/c/Users/Owner/Development/monogit/mono/mcs/tools/resgen'
> MCS     [net_2_0] resgen.exe
> mv resgen.exe ./../../class/lib/net_2_0/resgen.exe
> mv: cannot stat `resgen.exe': No such file or directory
> make[8]: *** [../../class/lib/net_2_0/resgen.exe] Error 1
> make[8]: Leaving directory
> `/cygdrive/c/Users/Owner/Development/monogit/mono/mcs/tools/resgen'
> make[7]: *** [do-all] Error 2
> make[7]: Leaving directory
> `/cygdrive/c/Users/Owner/Development/monogit/mono/mcs/tools/resgen'
> make[6]: *** [all-recursive] Error 1
> make[6]: Leaving directory
> `/cygdrive/c/Users/Owner/Development/monogit/mono/mcs/class'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory
> `/cygdrive/c/Users/Owner/Development/monogit/mono/mcs'
> make[4]: *** [profile-do--net_2_0--all] Error 2
> make[4]: Leaving directory
> `/cygdrive/c/Users/Owner/Development/monogit/mono/mcs'
> make[3]: *** [profiles-do--all] Error 2
> make[3]: Leaving directory
> `/cygdrive/c/Users/Owner/Development/monogit/mono/mcs'
> make[2]: *** [all-local] Error 2
> make[2]: Leaving directory
> `/cygdrive/c/Users/Owner/Development/monogit/mono/runtime'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/cygdrive/c/Users/Owner/Development/monogit/mono'
> make: *** [all] Error 2
>
> resgen.exe does in fact exist
> at /cygdrive/c/Users/Owner/Development/monogit/mono/mcs/tools/resgen
>
> If I run 'make' again, it will get past this error and fail later on with
> similar errors. Any thoughts on what could be causing this?
>
> Thanks,
> Jonathan
>
> _______________________________________________
> Mono-devel-list mailing list
> 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/20110322/ef3c29e0/attachment.html 


More information about the Mono-devel-list mailing list