Hello all,

I am encountering some rahte stange compiling issues under OS X Server
(10.2.6).

Making all in gmetad
source='rrd_helpers.c' object='rrd_helpers.o' libtool=no \
depfile='.deps/rrd_helpers.Po' tmpdepfile='.deps/rrd_helpers.TPo' \
depmode=gcc /bin/sh ../config/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/sw/include -I../lib -I../gmond
-I/sw/include -Wall -c `test -f 'rrd_helpers.c' || echo
'./'`rrd_helpers.c
In file included from /usr/include/mach/host_info.h:65,
                 from /usr/include/mach/mach_types.h:66,
                 from /usr/include/pthread.h:44,
                 from ../lib/ganglia/net.h:19,
                 from ./gmetad.h:3,
                 from rrd_helpers.c:9:
/usr/include/mach/time_value.h:62: redefinition of `struct time_value'
rrd_helpers.c: In function `my_mkdir':
rrd_helpers.c:25: warning: implicit declaration of function `err_sys'
rrd_helpers.c: In function `RRD_update':
rrd_helpers.c:57: warning: implicit declaration of function `err_msg'
rrd_helpers.c:61: warning: implicit declaration of function `debug_msg'
make[2]: *** [rrd_helpers.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

[EMAIL PROTECTED] ganglia-monitor-core-2.5.3]# gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420
(prerelease)
[EMAIL PROTECTED] ganglia-monitor-core-2.5.3]#

I have the Dec 2002 Patch applied, and I have tried compiling it under
gcc 3.3 and gcc 3.1.  I also have the libpoll installed via fink.

Basically it goes through and compiles fine (without enabling gmetad).
With gmetad enabled it dies with the above error. 

FYI, the ganglia snapshot of 2.5.4 gives the same error.

Has anyone compiled gmetad under OS X successfully?


Thanks - Derek

Reply via email to