sockets.h probably needs to #include config.h which will define socklen_t for systems that don't already have it.
Jeff On Wed, 2002-08-21 at 12:52, Simon Cozens wrote: > Miguel de Icaza: > > Could someone with MacOS X try to compile the Mono runtime from CVS? > > No joy here: > > In file included from ../../mono/io-layer/wapi.h:26, > from atomic.c:15: > ../../mono/io-layer/sockets.h:86: parse error before "socklen_t" > ../../mono/io-layer/sockets.h:88: parse error before "socklen_t" > ../../mono/io-layer/sockets.h:90: parse error before "socklen_t" > ../../mono/io-layer/sockets.h:92: parse error before "socklen_t" > ../../mono/io-layer/sockets.h:94: parse error before "socklen_t" > ../../mono/io-layer/sockets.h:96: parse error before "socklen_t" > ../../mono/io-layer/sockets.h:101: parse error before "socklen_t" > ../../mono/io-layer/sockets.h:106: parse error before "socklen_t" > ../../mono/io-layer/sockets.h:108: parse error before "socklen_t" > atomic.c:26:51: warning: __VA_ARGS__ can only appear in the expansion of a C99 >variadic macro > atomic.c: In function `spin_init': > atomic.c:26: `__VA_ARGS__' undeclared (first use in this function) > atomic.c:26: (Each undeclared identifier is reported only once > atomic.c:26: for each function it appears in.) > > -- > fga is frequently given answers... the best are "Date::Calc", "use a hash", > and "yes, it's in CPAN" or Data::Dumper or mySQL or "check your permissions" > or NO Fmh THAT'S WRONG or "You can't. crypt is one-way" or "yes, i'm single" > or "I think that's a faq." or substr! or "use split" or "man perlre" - #perl > > _______________________________________________ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list -- Jeffrey Stedfast Evolution Hacker - Ximian, Inc. [EMAIL PROTECTED] - www.ximian.com _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
