[#7708] Bug in libsnmp-ruby1.8 — Hadmut Danisch <hadmut@...>

Hi,

8 messages 2006/04/11
[#7709] Re: Bug in libsnmp-ruby1.8 — Eric Hodel <drbrain@...7.net> 2006/04/11

On Apr 11, 2006, at 6:23 AM, Hadmut Danisch wrote:

[#7770] Re: possible defect in array.c — "Brown, Warren" <warrenbrown@...>

> rb_range_beg_len (in range.c) does set beg and len.

13 messages 2006/04/26
[#7771] Re: possible defect in array.c — "Pat Eyler" <rubypate@...> 2006/04/26

On 4/26/06, Brown, Warren <warrenbrown@aquire.com> wrote:

Re: readpartial not working on ARM

From: Joel VanderWerf <vjoel@...>
Date: 2006-04-18 23:16:28 UTC
List: ruby-core #7736
Joel VanderWerf wrote:
> Thank for the suggestion. There is a problem with ext/socket. Here is
> what shows up in mkmf.log:
> 
> --------------------
> 
> have_struct_member: checking for struct msghdr.msg_accrights...
> -------------------- no
> 
> "arm-linux-gcc -c -I../.. -I../../.  -g -O2   conftest.c"
> conftest.c:7: error: structure has no member named `msg_accrights'
> checked program was:
> /* begin */
> 
> #include <sys/types.h>
> #include <sys/socket.h>
> 
> /*top*/
> int main() { return 0; }
> int s = (char *)&((struct msghdr*)0)->msg_accrights - (char *)0;
> /* end */
> 
> --------------------

I notice that this message also appears with 1.8.4 (in both cases, when
cross-compiling for linux-arm). However, for some reason, with 1.9 the
extconf process aborts after printing these lines to mkmf.log. But with
1.8.4, extconf continues, prints more messages to mkmf.log, and
eventually produces a good socket.so. Is there something different about
extmk.rb or mkmf.rb in 1.9 that could be causing this?

-- 
      vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

In This Thread

Prev Next