does anybody know which version of ganglia is most compatible with cygwin 1.7?
I am trying to compile ganglia 3.6.1 on cygwin 1.7.33 and seeing the following issue. thanks make[4]: Entering directory '/cygdrive/c/users/kking-sa/downloads/ganglia-3.6.1/libmetrics/cygwin' /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../../lib -I../../include -I/usr/local/include -I/usr/include/tirpc/ -Wall -MT metrics.lo -MD -MP -MF .deps/metrics.Tpo -c -o metrics.lo metrics.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../../lib -I../../include -I/usr/local/include -I/usr/include/tirpc/ -Wall -MT metrics.lo -MD -MP -MF .deps/metrics.Tpo -c metrics.c -DDLL_EXPORT -DPIC -o .libs/metrics.o In file included from /usr/include/w32api/netioapi.h:10:0, from /usr/include/w32api/iphlpapi.h:16, from metrics.c:18: /usr/include/w32api/ws2ipdef.h:31:19: error: field 'Address' has incomplete type struct sockaddr Address; ^ /usr/include/w32api/ws2ipdef.h:32:22: error: field 'AddressIn' has incomplete type struct sockaddr_in AddressIn; ^ /usr/include/w32api/ws2ipdef.h:69:3: error: unknown type name 'SOCKADDR_IN' SOCKADDR_IN Ipv4; ^ /usr/include/w32api/ws2ipdef.h:71:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY si_family; ^ /usr/include/w32api/ws2ipdef.h:76:3: error: unknown type name 'SOCKADDR_STORAGE' SOCKADDR_STORAGE gf_group; ^ /usr/include/w32api/ws2ipdef.h:79:3: error: unknown type name 'SOCKADDR_STORAGE' SOCKADDR_STORAGE gf_slist[1]; ^ /usr/include/w32api/ws2ipdef.h:84:3: error: unknown type name 'SOCKADDR_STORAGE' SOCKADDR_STORAGE gr_group; ^ /usr/include/w32api/ws2ipdef.h:89:3: error: unknown type name 'SOCKADDR_STORAGE' SOCKADDR_STORAGE gsr_group; ^ /usr/include/w32api/ws2ipdef.h:90:3: error: unknown type name 'SOCKADDR_STORAGE' SOCKADDR_STORAGE gsr_source; ^ In file included from /usr/include/w32api/iphlpapi.h:16:0, from metrics.c:18: /usr/include/w32api/netioapi.h:108:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY Family; ^ /usr/include/w32api/netioapi.h:368:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ /usr/include/w32api/netioapi.h:403:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ /usr/include/w32api/netioapi.h:416:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ /usr/include/w32api/netioapi.h:433:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ /usr/include/w32api/netioapi.h:438:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY Family ^ /usr/include/w32api/netioapi.h:446:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ /usr/include/w32api/netioapi.h:495:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ /usr/include/w32api/netioapi.h:508:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ /usr/include/w32api/netioapi.h:517:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ In file included from /usr/include/w32api/iphlpapi.h:16:0, from metrics.c:18: /usr/include/w32api/netioapi.h:537:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ /usr/include/w32api/netioapi.h:547:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ /usr/include/w32api/netioapi.h:555:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ /usr/include/w32api/netioapi.h:565:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ /usr/include/w32api/netioapi.h:575:3: error: unknown type name 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ In file included from /usr/include/asm/socket.h:14:0, from /usr/include/cygwin/socket.h:51, from /usr/include/sys/socket.h:16, from ../unpifi.h:8, from ../interface.h:10, from metrics.c:33: /usr/include/cygwin/if.h:115:29: error: conflicting types for 'if_nametoindex' extern unsigned if_nametoindex (const char *); ^ In file included from /usr/include/w32api/iphlpapi.h:16:0, from metrics.c:18: /usr/include/w32api/netioapi.h:319:20: note: previous declaration of 'if_nametoindex' was here NET_IFINDEX WINAPI if_nametoindex( ^ In file included from /usr/include/asm/socket.h:14:0, from /usr/include/cygwin/socket.h:51, from /usr/include/sys/socket.h:16, from ../unpifi.h:8, from ../interface.h:10, from metrics.c:33: /usr/include/cygwin/if.h:116:29: error: conflicting types for 'if_indextoname' extern char *if_indextoname (unsigned, char *); ^ In file included from /usr/include/w32api/iphlpapi.h:16:0, from metrics.c:18: /usr/include/w32api/netioapi.h:314:14: note: previous declaration of 'if_indextoname' was here PCHAR WINAPI if_indextoname( ^ In file included from /usr/include/netinet/in.h:14:0, from ../unpifi.h:22, from ../interface.h:10, from metrics.c:33: /usr/include/cygwin/in.h:161:8: error: redefinition of 'struct group_req' struct group_req ^ In file included from /usr/include/w32api/netioapi.h:10:0, from /usr/include/w32api/iphlpapi.h:16, from metrics.c:18: /usr/include/w32api/ws2ipdef.h:82:16: note: originally defined here typedef struct group_req { ^ In file included from /usr/include/netinet/in.h:14:0, from ../unpifi.h:22, from ../interface.h:10, from metrics.c:33: /usr/include/cygwin/in.h:167:8: error: redefinition of 'struct group_source_req' struct group_source_req ^ In file included from /usr/include/w32api/netioapi.h:10:0, from /usr/include/w32api/iphlpapi.h:16, from metrics.c:18: /usr/include/w32api/ws2ipdef.h:87:16: note: originally defined here typedef struct group_source_req { ^ In file included from /usr/include/netinet/in.h:14:0, from ../unpifi.h:22, from ../interface.h:10, from metrics.c:33: /usr/include/cygwin/in.h:174:8: error: redefinition of 'struct group_filter' struct group_filter ^ In file included from /usr/include/w32api/netioapi.h:10:0, from /usr/include/w32api/iphlpapi.h:16, from metrics.c:18: /usr/include/w32api/ws2ipdef.h:74:16: note: originally defined here typedef struct group_filter { ^ In file included from /usr/include/cygwin/in.h:267:0, from /usr/include/netinet/in.h:14, from ../unpifi.h:22, from ../interface.h:10, from metrics.c:33: /usr/include/cygwin/in6.h:75:8: error: redefinition of 'struct in6_addr' struct in6_addr ^ In file included from /usr/include/w32api/ras.h:12:0, from /usr/include/w32api/mprapi.h:10, from /usr/include/w32api/iprtrmib.h:9, from /usr/include/w32api/iphlpapi.h:13, from metrics.c:18: /usr/include/w32api/in6addr.h:17:16: note: originally defined here typedef struct in6_addr { ^ In file included from /usr/include/cygwin/in.h:267:0, from /usr/include/netinet/in.h:14, from ../unpifi.h:22, from ../interface.h:10, from metrics.c:33: /usr/include/cygwin/in6.h:88:8: error: redefinition of 'struct ipv6_mreq' struct ipv6_mreq ^ In file included from /usr/include/w32api/netioapi.h:10:0, from /usr/include/w32api/iphlpapi.h:16, from metrics.c:18: /usr/include/w32api/ws2ipdef.h:18:16: note: originally defined here typedef struct ipv6_mreq { ^ In file included from /usr/include/cygwin/in.h:267:0, from /usr/include/netinet/in.h:14, from ../unpifi.h:22, from ../interface.h:10, from metrics.c:33: /usr/include/cygwin/in6.h:112:8: error: redefinition of 'struct sockaddr_in6' struct sockaddr_in6 ^ In file included from /usr/include/w32api/netioapi.h:10:0, from /usr/include/w32api/iphlpapi.h:16, from metrics.c:18: /usr/include/w32api/ws2ipdef.h:36:8: note: originally defined here struct sockaddr_in6 { ^ metrics.c: In function 'proc_run_func': metrics.c:720:46: warning: variable 'cProcesses' set but not used [-Wunused-but-set-variable] DWORD aProcesses[MAXPROCESSES], cbNeeded, cProcesses; ^ Makefile:283: recipe for target 'metrics.lo' failed make[4]: *** [metrics.lo] Error 1 make[4]: Leaving directory '/cygdrive/c/users/kking-sa/downloads/ganglia-3.6.1/libmetrics/cygwin' Makefile:387: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/cygdrive/c/users/kking-sa/downloads/ganglia-3.6.1/libmetrics' Makefile:275: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/cygdrive/c/users/kking-sa/downloads/ganglia-3.6.1/libmetrics' Makefile:397: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/cygdrive/c/users/kking-sa/downloads/ganglia-3.6.1' Makefile:315: recipe for target 'all' failed make: *** [all] Error 2 -- Ken King 925 989 8976 ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general