I'm following the Mac OS X write up and ran into a problem. First, I think we're running different shells. I'm not sure how to change which shells you run - I'm running C Shell. I think I got around all the shell problems. But I'm getting this during make:
daemon.c: In function `fd_activity': daemon.c:1152: `socklen_t' undeclared (first use in this function) daemon.c:1152: (Each undeclared identifier is reported only once daemon.c:1152: for each function it appears in.) daemon.c:1152: parse error before "addrlen" daemon.c:1154: `addrlen' undeclared (first use in this function) make[3]: *** [daemon.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I've tried building against the CVS tree since about mid-last-week and the official latest release. Same story.
Thanks for any help as always.
This patch should fix it:
diff -uNr mono-0.30/mono/io-layer/daemon.c mono-0.30-new/mono/io-layer/daemon.c
--- mono-0.30/mono/io-layer/daemon.c Mon Dec 15 14:10:14 2003
+++ mono-0.30-new/mono/io-layer/daemon.c Thu Feb 5 09:57:17 2004
@@ -32,6 +32,7 @@
#include <mono/io-layer/daemon-messages.h>
#include <mono/io-layer/timefuncs-private.h>
#include <mono/io-layer/daemon-private.h>
+#include <mono/io-layer/socket-wrappers.h>
#undef DEBUG
-- Benjamin Reed, a.k.a. RangerRick [EMAIL PROTECTED] / http://ranger.befunk.com/
diff -uNr mono-0.30/mono/io-layer/daemon.c mono-0.30-new/mono/io-layer/daemon.c --- mono-0.30/mono/io-layer/daemon.c Mon Dec 15 14:10:14 2003 +++ mono-0.30-new/mono/io-layer/daemon.c Thu Feb 5 09:57:17 2004 @@ -32,6 +32,7 @@ #include <mono/io-layer/daemon-messages.h> #include <mono/io-layer/timefuncs-private.h> #include <mono/io-layer/daemon-private.h> +#include <mono/io-layer/socket-wrappers.h> #undef DEBUG
