Bug #1059
closedcannot make socket.so
Description
=begin
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
=end
Updated by akr (Akira Tanaka) about 15 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r21804.
=end