From: nobu.nakada@... Date: 2003-02-09T12:30:32+09:00 Subject: [ruby-dev:19543] Re: cannot find -lruby-static (PR#384) なかだです。 At Sun, 9 Feb 2003 12:01:52 +0900, Tanaka Akira wrote: > (zlib では /tmp/z/lib/ruby/1.8/i686-linux/intern.h:150: warning: `HAVE_RB_DEFINE_ALLOC_FUNC' redefined > というのが出るけどこれはまた別の話なのだろう...) zlib/extconf.rbでもhave_func("rb_define_alloc_func")してるので、 かち合ってるんでしょう。 Index: intern.h =================================================================== RCS file: /cvs/ruby/src/ruby/intern.h,v retrieving revision 1.112 diff -u -2 -p -r1.112 intern.h --- intern.h 7 Feb 2003 18:37:03 -0000 1.112 +++ intern.h 9 Feb 2003 03:26:18 -0000 @@ -148,5 +148,5 @@ void rb_remove_method _((VALUE, const ch void rb_disable_super _((VALUE, const char*)); void rb_enable_super _((VALUE, const char*)); -#define HAVE_RB_DEFINE_ALLOC_FUNC +#define HAVE_RB_DEFINE_ALLOC_FUNC 1 void rb_define_alloc_func _((VALUE, VALUE (*)(VALUE))); void rb_undef_alloc_func _((VALUE)); -- --- 僕の前にBugはない。 --- 僕の後ろにBugはできる。 中田 伸悦