From: ts Date: 2003-09-01T01:27:52+09:00 Subject: Re: errors compiling Ruby under Solaris >>>>> "K" == Kurt M Dresner writes: K> gcc -fPIC -Dsocklen_t=int -I. -g -O2 -I. -I/stage/public/solaris/ruby K> -I/stage/public/solaris/ruby -I/stage/public/solaris/ruby/ext/socket K> -DHAVE_NETINET_TCP_H -DHAVE_NETINET_UDP_H -DHAVE_SENDMSG K> -DHAVE_INET_NTOP -DHAVE_INET_PTON -DHAVE_GETSERVBYPORT K> -DHAVE_ARPA_INET_H -DHAVE_ARPA_NAMESER_H -DHAVE_RESOLV_H -DHAVE_SYS_UN_H K> -DHAVE_SYS_UIO_H -DHAVE_SOCKET -DHAVE_GETHOSTNAME K> -Dss_family=__ss_family -Dss_len=__ss_len -c socket.c What is strange is that you don't have the flag -DHAVE_SOCKADDR_STORAGE this explain the error messages. Have you build ruby from a fresh source (i.e. the direct result of `tar zxf') ? Guy Decoux