From: Wai-Sun Chia Date: 2003-06-04T11:29:21+09:00 Subject: ruby-1.8.0 (cvs) build failed on HP-UX 11.11 Version: Ruby 1.8.0 20030522 OS: HP-UX smms B.11.11 U 9000/800 1116404695 unlimited-user license Looks like it's having problem building the socket extension. I tried to use as much GNU tools as possible... ruby-1.8.0-20030522 gcc-3.2.3 autoconf-2.57 automake-1.7.4 This is HP-UX 11.11 on a HP9000/800 four-way server with 2GB RAM. Any ideas? gmake[1]: Entering directory `/home/waisun/ruby/ext/socket' gcc -fPIC -Dsocklen_t=int -I. -g -O2 -I. -I/home/waisun/ruby -I/home/waisun/ruby -I/home/waisun/ruby/ext/socket -DHAVE_NETINET_TCP_H -DHAVE_NETINET_UDP_H -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 In file included from socket.c:31: /usr/include/sys/socket.h:484: syntax error before "sendfile" /usr/include/sys/socket.h:485: syntax error before "bsize_t" /usr/include/sys/socket.h:486: syntax error before "sendpath" /usr/include/sys/socket.h:487: syntax error before "bsize_t" /usr/include/sys/socket.h:501: syntax error before "__sendfile64" /usr/include/sys/socket.h:501: syntax error before "bsize_t" /usr/include/sys/socket.h:502: syntax error before "__sendpath64" /usr/include/sys/socket.h:502: syntax error before "bsize_t" /usr/include/sys/socket.h:504: syntax error before "sendfile" /usr/include/sys/socket.h: In function `sendfile': /usr/include/sys/socket.h:504: syntax error before "bsize_t" /usr/include/sys/socket.h: At top level: /usr/include/sys/socket.h:505: syntax error before "sendpath" /usr/include/sys/socket.h: In function `sendpath': /usr/include/sys/socket.h:505: syntax error before "bsize_t" socket.c:96:1: warning: "_SS_MAXSIZE" redefined In file included from socket.c:31: /usr/include/sys/socket.h:249:1: warning: this is the location of the previous definition socket.c:98:1: warning: "_SS_PAD1SIZE" redefined /usr/include/sys/socket.h:258:1: warning: this is the location of the previous definition socket.c:99:1: warning: "_SS_PAD2SIZE" redefined /usr/include/sys/socket.h:261:1: warning: this is the location of the previous definition socket.c: At top level: socket.c:102: redefinition of `struct sockaddr_storage' gmake[1]: *** [socket.o] Error 1 gmake[1]: Leaving directory `/home/waisun/ruby/ext/socket' gmake: *** [all] Error 1 -- a8888b. d888888b. 8P"YP"Y88 Wai-Sun "Squidster" Chia 8|o||o|88 Sr. Technical Consultant (RHCE) 8' .88 OpenSource Development 8`._.' Y8. Consulting & Integration d/ `8b. HP Services Malaysia dP . Y8b. d8:' " `::88b d8" 'Y88b :8P ' :888 8a. : _a88P ._/"Yaa_: .| 88P| \ YP" `| 8P `. / \.___.d| .' `--..__)8888P`._.' "Fear the Penguins!"