From: Kazuhiro NISHIYAMA Date: 2009-01-27T13:39:17+09:00 Subject: [ruby-dev:37834] [Bug #1059] cannot make socket.so Bug #1059: cannot make socket.so http://redmine.ruby-lang.org/issues/show/1059 起票者: Kazuhiro NISHIYAMA ステータス: Open, 優先度: Normal カテゴリ: ext Reproducible Version: trunk libsocks4を入れていて、ビルド時に環境変数にSOCKS_SERVER=localhostのように設定していると SOCKSSocketが出来るようなので、とりあえず設定していたのですが、そのような環境で コンパイルが通らなくなっているようです。 compiling socket make[1]: Entering directory `/home/kazu/build/ruby/trunk/ruby/ext/socket' ccache gcc -I. -I../../.ext/include/i686-linux -I/home/kazu/wc/ruby/trunk/include -I/home/kazu/wc/ruby/trunk/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -fPIC -DRUBY_DEBUG_ENV -O2 -g -Wall -Wformat=2 -Wundef -Wno-parentheses -fPIC -o init.o -c /home/kazu/wc/ruby/trunk/ext/socket/init.c /home/kazu/wc/ruby/trunk/ext/socket/init.c: In function 'ruby_connect': /home/kazu/wc/ruby/trunk/ext/socket/init.c:352: error: 'socks_connect_blocking' undeclared (first use in this function) /home/kazu/wc/ruby/trunk/ext/socket/init.c:352: error: (Each undeclared identifier is reported only once /home/kazu/wc/ruby/trunk/ext/socket/init.c:352: error: for each function it appears in.) make[1]: *** [init.o] Error 1 make[1]: Leaving directory `/home/kazu/build/ruby/trunk/ruby/ext/socket' make: *** [exts] Error 1 ---------------------------------------- http://redmine.ruby-lang.org