[Bug #1059] cannot make socket.so


#1

Bug #1059: cannot make socket.so
http://redmine.ruby-lang.org/issues/show/1059

e$B5/I<<Te(B: Kazuhiro NISHIYAMA
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$B%+%F%4%je(B: ext
Reproducible Version: trunk

libsocks4e$B$rF~$l$F$$$F!"%S%k%I;~$K4D6-JQ?t$Ke(BSOCKS_SERVER=localhoste$B$N$h$&$K@_Dj$7$F$$$k$He(B
SOCKSSockete$B$,=PMh$k$h$&$J$N$G!"$H$j$"$($:@_Dj$7$F$$$?$N$G$9$,!"$=$N$h$&$J4D6-$Ge(B
e$B%3%s%Q%$%k$,DL$i$J$/$J$C$F$$$k$h$&$G$9!#e(B

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


#2

In article removed_email_address@domain.invalid,
Kazuhiro NISHIYAMA removed_email_address@domain.invalid writes:

libsocks4e$B$rF~$l$F$$$F!"%S%k%I;~$K4D6-JQ?t$Ke(BSOCKS_SERVER=localhoste$B$N$h$&$K@_Dj$7$F$$$k$He(B
SOCKSSockete$B$,=PMh$k$h$&$J$N$G!"$H$j$"$($:@_Dj$7$F$$$?$N$G$9$,!"$=$N$h$&$J4D6-$Ge(B
e$B%3%s%Q%$%k$,DL$i$J$/$J$C$F$$$k$h$&$G$9!#e(B

e$BBP=h$7$F$_$^$7$?!#e(B


#3

e$B%A%1%C%He(B #1059 e$B$,99?7$5$l$^$7$?!#e(B (by Akira T.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

Applied in changeset r21804.

http://redmine.ruby-lang.org/issues/show/1059