--- Martin Knoblauch <[EMAIL PROTECTED]> wrote: > --- Matt Massie <[EMAIL PROTECTED]> wrote: > > guys- > > > > i have a 2.6.0 test that i'd like you to run on your respective > > operating systems. > > > > download http://matt-massie.com/ganglia/ganglia-apr-2.6.0.tar.gz > > > > && ./configure && make > > > Matt, > > the problem with gmond coredumping on Solaris comes from the > definition of "length" as an "int" in gmond.c. It should be > "apr_size_t", which is 8 byte in 64-bit mode. As length is passed > around as a pointer, the program goes caboom. > > Found out by good old printf debugging. "gdb" on Solaris is note > really helpful/working/whatever. > > As a precaution me suggests "-Wconversion" or "-Werror". The latter > is > radical, but very helpful :-) >
OK, I forgot the good news: the IPV4 vs. IPV6 problem seems to be gone. As for finding 64-bit problems: both -Werror or -Wconversion produce output that is not pretty to look at :-( The following is better focussing on the problem case: make 2>&1 | grep "incompatible pointer type" These warnings should not be ignored .... Martin ===== ------------------------------------------------------ Martin Knoblauch email: k n o b i AT knobisoft DOT de www: http://www.knobisoft.de