[Mono-devel-list] mono on cygwin compilation errors
Zoltan Varga
vargaz at gmail.com
Thu Feb 24 14:07:52 EST 2005
Hi,
You have broken glib headers which #define ftruncate to g_win32_ftruncate.
The mono configure script has a test for this, I wonder why it doens't
complained
in your case. The solution is to remove the '#define ftruncate' line from
gwin32.h.
Zoltan
On Thu, 24 Feb 2005 14:57:31 -0300, Rogerio Pereira
<rogerio.araujo at gmail.com> wrote:
> Hi guys,
>
> I'm have some problems while compiling mono under cygwin with gcc 3.3
>
> /tmp/mono-1.1.4/mono/metadata
>
> in file included from rawbuffer.c: 14
>
> /usr/i686-pc-mingw32/include/unistd.h:23: error: conflicting types for
> 'g_win32_ftruncate'
> /usr/include/glib-2.0/glib/gwin32.h:76: error: previous declaration of
> ''g_win32_ftruncate'
>
> Please, somebody can help me?
>
> Rogério
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
More information about the Mono-devel-list
mailing list