[Mono-dev] compilation error in building mono, cygwin

Z W wzeng01 at gmail.com
Mon Jun 13 02:35:02 EDT 2011

Hi All

I ran into a compilation error when building mono in cygwin.

The steps I did are:
1) remove all gcc 4.x stuff
2) run autogen.sh CFLAGS="-g -O0" CXXFLAGS="-g  -O0"
3) make
Then error happened:
"mono-semaphore.c:37: error: storage size of 'ts' isn't known"

The statement for this error in source file is
"TIMESPEC ts, copy;"
And before this location, there is type declaration for TIMESPEC controlled
by HAVE_SEMAPHORE_H, which declared in Config.h

So I think there might be config error, any help?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110612/6030a07c/attachment.html 

More information about the Mono-devel-list mailing list