On 4/18/05, Erik Dahlstrand <[EMAIL PROTECTED]> wrote: > Hi! Are you talking about xsp or mono now? Is there a version 1.1.17 of xsp? > Or do you mean the 1.1.7 version of mono?
Er, yes. I was referring to mono 1.1.7,not 1.1.17. Sorry for the confusion. > When trying to compile mono from the svn version I'm not getting far until: > collection.c:59: error: `PTHREAD_STACK_MIN' undeclared (first use in this > function) Feh. For FreeBSD it's too small, and for NetBSD it doesn't exist. Try this small patch to mono/io-layer/collection.c and see if it helps. Index: mono/io-layer/collection.c =================================================================== --- mono/io-layer/collection.c (revision 43191) +++ mono/io-layer/collection.c (working copy) @@ -53,7 +53,7 @@ g_assert (ret == 0); #ifdef HAVE_PTHREAD_ATTR_SETSTACKSIZE -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__NetBSD__) ret = pthread_attr_setstacksize (&attr, 65536); #else ret = pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN); Bill _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list