[Mono-devel-list] Build error on OSX

Bob Koss koss at objectmentor.com
Sun Nov 2 04:22:28 EST 2003


Does anyone actually have a working installation of Mono on OS X?


On 11/1/03 2:47 PM, "Steve Mentzer" <steve at mudflapsoftware.com> wrote:

> 
> Prior versions of the OS/X dev tools failed to declare socklen_t. Of
> course, the panther/xcode 7b85 release corrects this oversight, and as
> the mono build scripts accounted for it, it now causes an error.
> 
> basically, you will find the following lines in mono/io-layer/sockets.h
> 
> #ifdef __APPLE__
> typedef unsigned int socklen_t;
> #endif
> 
> make it look like this
> 
> #ifdef __APPLE__
> //typedef unsigned int socklen_t;
> #endif
> 
> Of course, the latest daily snapshot (10/30) failed to build
> interpreter for me due to conflicting _locale_charset symbols during
> link, but that is a different story...
> 
> 
> On Nov 1, 2003, at 8:23 AM, Mike Flippin wrote:
> 
>> In file included from ../../mono/io-layer/wapi.h:26,
>>                 from atomic.c:15:
>> ../../mono/io-layer/sockets.h:27: error: conflicting types for
>> `socklen_t'
>> /usr/include/sys/socket.h:79: error: previous declaration of
>> `socklen_t'
>> make[3]: *** [atomic.lo] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> 
>> That's from the latest CVS source code from anoncvs. I'm using Panther
>> with the XCode developer package (includes GCC 3.3). I also recall
>> having this problem on Jaguar with the last two releases of GCC for
>> OSX.
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>> 
> 
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

-- 
Robert Koss, Ph.D.     | Training, Mentoring, Contract Development
Senior Consultant      | Object Oriented Design, C++, Java
www.objectmentor.com   | Extreme Programming





More information about the Mono-devel-list mailing list