[Mono-dev] Workaround for build failure on Linux

Robert Jordan robertj at gmx.net
Wed Mar 3 11:23:03 EST 2010

On 03.03.2010 16:12, cpMon wrote:
> Here's a compile error from 2.6.1 and your latest svn tree:
> CC	io.lo
> In file included from ../../mono/io-layer/wapi.h:28,
>                   from io.c:32:
> ../../mono/io-layer/sockets.h:85: error: conflicting types for ‘close’
> /usr/include/unistd.h:350: note: previous declaration of ‘close’ was here

Hmm, this error does not match any existing code. Neither 2-6 nor
trunk redefines close(). At sockets.h:85 there is only closesocket(),
and it sits there since years.


More information about the Mono-devel-list mailing list