[Mono-list] mono-2.6.1 from your vmware kit doesn't compile

cpMon page.cal at gmail.com
Sun Feb 21 08:14:32 EST 2010


I downloaded your latest vmware image and the source for mono-2.6.1.

The compile died with the following error:

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

On investigation, the system defines closesocket as close, but it did not
take into account the casting required.

As a work-around, I simply //'d out the line 85 in mono/io-layer/sockets.h
that declared the closesocket() call.

Cal Page

-- 
View this message in context: http://n4.nabble.com/mono-2-6-1-from-your-vmware-kit-doesn-t-compile-tp1563488p1563488.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list