compiling socket make[1]: Entering directory `/c/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_build/ext/socket' generating constant definitions gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o init.o -c ../../../ruby_1_9/ext/socket/init.c gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o constants.o -c ../../../ruby_1_9/ext/socket/constants.c gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o basicsocket.o -c ../../../ruby_1_9/ext/socket/basicsocket.c gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o socket.o -c ../../../ruby_1_9/ext/socket/socket.c gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o ipsocket.o -c ../../../ruby_1_9/ext/socket/ipsocket.c gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o tcpsocket.o -c ../../../ruby_1_9/ext/socket/tcpsocket.c gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o tcpserver.o -c ../../../ruby_1_9/ext/socket/tcpserver.c gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o sockssocket.o -c ../../../ruby_1_9/ext/socket/sockssocket.c gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o udpsocket.o -c ../../../ruby_1_9/ext/socket/udpsocket.c gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o unixsocket.o -c ../../../ruby_1_9/ext/socket/unixsocket.c gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o unixserver.o -c ../../../ruby_1_9/ext/socket/unixserver.c gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o option.o -c ../../../ruby_1_9/ext/socket/option.c gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o ancdata.o -c ../../../ruby_1_9/ext/socket/ancdata.c gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o raddrinfo.o -c ../../../ruby_1_9/ext/socket/raddrinfo.c gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o getaddrinfo.o -c ../../../ruby_1_9/ext/socket/getaddrinfo.c ../../../ruby_1_9/ext/socket/getaddrinfo.c: In function `get_name': ../../../ruby_1_9/ext/socket/getaddrinfo.c:551: warning: implicit declaration of function `getipnodebyaddr' ../../../ruby_1_9/ext/socket/getaddrinfo.c:551: warning: assignment makes pointer from integer without a cast ../../../ruby_1_9/ext/socket/getaddrinfo.c: In function `get_addr': ../../../ruby_1_9/ext/socket/getaddrinfo.c:595: warning: implicit declaration of function `getipnodebyname' ../../../ruby_1_9/ext/socket/getaddrinfo.c:596: warning: assignment makes pointer from integer without a cast ../../../ruby_1_9/ext/socket/getaddrinfo.c:598: warning: assignment makes pointer from integer without a cast gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -o getnameinfo.o -c ../../../ruby_1_9/ext/socket/getnameinfo.c gcc -shared -s -o ../../.ext/i386-mingw32/socket.so init.o constants.o basicsocket.o socket.o ipsocket.o tcpsocket.o tcpserver.o sockssocket.o udpsocket.o unixsocket.o unixserver.o option.o ancdata.o raddrinfo.o getaddrinfo.o getnameinfo.o -L. -L../.. -L. -Wl,--enable-auto-image-base,--enable-auto-import -lmsvcrt-ruby191 -lws2_32 -lshell32 -lws2_32 getaddrinfo.o: In function `getaddrinfo__compat': C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_build/ext/socket/../../../ruby_1_9/ext/socket/getaddrinfo.c:598: undefined reference to `getipnodebyname' C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_build/ext/socket/../../../ruby_1_9/ext/socket/getaddrinfo.c:667: undefined reference to `freehostent__compat' C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_build/ext/socket/../../../ruby_1_9/ext/socket/getaddrinfo.c:676: undefined reference to `freehostent__compat' C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_build/ext/socket/../../../ruby_1_9/ext/socket/getaddrinfo.c:551: undefined reference to `getipnodebyaddr' C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_build/ext/socket/../../../ruby_1_9/ext/socket/getaddrinfo.c:563: undefined reference to `freehostent__compat' C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_build/ext/socket/../../../ruby_1_9/ext/socket/getaddrinfo.c:572: undefined reference to `freehostent__compat' collect2: ld returned 1 exit status make[1]: *** [../../.ext/i386-mingw32/socket.so] Error 1 make[1]: Leaving directory `/c/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_build/ext/socket' make: *** [mkmain.sh] Error 1