<div dir="ltr">Hi,<div><br></div><div>  This is a bug in the mingw header files, two header define the same type (PEXECUTION_STATE). This happens on some systems, and doesn't happen on others. The only workaround is to fix the header files by hand, i.e. rename one of the definitions to PEXECUTION_STATE2 or something.</div>
<div><br></div><div>              Zoltan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 19, 2013 at 7:20 AM, mobin.seven <span dir="ltr"><<a href="mailto:mobin.seven@live.com" target="_blank">mobin.seven@live.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have done ALL above BUT still getting this:<br>
"socket-io.c:2353:2: warning: pointer targets in passing argument 7 of<br>
'WSAIoctl'<br>
 differ in signedness [-Wpointer-sign]<br>
In file included from ../../mono/io-layer/io-layer.h:24:0,<br>
                 from ./process.h:17,<br>
                 from<br>
/usr/i686-pc-mingw32/sys-root/mingw/include/unistd.h:37,<br>
                 from socket-io.c:24:<br>
/usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:1178:32: note:<br>
expected '<br>
LPDWORD' but argument is of type 'glong *'<br>
  CC       libmonoruntime_la-process.lo<br>
<div class="im">In file included from process.c:37:0:<br>
/usr/i686-pc-mingw32/sys-root/mingw/include/ddk/ntapi.h:49:15: error:<br>
conflictin<br>
g types for 'PEXECUTION_STATE'<br>
In file included from<br>
/usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0<br>
,<br>
                 from<br>
/usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,<br>
<br>
                 from ../../mono/io-layer/io-layer.h:24,<br>
</div><div class="im">                 from ../../mono/metadata/domain-internals.h:15,<br>
                 from ../../mono/metadata/metadata-internals.h:8,<br>
                 from ../../mono/metadata/class-internals.h:10,<br>
                 from ../../mono/metadata/object-internals.h:8,<br>
                 from process.c:16:<br>
</div><div class="im">/usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1973:33: note:<br>
previous de<br>
claration of 'PEXECUTION_STATE' was here<br>
process.c: In function<br>
'ves_icall_System_Diagnostics_Process_GetProcesses_intern<br>
</div><div class="im">al':<br>
process.c:912:3: warning: passing argument 1 of 'EnumProcesses' from<br>
incompatibl<br>
e pointer type [enabled by default]<br>
In file included from ../../mono/io-layer/io-layer.h:34:0,<br>
                 from ../../mono/metadata/domain-internals.h:15,<br>
                 from ../../mono/metadata/metadata-internals.h:8,<br>
                 from ../../mono/metadata/class-internals.h:10,<br>
                 from ../../mono/metadata/object-internals.h:8,<br>
                 from process.c:16:<br>
/usr/i686-pc-mingw32/sys-root/mingw/include/psapi.h:108:13: note: expected<br>
'DWOR<br>
D *' but argument is of type 'guint32 *'<br>
</div>Makefile:2168: recipe for target 'libmonoruntime_la-process.lo' failed<br>
<div class="im">make[3]: *** [libmonoruntime_la-process.lo] Error 1<br>
</div>make[3]: Leaving directory '/usr/src/Mono-3.2.3/mono/metadata'<br>
Makefile:380: recipe for target 'all-recursive' failed<br>
<div class="im">make[2]: *** [all-recursive] Error 1<br>
</div>make[2]: Leaving directory '/usr/src/Mono-3.2.3/mono'<br>
Makefile:460: recipe for target 'all-recursive' failed<br>
<div class="im">make[1]: *** [all-recursive] Error 1<br>
</div>make[1]: Leaving directory '/usr/src/Mono-3.2.3'<br>
Makefile:387: recipe for target 'all' failed<br>
<div class="im">make: *** [all] Error 2"<br>
<br>
</div>Is your problem solved? what should I do?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://mono.1490590.n4.nabble.com/mono-from-git-will-not-build-on-cygwin-32-tp4660749p4661343.html" target="_blank">http://mono.1490590.n4.nabble.com/mono-from-git-will-not-build-on-cygwin-32-tp4660749p4661343.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the Mono - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Mono-devel-list mailing list<br>
<a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
</div></div></blockquote></div><br></div>