-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'd tried to compile it on cygwin, but forgot which version, but at
last gave up. One guy in this list suggeted me to use host-sflow on
windows.
Sam
On 11/29/2014 10:24 AM, Ken King wrote:
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_INIpv4; ^
/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_STORAGEgf_group; ^
/usr/include/w32api/ws2ipdef.h:79:3: error: unknown type name
'SOCKADDR_STORAGE' SOCKADDR_STORAGEgf_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: