I have tried to compile ganglia 3 on FreeBSD machine and obtained scuh problem :
In file included from g3.h:47, from plugin.c:26: /usr/include/netinet/in.h:235: syntax error before `in_addr_t' /usr/include/netinet/in.h:287: syntax error before `u_char' In file included from /usr/include/netinet/in.h:469, from g3.h:47, from plugin.c:26: /usr/include/netinet6/in6.h:122: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:144: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:149: syntax error before `u_int32_t' /usr/include/netinet6/in6.h:612: syntax error before `*' /usr/include/netinet6/in6.h:613: warning: type defaults to `int' in declaration of `inet6_option_append' /usr/include/netinet6/in6.h:614: syntax error before `*' /usr/include/netinet6/in6.h:614: warning: type defaults to `int' in declaration of `inet6_option_alloc' /usr/include/netinet6/in6.h:614: warning: data definition has no type or storage class /usr/include/netinet6/in6.h:615: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:616: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:631: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:636: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:638: syntax error before `u_int8_t' plugin.c: In function `g3_plugin_load': plugin.c:70: warning: assignment discards qualifiers from pointer target type *** Error code 1 Stop in /usr/home/user/ganglia-3.0.0/ganglia-3.0.0/lib. *** Error code 1 Stop in /usr/home/user/ganglia-3.0.0/ganglia-3.0.0. *** Error code 1 Stop in /usr/home/user/ganglia-3.0.0/ganglia-3.0.0. I think that some files are not included yet , Orest.