When trying to compile v3.7.2 I receive a redeclaration mismatch error for 
rpl_malloc with mismatch of char/void in libmetrics.h.  The error message 
is listed below.  I am using XLC v13 on AIX with the following configure 
command.  Any suggestions or anyone else able to get this to successfully 
compile?

./configure --disable-shared --enable-static  --prefix=/usr/local 
CFLAGS="-I/opt/freeware/include" CPPFLAGS="-I/opt/freeware/include" 
LDFLAGS="-L/opt/freeware/lib" --with-gmetad

Making all in aix
        source='metrics.c' object='metrics.lo' libtool=yes  DEPDIR=.deps 
depmode=xlc /bin/sh ../build/depcomp  /bin/sh ../libtool --tag=CC 
--mode=compile xlc_r -DHAVE_CONFIG_H -I. -I..    -I/opt/freeware/include 
-I.. -I../../include -I/opt/freeware/include -D_ALL_SOURCE -DAIX 
-DHAVE_PERFSTAT -c -o metrics.lo metrics.c
libtool: compile:  xlc_r -DHAVE_CONFIG_H -I. -I.. -I/opt/freeware/include 
-I.. -I../../include -I/opt/freeware/include -D_ALL_SOURCE -DAIX 
-DHAVE_PERFSTAT -c metrics.c -Wp,-qmakedep=gcc,-MF.deps/metrics.TPlo -o 
metrics.o
"../libmetrics.h", line 20.7: 1506-343 (S) Redeclaration of rpl_malloc 
differs from previous declaration on line 269 of "/usr/include/stdlib.h".
"../libmetrics.h", line 20.7: 1506-050 (I) Return type "char*" in 
redeclaration is not compatible with the previous return type "void*".
make: The error code from the last command is 1.
------------------------------------------------------------------------------
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to