From: "Kurt M. Dresner" Date: 2003-08-31T05:46:00+09:00 Subject: can't make socket.o on solaris 8 Here's what happened: (03:44PM) [kdresner@gonzales /public/solaris/ruby/ext/socket]$ make gcc -fPIC -Dsocklen_t=int -I. -g -O2 -I. -I/stage/public/solaris/ruby -I/stage/public/solaris/ruby -I/stage/public/solaris/ruby/ext/socket -DHAVE_NETINET_TCP_H -DHAVE_NETINET_UDP_H -DHAVE_SENDMSG -DHAVE_INET_NTOP -DHAVE_INET_PTON -DHAVE_GETSERVBYPORT -DHAVE_ARPA_INET_H -DHAVE_ARPA_NAMESER_H -DHAVE_RESOLV_H -DHAVE_SYS_UN_H -DHAVE_SYS_UIO_H -DHAVE_SOCKET -DHAVE_GETHOSTNAME -Dss_family=__ss_family -Dss_len=__ss_len -c socket.c socket.c:96:1: warning: "_SS_MAXSIZE" redefined /usr/include/sys/socket.h:213:1: warning: this is the location of the previous definition socket.c:97:1: warning: "_SS_ALIGNSIZE" redefined /usr/include/sys/socket.h:230:1: warning: this is the location of the previous definition socket.c:98:1: warning: "_SS_PAD1SIZE" redefined /usr/include/sys/socket.h:235:1: warning: this is the location of the previous definition socket.c:99:1: warning: "_SS_PAD2SIZE" redefined /usr/include/sys/socket.h:236:1: warning: this is the location of the previous definition socket.c:102: redefinition of `struct sockaddr_storage' *** Error code 1 make: Fatal error: Command failed for target `socket.o' It seems that socket is the only thing holding up making Ruby. I actually need it too, since I want to use net/smtp. Any ideas how I might go about correcting these errors? -Kurt