On 10 Dec 2007, at 06:03, Michael Poole wrote: > One early step would be to change line 185 in s_bsd.c (the "error > setting max fd's" line) to something like this: > fprintf(stderr, "error setting max fds to %d: %s\n", limit, > strerror(errno)); > That would at least give the error message, although it wouldn't say > why OS X works differently than every other Unix variant that we have > tested ircu on.
I have commented out the original line and replaced it by your suggestion, which produced the following error: "error setting max fds to -1: Invalid argument". Next, I proceeded to enable debugmode, but trying to compile with -- enable-debug produced a series of os_generic.c errors: gcc -g -O2 -I. -I.. -I../include -c os_generic.c -o os_generic.o os_generic.c: In function 'os_get_rusage': os_generic.c:236: error: 'struct rusage' has no member named 'ru_maxrss' os_generic.c:237: error: 'struct rusage' has no member named 'ru_ixrss' os_generic.c:237: error: 'struct rusage' has no member named 'ru_idrss' os_generic.c:238: error: 'struct rusage' has no member named 'ru_isrss' os_generic.c:242: error: 'struct rusage' has no member named 'ru_nswap' os_generic.c:242: error: 'struct rusage' has no member named 'ru_minflt' os_generic.c:242: error: 'struct rusage' has no member named 'ru_majflt' os_generic.c:245: error: 'struct rusage' has no member named 'ru_inblock' os_generic.c:245: error: 'struct rusage' has no member named 'ru_oublock' os_generic.c:248: error: 'struct rusage' has no member named 'ru_msgrcv' os_generic.c:248: error: 'struct rusage' has no member named 'ru_msgsnd' os_generic.c:252: error: 'struct rusage' has no member named 'ru_nsignals' os_generic.c:252: error: 'struct rusage' has no member named 'ru_nvcsw' os_generic.c:252: error: 'struct rusage' has no member named 'ru_nivcsw' make[1]: *** [os_generic.o] Error 1 Hope this can be of some clarification, unfortunately my knowledge of C and Mac OS X has not yet reached a level where I can figure this out myself. Thanks again! Best regards, Tom _______________________________________________ Coder-com mailing list Coder-com@undernet.org http://undernet.sbg.org/mailman/listinfo/coder-com