Hello all, I recently had a hard drive crash on my mac, which required
me to reinstall everything. Oddly enough, I had a running MUCK server
on my mac before it crashed, but now I can't get the code to compile.
I've tried the source available on sourceforge and the web site, but
neither works.
I followed the instructions in config.h for Macs, and these did not
seem to help. I've got Xcode as well, so that shouldn't be the issue.
Here's what it says before giving up during a compile:
p_socket.c:50: error: conflicting types for `socklen_t'
/usr/include/sys/socket.h:108: error: previous declaration of
`socklen_t' was here
p_socket.c: In function `prim_sockcheck':
p_socket.c:700: warning: pointer targets in passing argument 5 of
`getsockopt' differ in signedness
p_socket.c: In function `prim_sockaccept':
p_socket.c:888: warning: pointer targets in passing argument 3 of
`accept' differ in signedness
make: *** [p_socket.o] Error 1
Here are some warnings it spits out while compiling other files:
p_file.c: In function `prim_send_binary':
p_file.c:1325: warning: pointer targets in passing argument 2 of
`notify_descriptor_raw' differ in signedness
disassem.c:124:42: warning: trigraph ??) ignored, use -trigraphs to enable
disassem.c:127:42: warning: trigraph ??) ignored, use -trigraphs to enable
inst.c:263:31: warning: trigraph ??< ignored, use -trigraphs to enable
Any help would be appreciated!