[Mono-list] GC error building mono on windows

Gonzalo Paniagua Javier gonzalo@ximian.com
01 Feb 2003 02:10:28 +0100


El vie, 31-01-2003 a las 03:39, Francisco Figueiredo Jr. escribió:
>  --- John Duncan <jddst19@mac.com> escreveu: 
> 
> 
> It seems the problem is in the test for gc.h in the configure script...
> 
> If you edit config.log in the mono dir you will see a message saying what test
> failed. You will see that there is a error saying "GC_WIN32_THREADS is
> redefined" and so, the script says it didn't find the header. 
> 
> I know this is ugly, but I could workaround this problem by commenting the line
> in the gc.h file where it says:
> 
> #if defined(WIN32_THREADS)
> # define GC_WIN32_THREADS    <- this is the line which cause the error.
> #endif
> 
> As the compiler is called with -DWIN32_THREADS and -DGC_WIN32_THREADS I think
> this wouldn't hurt. 

It didn't cause any problem for me (apart from a few warnings). I'm
using gc6.1 include files.

-Gonzalo