Hi all:
Tried to "make" ganglia after running configure. The make stopped due to
the following errors:
In file included from gangliaconf.h:74,
from daemon_inetd.c:5:
/usr/include/pthread.h:554: error: parse error before '*' token
The "configure" command I used was:
./configure CFLAGS="-I/ptf-master/rrdtool/rrdtool-1.0.48/src"
CPPFLAGS="-I/ptf-master/rrdtool/rrdtool-1.0.48/src"
LDFLAGS="-L/ptf-master/rrdtool/rrdtool-1.0.48/src/.libs" --with-gmetad
--disable-shared --enable-static
which yielded the following warnings - successful headers deleted:
[ lines deleted ]
checking pthread.h usability... no
checking pthread.h presence... yes
configure: WARNING: pthread.h: present but cannot be compiled
configure: WARNING: pthread.h: check for missing prerequisite headers?
configure: WARNING: pthread.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ## ------------------------------------ ##
checking for pthread.h... yes
[ lines deleted ]
checking netinet/tcp.h usability... no
checking netinet/tcp.h presence... yes
configure: WARNING: netinet/tcp.h: present but cannot be compiled
configure: WARNING: netinet/tcp.h: check for missing prerequisite headers?
configure: WARNING: netinet/tcp.h: proceeding with the preprocessor's
result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ## ------------------------------------ ##
checking for netinet/tcp.h... yes
[ lines deleted ]
checking net/if_arp.h usability... no
checking net/if_arp.h presence... yes
configure: WARNING: net/if_arp.h: present but cannot be compiled
configure: WARNING: net/if_arp.h: check for missing prerequisite headers?
configure: WARNING: net/if_arp.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ## ------------------------------------ ##
checking for net/if_arp.h... yes
[ stuff deleted ]
Any ideas on how to fix these problems?
This was run on AIX 5.2 ML-02
Thanks
Preston Black
AIX System Administration
[EMAIL PROTECTED]