[Mono-dev] Issues when building mono 2.8 on windows

Jérôme De Cuyper jerome.decuyper at gmail.com
Tue Nov 30 13:12:31 EST 2010


Hi everyone,

I'm trying to build mono on windows and I'm running into win32 compiling
issues when firing the make command.

My configuration:

Window Vista Pro
Cygwin with packages:
automake 1.11
bison 2.4.2-1
gcc-core: C compiler (3.4.4)
gcc-g++: C++ compiler (3.4.4)
gdb: GNU debugger (6.8-2)
getttext (version 0.17-11 was already included)
intltool 0.41.1-1
libiconv  1.13.1-1
libiconv2 (version 1.13.1-1 was already included)
libtool 2.4-1
pkg-config 0.23b-10
libintl-2 0.12.1-3 (this is because make requires cygintl-2.dll)
make v3.80 (was manually added later to the bin dir)
mono source from git

'autogen.sh' runs fine but 'make' generates a bunch of errors and stops the
build. The first error inside the log is:

*proflog.c:30:19: dlfcn.h: No such file or directory*

Then:

*../../mono/io-layer/handles.h:17: error: conflicting types for
'CloseHandle'*
*/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1308:
error: previous declaration of 'CloseHandle' was here*

All following errors are very similar which means, I suppose, I have
something wrong or duplicated with the win32 library.

Is there something I can do to understand more clearly what is going wrong?
I know I can also try to build mono using VS2005 but for now I would prefer
to have it build without it (I read the README.vsnet file).

Thank you for your help.

Jérôme De Cuyper
http://www.jdecuyper.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20101130/5f8c762f/attachment.html 


More information about the Mono-devel-list mailing list