First off, I did try the method listed in the other Cygwin Pennmush forum, but no luck :( - I receive this (huge) list of errors (for bsd.c):
bsd.c:15: warning: `FD_SETSIZE' redefined
/usr/include/sys/types.h:173: warning: this is the location of the previous definition
In file included from bsd.c:16:
/usr/include/w32api/winsock.h:78: warning: #warning "fd_set and associated macros have been defined in sys/types. This can cause runtime problems with W32 sockets"
In file included from /usr/include/sys/resource.h:14,
from /usr/include/sys/wait.h:15,
from bsd.c:48:
/usr/include/sys/time.h:47: warning: `timerclear' redefined
/usr/include/w32api/winsock.h:103: warning: this is the location of the previous definition
/usr/include/sys/time.h:51: warning: `timercmp' redefined
/usr/include/w32api/winsock.h:102: warning: this is the location of the previous definition
In file included from /usr/include/cygwin/socket.h:23,
from /usr/include/sys/socket.h:15,
from ../hdrs/ident.h:23,
from bsd.c:100:
/usr/include/asm/socket.h:21: warning: `_IO' redefined
/usr/include/w32api/winsock.h:112: warning: this is the location of the previous definition
/usr/include/asm/socket.h:22: warning: `_IOR' redefined
/usr/include/w32api/winsock.h:113: warning: this is the location of the previous definition
/usr/include/asm/socket.h:23: warning: `_IOW' redefined
/usr/include/w32api/winsock.h:114: warning: this is the location of the previous definition
/usr/include/asm/socket.h:27: warning: `FIONBIO' redefined
/usr/include/w32api/winsock.h:115: warning: this is the location of the previous definition
/usr/include/asm/socket.h:47: warning: `SO_DEBUG' redefined
/usr/include/w32api/winsock.h:237: warning: this is the location of the previous definition
/usr/include/asm/socket.h:48: warning: `SO_ACCEPTCONN' redefined
/usr/include/w32api/winsock.h:238: warning: this is the location of the previous definition
/usr/include/asm/socket.h:49: warning: `SO_REUSEADDR' redefined
/usr/include/w32api/winsock.h:239: warning: this is the location of the previous definition
/usr/include/asm/socket.h:50: warning: `SO_KEEPALIVE' redefined
/usr/include/w32api/winsock.h:240: warning: this is the location of the previous definition
/usr/include/asm/socket.h:51: warning: `SO_DONTROUTE' redefined
/usr/include/w32api/winsock.h:241: warning: this is the location of the previous definition
/usr/include/asm/socket.h:52: warning: `SO_BROADCAST' redefined
/usr/include/w32api/winsock.h:242: warning: this is the location of the previous definition
/usr/include/asm/socket.h:53: warning: `SO_USELOOPBACK' redefined
/usr/include/w32api/winsock.h:243: warning: this is the location of the previous definition
/usr/include/asm/socket.h:54: warning: `SO_LINGER' redefined
/usr/include/w32api/winsock.h:244: warning: this is the location of the previous definition
/usr/include/asm/socket.h:55: warning: `SO_OOBINLINE' redefined
/usr/include/w32api/winsock.h:245: warning: this is the location of the previous definition
In file included from /usr/include/sys/socket.h:15,
from ../hdrs/ident.h:23,
from bsd.c:100:
/usr/include/cygwin/socket.h:80: warning: `AF_MAX' redefined
/usr/include/w32api/winsock.h:309: warning: this is the location of the previous definition
/usr/include/cygwin/socket.h:112: warning: `MSG_OOB' redefined
/usr/include/w32api/winsock.h:349: warning: this is the location of the previous definition
/usr/include/cygwin/socket.h:113: warning: `MSG_PEEK' redefined
/usr/include/w32api/winsock.h:350: warning: this is the location of the previous definition
/usr/include/cygwin/socket.h:114: warning: `MSG_DONTROUTE' redefined
/usr/include/w32api/winsock.h:351: warning: this is the location of the previous definition
In file included from /usr/include/sys/resource.h:14,
from /usr/include/sys/wait.h:15,
from bsd.c:48:
/usr/include/sys/time.h:73: warning: `struct timezone' declared inside parameter list
/usr/include/sys/time.h:73: warning: its scope is only this definition or declaration, which is probably not what you want.
/usr/include/sys/time.h:74: warning: `struct timezone' declared inside parameter list
In file included from bsd.c:55:
/usr/include/sys/select.h:29: conflicting types for `select'
/usr/include/w32api/winsock.h:468: previous declaration of `select'
bsd.c:15: warning: `FD_SETSIZE' redefined
/usr/include/sys/types.h:173: warning: this is the location of the previous definition
In file included from bsd.c:16:
/usr/include/w32api/winsock.h:78: warning: #warning "fd_set and associated macros have been defined in sys/types. This can cause runtime problems with W32 sockets"
In file included from /usr/include/sys/resource.h:14,
from /usr/include/sys/wait.h:15,
from bsd.c:48:
/usr/include/sys/time.h:47: warning: `timerclear' redefined
/usr/include/w32api/winsock.h:103: warning: this is the location of the previous definition
/usr/include/sys/time.h:51: warning: `timercmp' redefined
/usr/include/w32api/winsock.h:102: warning: this is the location of the previous definition
In file included from /usr/include/cygwin/socket.h:23,
from /usr/include/sys/socket.h:15,
from ../hdrs/ident.h:23,
from bsd.c:100:
/usr/include/asm/socket.h:21: warning: `_IO' redefined
/usr/include/w32api/winsock.h:112: warning: this is the location of the previous definition
/usr/include/asm/socket.h:22: warning: `_IOR' redefined
/usr/include/w32api/winsock.h:113: warning: this is the location of the previous definition
/usr/include/asm/socket.h:23: warning: `_IOW' redefined
/usr/include/w32api/winsock.h:114: warning: this is the location of the previous definition
/usr/include/asm/socket.h:27: warning: `FIONBIO' redefined
/usr/include/w32api/winsock.h:115: warning: this is the location of the previous definition
/usr/include/asm/socket.h:47: warning: `SO_DEBUG' redefined
/usr/include/w32api/winsock.h:237: warning: this is the location of the previous definition
/usr/include/asm/socket.h:48: warning: `SO_ACCEPTCONN' redefined
/usr/include/w32api/winsock.h:238: warning: this is the location of the previous definition
/usr/include/asm/socket.h:49: warning: `SO_REUSEADDR' redefined
/usr/include/w32api/winsock.h:239: warning: this is the location of the previous definition
/usr/include/asm/socket.h:50: warning: `SO_KEEPALIVE' redefined
/usr/include/w32api/winsock.h:240: warning: this is the location of the previous definition
/usr/include/asm/socket.h:51: warning: `SO_DONTROUTE' redefined
/usr/include/w32api/winsock.h:241: warning: this is the location of the previous definition
/usr/include/asm/socket.h:52: warning: `SO_BROADCAST' redefined
/usr/include/w32api/winsock.h:242: warning: this is the location of the previous definition
/usr/include/asm/socket.h:53: warning: `SO_USELOOPBACK' redefined
/usr/include/w32api/winsock.h:243: warning: this is the location of the previous definition
/usr/include/asm/socket.h:54: warning: `SO_LINGER' redefined
/usr/include/w32api/winsock.h:244: warning: this is the location of the previous definition
/usr/include/asm/socket.h:55: warning: `SO_OOBINLINE' redefined
/usr/include/w32api/winsock.h:245: warning: this is the location of the previous definition
In file included from /usr/include/sys/socket.h:15,
from ../hdrs/ident.h:23,
from bsd.c:100:
/usr/include/cygwin/socket.h:80: warning: `AF_MAX' redefined
/usr/include/w32api/winsock.h:309: warning: this is the location of the previous definition
/usr/include/cygwin/socket.h:112: warning: `MSG_OOB' redefined
/usr/include/w32api/winsock.h:349: warning: this is the location of the previous definition
/usr/include/cygwin/socket.h:113: warning: `MSG_PEEK' redefined
/usr/include/w32api/winsock.h:350: warning: this is the location of the previous definition
/usr/include/cygwin/socket.h:114: warning: `MSG_DONTROUTE' redefined
/usr/include/w32api/winsock.h:351: warning: this is the location of the previous definition
In file included from /usr/include/sys/resource.h:14,
from /usr/include/sys/wait.h:15,
from bsd.c:48:
/usr/include/sys/time.h:73: warning: `struct timezone' declared inside parameter list
/usr/include/sys/time.h:73: warning: its scope is only this definition or declaration, which is probably not what you want.
/usr/include/sys/time.h:74: warning: `struct timezone' declared inside parameter list
In file included from bsd.c:55:
/usr/include/sys/select.h:29: conflicting types for `select'
/usr/include/w32api/winsock.h:468: previous declaration of `select'