Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: [hwloc-users] hwloc 1.0.2 fails to compile on Cygwin
From: jayesh_at_[hidden]
Date: 2010-09-17 16:42:19


Hi,
 I get the following error message when I try to compile hwloc 1.0.2 on Cygwin. Configure and make logs are attached.

$ uname -a
CYGWIN_NT-6.1-WOW64 msnehalem1 1.7.6(0.230/5/3) 2010-08-16 16:06 i686 Cygwin

======================================== make.log ====================================
...
  CC lstopo-lstopo-cairo.o
In file included from /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/windows.h:87,
                 from /cygdrive/c/Users/jayesh/ANL/hwloc-1.0.2/include/hwloc/config.h:112,
                 from /cygdrive/c/Users/jayesh/ANL/hwloc-1.0.2/include/hwloc.h:17,
                 from lstopo.h:10,
                 from lstopo-cairo.c:44:
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:255: error: two or more data
 types in declaration specifiers
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:270: error: two or more data
 types in declaration specifiers
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:291: error: two or more data
 types in declaration specifiers
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:316: error: two or more data
 types in declaration specifiers
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:571: error: two or more data
 types in declaration specifiers
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:594: error: two or more data
 types in declaration specifiers
make[1]: *** [lstopo-lstopo-cairo.o] Error 1
make[1]: Leaving directory `/cygdrive/c/Users/jayesh/ANL/hwloc-1.0.2/utils'
make: *** [all-recursive] Error 1
======================================== make.log ====================================

Regards,
Jayesh