From: Will Date: 2005-10-21T06:36:59+09:00 Subject: Re: Compiling on AIX Ok, I've managed to get things to compile up to the socket library, where I hit this error: gmake[1]: Entering directory `/tmp/wrbriggs/ruby-1.8.3/ext/socket' cc -g -I. -I../.. -I../../. -I../.././ext/socket -DHAVE_SIN_LEN -DHAVE_SOCKADDR_STORAGE -DHAVE_SA_LEN -DHAVE_NETINET_TCP_H -DHAVE_NETINET_UDP_H -DHAVE_SENDMSG -DHAVE_RECVMSG -DHAVE_ST_MSG_CONTROL -DHAVE_GETNAMEINFO -DHAVE_GETADDRINFO -DHAVE_TYPE_SOCKLEN_T -DHAVE_SYS_UN_H -DHAVE_SYS_UIO_H -DHAVE_SOCKET -DHAVE_GETIPNODEBYNAME -DHAVE_SOCKETPAIR -DHAVE_GETHOSTNAME -Dss_family=__ss_family -Dss_len=__ss_len -c socket.c "../../ruby.h", line 68.1: 1506-224 (I) Incorrect #pragma ignored. "socket.c", line 983.81: 1506-280 (W) Function argument assignment between types "unsigned long*" and "int*" is not allowed. "socket.c", line 1013.85: 1506-280 (W) Function argument assignment between types "unsigned long*" and "int*" is not allowed. "socket.c", line 1415.29: 1506-280 (W) Function argument assignment between types "unsigned long(*)(unsigned long)" and "unsigned long(*)()" is not allowed. /usr/ccs/bin/ld -brtl -eInit_socket -bI:../../ruby.imp -bM:SRE -T512 -H512 -L"../.." -o ../../.ext/powerpc-aix5.1.0.0/socket.so socket.o -ldl -lcrypt -lm -lc ld: 0711-317 ERROR: Undefined symbol: .CMSG_SPACE ld: 0711-317 ERROR: Undefined symbol: .CMSG_LEN ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. I really, really want to start using Ruby for some work-related projects, but without AIX support, I can't. Anyone help AT ALL would be really, really appreciated! Thanks yet again, Will