[Ganglia-developers] oops

2004-08-04 Thread Matt Massie
i wish sourceforge didn't log ever email because the last few are going to make me look a bit dim-witted. i just checked the second snapshot that i was so sure was fixed and found it was not. i guess i should stop doing six things at once. focus daniel-san focus. if you grab... http://matt-mass

Re: [Ganglia-developers] 2.6.0 apr test

2004-08-04 Thread Brooks Davis
Still the same error. MD5 (ganglia-apr-2.6.0.tar.gz) = 21fdd980e1a32a845f78574e01917bf6 -- Brooks On Wed, Aug 04, 2004 at 04:35:42PM -0700, Matt Massie wrote: > i should have done a "distcheck" before i uploaded the new snapshot. > my bad. i just uploaded a new tarball that is correct. > > htt

RE: [Ganglia-developers] 2.6.0 apr test

2004-08-04 Thread Adesanya, Adeyemi
Matt, I included my modified mcast.c in this message since it's pretty small. I started off by adding includes but then I realized I was mislead and commented out my additions. The real change is near line 58 where I moved the fprintf(stderr,"AF_INET6\n"); statement which upset the C compiler b

Re: [Ganglia-developers] 2.6.0 apr test

2004-08-04 Thread Matt Massie
i should have done a "distcheck" before i uploaded the new snapshot. my bad. i just uploaded a new tarball that is correct. http://matt-massie.com/ganglia/ganglia-apr-2.6.0.tar.gz also, yemi.. can you send me your "mcast.c"? i'm not clear on what you had to change to get it to work. if brooks

RE: [Ganglia-developers] 2.6.0 apr test success!

2004-08-04 Thread Adesanya, Adeyemi
Matt, I got the test working on Solaris 5.9. gmond outputs: OT A MULTICAST MESSAGE GOT HERE! GOT A MULTICAST MESSAGE GOT HERE! GOT A MULTICAST MESSAGE GOT HERE! GOT A MULTICAST MESSAGE The mcast.c problem is due to the execution statement before the variable definition as I mentione

RE: [Ganglia-developers] 2.6.0 apr test

2004-08-04 Thread Adesanya, Adeyemi
Matt, I don't think my mcast.c compilation problem involves 'mreq' at all! Look at line 58 and you will see that an execution statement appears before a variable definition. [ fprintf(stderr,"AF_INET6\n"); ] Not officially supported in C. I moved this line to the top of the code block all is we

RE: [Ganglia-developers] 2.6.0 apr test

2004-08-04 Thread Adesanya, Adeyemi
Ignore that last message! Yemi > -Original Message- > From: Adesanya, Adeyemi > Sent: Wednesday, August 04, 2004 2:08 PM > To: 'Matt Massie' > Cc: 'Ganglia Developers' > Subject: RE: [Ganglia-developers] 2.6.0 apr test > > > Matt, > > Check your latest snapshot. I think gmond i

RE: [Ganglia-developers] 2.6.0 apr test

2004-08-04 Thread Adesanya, Adeyemi
Matt, Check your latest snapshot. I think gmond is missing. Yemi > -Original Message- > From: Matt Massie [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 04, 2004 1:37 PM > To: Adesanya, Adeyemi > Cc: 'Ganglia Developers' > Subject: RE: [Ganglia-developers] 2.6.0 apr test

RE: [Ganglia-developers] 2.6.0 apr test

2004-08-04 Thread Matt Massie
on second thought... scratch that idea. i have a better one. just include #include to mcast.c and we'll be set. it correctly adds netinet/in.h. sorry that i missed that. i just uploaded a new snapshot to http://matt-massie.com/ganglia/ganglia-apr-2.6.0.tar.gz with that change. good luck

RE: [Ganglia-developers] 2.6.0 apr test

2004-08-04 Thread Matt Massie
bingo! it's in . just add #include to mcast.c and we should be good to go on solaris 5.8 5.9. those are exactly the definitions that i need... we want to support both ipv6 and ipv4 multicast so we code using both structures. -matt On Wed, 2004-08-04 at 13:25, Adesanya, Adeyemi wrote: > Matt,

RE: [Ganglia-developers] 2.6.0 apr test

2004-08-04 Thread Adesanya, Adeyemi
Matt, The closest match I found (same on 5.8 and 5.9) is in /usr/include/netinet/in.h . The following structs are defined: #if !defined(_XPG4_2) || defined(__EXTENSIONS__) /* * Argument structure for IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP. */ struct ip_mreq { struct in_addr imr_mult

RE: [Ganglia-developers] 2.6.0 apr test

2004-08-04 Thread Matt Massie
yemi- i'm using an older version of solaris (i think it's 5.7) so they must have moved the mreq definition to another header file. if you run the command... % find /usr/include -name "*.h" -exec grep -l "mreq" {} \; you'll get a list of header files that have the mreq structure definition. you