From: nobuyoshi nakada Date: 2005-08-25T17:01:45+09:00 Subject: [ruby-dev:26880] Re: ext/socket problem on BSD/OS なかだです。 At Thu, 25 Aug 2005 14:27:01 +0900, OHARA Shigeki wrote in [ruby-dev:26878]: > BSD/OS 4.1 (4.2, 4.3.1 も同様) では、 > /usr/include/sys/socket.h で、 > > #define PF_SIP AF_SIP > > とあるにもかかわらず、 > AF_SIP がどこにも #define されていません。 それはBSD/OSのバグのような気もしますが…。 > そのため、 ext/socket を make しようとすると、 > > In file included from socket.c:2823: > constants.h:231: `AF_SIP' undeclared (first use in this function) > constants.h:231: (Each undeclared identifier is reported only once > constants.h:231: for each function it appears in.) > > と言われてしまいます。 have_constを使うのがいいのではないかと思いましたが、[ruby-core:04426]は まだ入れてませんでしたね。 -- --- 僕の前にBugはない。 --- 僕の後ろにBugはできる。 中田 伸悦