Dear All

trying to compile ganglia 3.5 or 3.6 on Cygwin but got the following error.
I have seen previous thread and follow the procedure and no luck. thanks
for any suggestion!

cygwin 1.7.25

libexpat-devel          2.1.0-3
libexpat1               2.1.0-3
libapr1                 1.4.8-1
libapr1-devel           1.4.8-1
gcc-core                4.7.3-1
gcc-g++                 4.7.3-1
libgcc1                 4.7.3-1
libpcre-devel           8.33-1
pkg-config              0.23b-10
python                  2.7.3-1
sunrpc                  4.0-3
libpcre-devel           8.33-1
libpcre1                8.33-1


have compile confuse-2.7 and install it
./configure --disable-nls
make
make install

and install try to compile ganglia
 ./configure --with-libconfuse=/usr/local --without-libpcre
--enable-static-build

then got the following error when compiling libmetric

make[4]: Entering directory `/home/mike/ganglia-3.6.0/libmetrics/cygwin'
/bin/sh ../libtool --tag=CC    --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I..     -I.. -I../../lib -I../../include -g -O2 -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 -g -O2 -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/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’
In file included from
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/mprapi.h:10:0,
                 from
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/iprtrmib.h:9,
                 from
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/iphlpapi.h:13,
                 from metrics.c:18:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ras.h:19:16:
note: originally defined here
metrics.c: In function ‘proc_run_func’:
metrics.c:720:46: warning: variable ‘cProcesses’ set but not used
[-Wunused-but-set-variable]
Makefile:259: recipe for target `metrics.lo' failed
make[4]: *** [metrics.lo] Error 1
make[4]: Leaving directory `/home/mike/ganglia-3.6.0/libmetrics/cygwin'
Makefile:361: recipe for target `all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mike/ganglia-3.6.0/libmetrics'
Makefile:247: recipe for target `all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/mike/ganglia-3.6.0/libmetrics'
Makefile:370: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mike/ganglia-3.6.0'
Makefile:287: recipe for target `all' failed
make: *** [all] Error 2


Many thanks for any suggestion!

Best Regard!
         Mike
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to