From: Hal Fulton Date: 2004-05-03T15:17:49+09:00 Subject: Re: UNIXSocket#send_io and #recv_io nobu.nokada@softhome.net wrote: > Hal Fulton wrote in [ruby-talk:97804]: >>My impression was that my friend was getting the "not implemented" >>message... but I see now that the return is marked "not reached." >> >>Hmm, maybe a compile error on his box? > > > What's his system? Maybe, it has no sendmsg(2) and struct > msghdr, or extconf.rb failed to detect them. There is the > mkmf.log? Apparently this is happening again with 1.8.1 on his box. (Steve doesn't read this list regularly.) Not sure what his system is -- I'll find out. And I don't know how to interpret the log entry (see below). Thanks for any help... Hal have_struct_member: checking for struct msghdr.msg_control... -------------------- yes "gcc -c -I/usr/local/src/ruby-1.8.1 -I/usr/local/src/ruby-1.8.1 -DHAVE_SOCKADDR_STORAGE -DINET6 -g -O2 -DENABLE_IPV6 conftest.c" checked program was: /* begin */ #include #include /*top*/ int main() { return 0; } int s = (char *)&((struct msghdr*)0)->msg_control - (char *)0; /* end */ -------------------- have_struct_member: checking for struct msghdr.msg_accrights... -------------------- no "gcc -c -I/usr/local/src/ruby-1.8.1 -I/usr/local/src/ruby-1.8.1 -DHAVE_SOCKADDR_STORAGE -DINET6 -g -O2 -DENABLE_IPV6 conftest.c" conftest.c:7: structure has no member named `msg_accrights' checked program was: /* begin */ #include #include /*top*/ int main() { return 0; } int s = (char *)&((struct msghdr*)0)->msg_accrights - (char *)0; /* end */