COMPILING HWLOC ON WINDOWS WITH MINGW/CYGWIN

I've attached the output of make V=1 in make_output.txt. I included the 
demonstration first of it failing because it can't find the include directory, 
but I just fix that by copy/pasting the contents of include/ into src/.

HWLOC_HAVE_WINDOWS_H is defined to 1 in /include/hwloc/autogen/config.h.

I copied the .def file from the official Windows build into .lib and ran the 
following from inside src/ (after running vcvars32 bat file to set up 
environment variables local to the terminal):

C:\hwloc-1.3.1\src>dolib.exe lib.exe X86 .libs/libhwloc.def libhwloc- 
.libs/libhwloc.lib

This creates a .lib file, but when I use the VS compiler to compile and link 
against it, it asks for a dll at runtime. I have a couple other things I'll 
try, but I wanted to get this email off before too long.

Also, prior to VS linking my program with hwloc, there are a few errors that 
crop up:
* VS does not know what __inline__ means
---- This is fixed by changing the definition of __hwloc_inline from __inline__ 
to __inline in include/hwloc/autogen/config.h
---- See: http://msdn.microsoft.com/en-us/library/z8y1yy88.aspx
* VS spouts out a whole bunch of errors relating to the definition of 
__attribute__ and __deprecated__
---- This is new in hwloc 1.3.1 - just using the header from 1.3.0 does away 
with all of these errors
---- The generated headers are the same as in the official releases for 1.3.1 
and 1.3.0
---- The error output is attached in the file vs_output.txt

COMPILING HWLOC ON WINDOWS WITH VS

VS apparently has problems when functions are declared as static inline when 
using its C compiler. A way around this I've found is to explicitly pass it the 
/TP flag, which makes it use its C++ compiler. A bunch of errors about the 
identifier '__attribute__' being a syntax error then pop up, however, and I 
haven't found a way around those yet.

Thanks for all your help so far!

Andrew Helwer
Software Developer  - Intern
Acceleware Ltd. (TSX-V:AXE)
www.acceleware.com

Phone: +1.403.249.9099  ext. 348
Fax: +1.403.249.9881
Email: andrew.hel...@acceleware.com


Get superpowered! 
Acceleware gets your products to market faster, better and stronger!            
             


This e-mail may contain information that is privileged and confidential and 
subject to legal restrictions and penalties regarding its unauthorized 
disclosure or use. You are prohibited from copying, distributing or otherwise 
using this information if you are not the intended recipient. If you have 
received this e-mail in error, please notify us immediately by return e-mail 
and delete this e-mail and its attachments from your system. Thank you.
© 2012 Acceleware Ltd., All Rights Reserved 


> -----Original Message-----
> From: hwloc-users-boun...@open-mpi.org [mailto:hwloc-users-
> boun...@open-mpi.org] On Behalf Of Samuel Thibault
> Sent: Thursday, January 12, 2012 10:03 AM
> To: Hardware locality user list
> Subject: Re: [hwloc-users] Compiling hwloc into a static library on
> Windows and Linux
> 
> Hello,
> 
> Andrew Helwer, le Thu 12 Jan 2012 02:11:58 +0100, a écrit :
> > If I run the command manually, it can't find the libhwloc.def file.
> Which is reasonable, as it does not appear to exist in the .lib
> directory. Am I missing something?
> 
> In principle the .def file is generated by the linker. Could you run
> 
> make V=1
> 
> to get the command lines, and check that HWLOC_HAVE_WINDOWS is 1 in
> 
> ./include/hwloc/autogen/config.h
> 
> ? At worse, I believe you can just copy the libhwloc.def contained in
> the 32bit build of the exact same version of hwloc, it should be
> compatible.
> 
> Thanks,
> Samuel
> _______________________________________________
> hwloc-users mailing list
> hwloc-us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users
Z:\WORKSPACE\hello-hwloc>scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
cl /Fomain.obj /c main.cpp /TP /nologo /Iinclude\windows
main.cpp
include\windows\hwloc/bitmap.h(61) : error C3646: '__attribute__' : unknown over
ride specifier
include\windows\hwloc/bitmap.h(61) : error C2065: '__malloc__' : undeclared iden
tifier
include\windows\hwloc/bitmap.h(61) : error C2072: 'hwloc_bitmap_alloc' : initial
ization of a function
include\windows\hwloc/bitmap.h(64) : error C3646: '__attribute__' : unknown over
ride specifier
include\windows\hwloc/bitmap.h(64) : error C2065: '__malloc__' : undeclared iden
tifier
include\windows\hwloc/bitmap.h(64) : error C2072: 'hwloc_bitmap_alloc_full' : in
itialization of a function
include\windows\hwloc/bitmap.h(76) : error C3646: '__attribute__' : unknown over
ride specifier
include\windows\hwloc/bitmap.h(76) : error C2065: '__malloc__' : undeclared iden
tifier
include\windows\hwloc/bitmap.h(76) : error C2072: 'hwloc_bitmap_dup' : initializ
ation of a function
include\windows\hwloc/bitmap.h(213) : error C3646: '__attribute__' : unknown ove
rride specifier
include\windows\hwloc/bitmap.h(213) : error C2065: '__pure__' : undeclared ident
ifier
include\windows\hwloc/bitmap.h(213) : error C2072: 'hwloc_bitmap_to_ulong' : ini
tialization of a function
include\windows\hwloc/bitmap.h(216) : error C3646: '__attribute__' : unknown ove
rride specifier
include\windows\hwloc/bitmap.h(216) : error C2065: '__pure__' : undeclared ident
ifier
include\windows\hwloc/bitmap.h(216) : error C2072: 'hwloc_bitmap_to_ith_ulong' :
 initialization of a function
include\windows\hwloc/bitmap.h(219) : error C3646: '__attribute__' : unknown ove
rride specifier
include\windows\hwloc/bitmap.h(219) : error C2065: '__pure__' : undeclared ident
ifier
include\windows\hwloc/bitmap.h(219) : error C2072: 'hwloc_bitmap_isset' : initia
lization of a function
include\windows\hwloc/bitmap.h(222) : error C3646: '__attribute__' : unknown ove
rride specifier
include\windows\hwloc/bitmap.h(222) : error C2065: '__pure__' : undeclared ident
ifier
include\windows\hwloc/bitmap.h(222) : error C2072: 'hwloc_bitmap_iszero' : initi
alization of a function
include\windows\hwloc/bitmap.h(225) : error C3646: '__attribute__' : unknown ove
rride specifier
include\windows\hwloc/bitmap.h(225) : error C2065: '__pure__' : undeclared ident
ifier
include\windows\hwloc/bitmap.h(225) : error C2072: 'hwloc_bitmap_isfull' : initi
alization of a function
include\windows\hwloc/bitmap.h(231) : error C3646: '__attribute__' : unknown ove
rride specifier
include\windows\hwloc/bitmap.h(231) : error C2065: '__pure__' : undeclared ident
ifier
include\windows\hwloc/bitmap.h(231) : error C2072: 'hwloc_bitmap_first' : initia
lization of a function
include\windows\hwloc/bitmap.h(239) : error C3646: '__attribute__' : unknown ove
rride specifier
include\windows\hwloc/bitmap.h(239) : error C2065: '__pure__' : undeclared ident
ifier
include\windows\hwloc/bitmap.h(239) : error C2072: 'hwloc_bitmap_next' : initial
ization of a function
include\windows\hwloc/bitmap.h(245) : error C3646: '__attribute__' : unknown ove
rride specifier
include\windows\hwloc/bitmap.h(245) : error C2065: '__pure__' : undeclared ident
ifier
include\windows\hwloc/bitmap.h(245) : error C2072: 'hwloc_bitmap_last' : initial
ization of a function
include\windows\hwloc/bitmap.h(252) : error C3646: '__attribute__' : unknown ove
rride specifier
include\windows\hwloc/bitmap.h(252) : error C2065: '__pure__' : undeclared ident
ifier
include\windows\hwloc/bitmap.h(252) : error C2072: 'hwloc_bitmap_weight' : initi
alization of a function
include\windows\hwloc/bitmap.h(305) : error C3646: '__attribute__' : unknown ove
rride specifier
include\windows\hwloc/bitmap.h(305) : error C2065: '__pure__' : undeclared ident
ifier
include\windows\hwloc/bitmap.h(305) : error C2072: 'hwloc_bitmap_intersects' : i
nitialization of a function
include\windows\hwloc/bitmap.h(308) : error C3646: '__attribute__' : unknown ove
rride specifier
include\windows\hwloc/bitmap.h(308) : error C2065: '__pure__' : undeclared ident
ifier
include\windows\hwloc/bitmap.h(308) : error C2072: 'hwloc_bitmap_isincluded' : i
nitialization of a function
include\windows\hwloc/bitmap.h(311) : error C3646: '__attribute__' : unknown ove
rride specifier
include\windows\hwloc/bitmap.h(311) : error C2065: '__pure__' : undeclared ident
ifier
include\windows\hwloc/bitmap.h(311) : error C2072: 'hwloc_bitmap_isequal' : init
ialization of a function
include\windows\hwloc/bitmap.h(318) : error C3646: '__attribute__' : unknown ove
rride specifier
include\windows\hwloc/bitmap.h(318) : error C2065: '__pure__' : undeclared ident
ifier
include\windows\hwloc/bitmap.h(318) : error C2072: 'hwloc_bitmap_compare_first'
: initialization of a function
include\windows\hwloc/bitmap.h(325) : error C3646: '__attribute__' : unknown ove
rride specifier
include\windows\hwloc/bitmap.h(325) : error C2065: '__pure__' : undeclared ident
ifier
include\windows\hwloc/bitmap.h(325) : error C2072: 'hwloc_bitmap_compare' : init
ialization of a function
include\windows\hwloc/cpuset.h(29) : error C2065: '__deprecated__' : undeclared
identifier
include\windows\hwloc/cpuset.h(29) : error C2433: '__attribute__' : 'inline' not
 permitted on data declarations
include\windows\hwloc/cpuset.h(29) : error C2146: syntax error : missing ';' bef
ore identifier 'hwloc_cpuset_alloc'
include\windows\hwloc/cpuset.h(29) : error C4430: missing type specifier - int a
ssumed. Note: C++ does not support default-int
include\windows\hwloc/cpuset.h(29) : error C2440: 'return' : cannot convert from
 'hwloc_bitmap_t' to 'int'
        There is no context in which this conversion is possible
include\windows\hwloc/cpuset.h(29) : error C2617: 'hwloc_cpuset_alloc' : inconsi
stent return statement
        include\windows\hwloc/cpuset.h(29) : see declaration of 'hwloc_cpuset_al
loc'
include\windows\hwloc/cpuset.h(30) : error C2065: '__deprecated__' : undeclared
identifier
include\windows\hwloc/cpuset.h(30) : error C2182: '__attribute__' : illegal use
of type 'void'
include\windows\hwloc/cpuset.h(30) : error C2433: '__attribute__' : 'inline' not
 permitted on data declarations
include\windows\hwloc/cpuset.h(30) : error C2373: '__attribute__' : redefinition
; different type modifiers
        include\windows\hwloc/cpuset.h(29) : see declaration of '__attribute__'
include\windows\hwloc/cpuset.h(30) : error C2146: syntax error : missing ';' bef
ore identifier 'hwloc_cpuset_free'
include\windows\hwloc/cpuset.h(30) : error C4430: missing type specifier - int a
ssumed. Note: C++ does not support default-int
include\windows\hwloc/cpuset.h(30) : warning C4508: 'hwloc_cpuset_free' : functi
on should return a value; 'void' return type assumed
include\windows\hwloc/cpuset.h(31) : error C2065: '__deprecated__' : undeclared
identifier
include\windows\hwloc/cpuset.h(31) : error C2433: '__attribute__' : 'inline' not
 permitted on data declarations
include\windows\hwloc/cpuset.h(31) : error C2374: '__attribute__' : redefinition
; multiple initialization
        include\windows\hwloc/cpuset.h(29) : see declaration of '__attribute__'
include\windows\hwloc/cpuset.h(31) : error C2146: syntax error : missing ';' bef
ore identifier 'hwloc_cpuset_dup'
include\windows\hwloc/cpuset.h(31) : error C4430: missing type specifier - int a
ssumed. Note: C++ does not support default-int
include\windows\hwloc/cpuset.h(31) : error C2440: 'return' : cannot convert from
 'hwloc_bitmap_t' to 'int'
        There is no context in which this conversion is possible
include\windows\hwloc/cpuset.h(31) : error C2617: 'hwloc_cpuset_dup' : inconsist
ent return statement
        include\windows\hwloc/cpuset.h(31) : see declaration of 'hwloc_cpuset_du
p'
include\windows\hwloc/cpuset.h(32) : error C2065: '__deprecated__' : undeclared
identifier
include\windows\hwloc/cpuset.h(32) : error C2182: '__attribute__' : illegal use
of type 'void'
include\windows\hwloc/cpuset.h(32) : error C2433: '__attribute__' : 'inline' not
 permitted on data declarations
include\windows\hwloc/cpuset.h(32) : error C2373: '__attribute__' : redefinition
; different type modifiers
        include\windows\hwloc/cpuset.h(29) : see declaration of '__attribute__'
include\windows\hwloc/cpuset.h(32) : error C2146: syntax error : missing ';' bef
ore identifier 'hwloc_cpuset_copy'
include\windows\hwloc/cpuset.h(32) : error C4430: missing type specifier - int a
ssumed. Note: C++ does not support default-int
include\windows\hwloc/cpuset.h(32) : warning C4508: 'hwloc_cpuset_copy' : functi
on should return a value; 'void' return type assumed
include\windows\hwloc/cpuset.h(33) : error C2065: '__deprecated__' : undeclared
identifier
include\windows\hwloc/cpuset.h(33) : error C2433: '__attribute__' : 'inline' not
 permitted on data declarations
include\windows\hwloc/cpuset.h(33) : error C2373: '__attribute__' : redefinition
; different type modifiers
        include\windows\hwloc/cpuset.h(29) : see declaration of '__attribute__'
include\windows\hwloc/cpuset.h(33) : error C2146: syntax error : missing ';' bef
ore identifier 'hwloc_cpuset_snprintf'
include\windows\hwloc/cpuset.h(33) : error C4430: missing type specifier - int a
ssumed. Note: C++ does not support default-int
include\windows\hwloc/cpuset.h(34) : error C2065: '__deprecated__' : undeclared
identifier
include\windows\hwloc/cpuset.h(34) : error C2433: '__attribute__' : 'inline' not
 permitted on data declarations
include\windows\hwloc/cpuset.h(34) : error C2373: '__attribute__' : redefinition
; different type modifiers
        include\windows\hwloc/cpuset.h(29) : see declaration of '__attribute__'
include\windows\hwloc/cpuset.h(34) : error C2146: syntax error : missing ';' bef
ore identifier 'hwloc_cpuset_asprintf'
include\windows\hwloc/cpuset.h(34) : error C4430: missing type specifier - int a
ssumed. Note: C++ does not support default-int
include\windows\hwloc/cpuset.h(35) : error C2065: '__deprecated__' : undeclared
identifier
include\windows\hwloc/cpuset.h(35) : error C2433: '__attribute__' : 'inline' not
 permitted on data declarations
include\windows\hwloc/cpuset.h(35) : error C2373: '__attribute__' : redefinition
; different type modifiers
        include\windows\hwloc/cpuset.h(29) : see declaration of '__attribute__'
include\windows\hwloc/cpuset.h(35) : error C2146: syntax error : missing ';' bef
ore identifier 'hwloc_cpuset_from_string'
include\windows\hwloc/cpuset.h(35) : error C4430: missing type specifier - int a
ssumed. Note: C++ does not support default-int
include\windows\hwloc/cpuset.h(36) : error C2065: '__deprecated__' : undeclared
identifier
include\windows\hwloc/cpuset.h(36) : error C2182: '__attribute__' : illegal use
of type 'void'
include\windows\hwloc/cpuset.h(36) : error C2433: '__attribute__' : 'inline' not
 permitted on data declarations
include\windows\hwloc/cpuset.h(36) : error C2373: '__attribute__' : redefinition
; different type modifiers
        include\windows\hwloc/cpuset.h(29) : see declaration of '__attribute__'
include\windows\hwloc/cpuset.h(36) : error C2146: syntax error : missing ';' bef
ore identifier 'hwloc_cpuset_zero'
include\windows\hwloc/cpuset.h(36) : error C4430: missing type specifier - int a
ssumed. Note: C++ does not support default-int
include\windows\hwloc/cpuset.h(36) : warning C4508: 'hwloc_cpuset_zero' : functi
on should return a value; 'void' return type assumed
include\windows\hwloc/cpuset.h(37) : error C2065: '__deprecated__' : undeclared
identifier
include\windows\hwloc/cpuset.h(37) : error C2182: '__attribute__' : illegal use
of type 'void'
include\windows\hwloc/cpuset.h(37) : error C2433: '__attribute__' : 'inline' not
 permitted on data declarations
include\windows\hwloc/cpuset.h(37) : error C2373: '__attribute__' : redefinition
; different type modifiers
        include\windows\hwloc/cpuset.h(29) : see declaration of '__attribute__'
include\windows\hwloc/cpuset.h(37) : error C2146: syntax error : missing ';' bef
ore identifier 'hwloc_cpuset_fill'
include\windows\hwloc/cpuset.h(37) : error C4430: missing type specifier - int a
ssumed. Note: C++ does not support default-int
include\windows\hwloc/cpuset.h(37) : warning C4508: 'hwloc_cpuset_fill' : functi
on should return a value; 'void' return type assumed
include\windows\hwloc/cpuset.h(38) : error C2065: '__deprecated__' : undeclared
identifier
include\windows\hwloc/cpuset.h(38) : error C2182: '__attribute__' : illegal use
of type 'void'
include\windows\hwloc/cpuset.h(38) : error C2433: '__attribute__' : 'inline' not
 permitted on data declarations
include\windows\hwloc/cpuset.h(38) : error C2373: '__attribute__' : redefinition
; different type modifiers
        include\windows\hwloc/cpuset.h(29) : see declaration of '__attribute__'
include\windows\hwloc/cpuset.h(38) : error C2146: syntax error : missing ';' bef
ore identifier 'hwloc_cpuset_from_ulong'
include\windows\hwloc/cpuset.h(38) : error C4430: missing type specifier - int a
ssumed. Note: C++ does not support default-int
include\windows\hwloc/cpuset.h(38) : warning C4508: 'hwloc_cpuset_from_ulong' :
function should return a value; 'void' return type assumed
include\windows\hwloc/cpuset.h(39) : error C2065: '__deprecated__' : undeclared
identifier
include\windows\hwloc/cpuset.h(39) : error C2182: '__attribute__' : illegal use
of type 'void'
include\windows\hwloc/cpuset.h(39) : fatal error C1003: error count exceeds 100;
 stopping compilation
scons: *** [main.obj] Error 2
scons: building terminated because of errors.
C:\hwloc-1.3.1>make V=1
Making all in src
make[1]: Entering directory `/cygdrive/c/hwloc-1.3.1/src'
depbase=`echo topology.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I. -I../inc
lude/private/autogen -I../include/hwloc/autogen  -I/cygdrive/c/hwloc-1.3.1/inclu
de -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cygdri
ve/c/hwloc-1.3.1/include    -I/cygdrive/c/hwloc-1.3.1/include -MT topology.lo -M
D -MP -MF $depbase.Tpo -c -o topology.lo topology.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../inc
lude/hwloc/autogen -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/i
nclude -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cy
gdrive/c/hwloc-1.3.1/include -MT topology.lo -MD -MP -MF .deps/topology.Tpo -c t
opology.c -o topology.o
depbase=`echo traversal.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I. -I../inc
lude/private/autogen -I../include/hwloc/autogen  -I/cygdrive/c/hwloc-1.3.1/inclu
de -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cygdri
ve/c/hwloc-1.3.1/include    -I/cygdrive/c/hwloc-1.3.1/include -MT traversal.lo -
MD -MP -MF $depbase.Tpo -c -o traversal.lo traversal.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../inc
lude/hwloc/autogen -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/i
nclude -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cy
gdrive/c/hwloc-1.3.1/include -MT traversal.lo -MD -MP -MF .deps/traversal.Tpo -c
 traversal.c -o traversal.o
depbase=`echo distances.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I. -I../inc
lude/private/autogen -I../include/hwloc/autogen  -I/cygdrive/c/hwloc-1.3.1/inclu
de -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cygdri
ve/c/hwloc-1.3.1/include    -I/cygdrive/c/hwloc-1.3.1/include -MT distances.lo -
MD -MP -MF $depbase.Tpo -c -o distances.lo distances.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../inc
lude/hwloc/autogen -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/i
nclude -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cy
gdrive/c/hwloc-1.3.1/include -MT distances.lo -MD -MP -MF .deps/distances.Tpo -c
 distances.c -o distances.o
depbase=`echo topology-synthetic.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I. -I../inc
lude/private/autogen -I../include/hwloc/autogen  -I/cygdrive/c/hwloc-1.3.1/inclu
de -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cygdri
ve/c/hwloc-1.3.1/include    -I/cygdrive/c/hwloc-1.3.1/include -MT topology-synth
etic.lo -MD -MP -MF $depbase.Tpo -c -o topology-synthetic.lo topology-synthetic.
c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../inc
lude/hwloc/autogen -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/i
nclude -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cy
gdrive/c/hwloc-1.3.1/include -MT topology-synthetic.lo -MD -MP -MF .deps/topolog
y-synthetic.Tpo -c topology-synthetic.c -o topology-synthetic.o
depbase=`echo topology-xml.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I. -I../inc
lude/private/autogen -I../include/hwloc/autogen  -I/cygdrive/c/hwloc-1.3.1/inclu
de -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cygdri
ve/c/hwloc-1.3.1/include    -I/cygdrive/c/hwloc-1.3.1/include -MT topology-xml.l
o -MD -MP -MF $depbase.Tpo -c -o topology-xml.lo topology-xml.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../inc
lude/hwloc/autogen -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/i
nclude -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cy
gdrive/c/hwloc-1.3.1/include -MT topology-xml.lo -MD -MP -MF .deps/topology-xml.
Tpo -c topology-xml.c -o topology-xml.o
depbase=`echo bind.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I. -I../inc
lude/private/autogen -I../include/hwloc/autogen  -I/cygdrive/c/hwloc-1.3.1/inclu
de -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cygdri
ve/c/hwloc-1.3.1/include    -I/cygdrive/c/hwloc-1.3.1/include -MT bind.lo -MD -M
P -MF $depbase.Tpo -c -o bind.lo bind.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../inc
lude/hwloc/autogen -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/i
nclude -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cy
gdrive/c/hwloc-1.3.1/include -MT bind.lo -MD -MP -MF .deps/bind.Tpo -c bind.c -o
 bind.o
depbase=`echo cpuset.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I. -I../inc
lude/private/autogen -I../include/hwloc/autogen  -I/cygdrive/c/hwloc-1.3.1/inclu
de -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cygdri
ve/c/hwloc-1.3.1/include    -I/cygdrive/c/hwloc-1.3.1/include -MT cpuset.lo -MD
-MP -MF $depbase.Tpo -c -o cpuset.lo cpuset.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../inc
lude/hwloc/autogen -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/i
nclude -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cy
gdrive/c/hwloc-1.3.1/include -MT cpuset.lo -MD -MP -MF .deps/cpuset.Tpo -c cpuse
t.c -o cpuset.o
depbase=`echo misc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I. -I../inc
lude/private/autogen -I../include/hwloc/autogen  -I/cygdrive/c/hwloc-1.3.1/inclu
de -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cygdri
ve/c/hwloc-1.3.1/include    -I/cygdrive/c/hwloc-1.3.1/include -MT misc.lo -MD -M
P -MF $depbase.Tpo -c -o misc.lo misc.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../inc
lude/hwloc/autogen -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/i
nclude -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cy
gdrive/c/hwloc-1.3.1/include -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c misc.c -o
 misc.o
depbase=`echo topology-windows.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I. -I../inc
lude/private/autogen -I../include/hwloc/autogen  -I/cygdrive/c/hwloc-1.3.1/inclu
de -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cygdri
ve/c/hwloc-1.3.1/include    -I/cygdrive/c/hwloc-1.3.1/include -MT topology-windo
ws.lo -MD -MP -MF $depbase.Tpo -c -o topology-windows.lo topology-windows.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../inc
lude/hwloc/autogen -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/i
nclude -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cy
gdrive/c/hwloc-1.3.1/include -MT topology-windows.lo -MD -MP -MF .deps/topology-
windows.Tpo -c topology-windows.c -o topology-windows.o
topology-windows.c: In function 'hwloc_win_get_VirtualAllocExNumaProc':
topology-windows.c:323:30: warning: assignment from incompatible pointer type [e
nabled by default]
topology-windows.c:328:28: warning: assignment from incompatible pointer type [e
nabled by default]
topology-windows.c: In function 'hwloc_look_windows':
topology-windows.c:469:36: warning: assignment from incompatible pointer type [e
nabled by default]
topology-windows.c:470:38: warning: assignment from incompatible pointer type [e
nabled by default]
/bin/sh ../libtool  --tag=CC    --mode=link gcc   -I/cygdrive/c/hwloc-1.3.1/incl
ude     -no-undefined -Xlinker --output-def -Xlinker .libs/libhwloc.def     -o l
ibhwloc_embedded.la  topology.lo traversal.lo distances.lo  topology-synthetic.l
o topology-xml.lo bind.lo cpuset.lo  misc.lo         topology-windows.lo      -l
gdi32
copying selected object files to avoid basename conflicts...
libtool: link: ar cru .libs/libhwloc_embedded.a topology.o traversal.o distances
.o topology-synthetic.o topology-xml.o bind.o cpuset.o misc.o topology-windows.o

libtool: link: ranlib .libs/libhwloc_embedded.a
libtool: link: rm -fr .libs/libhwloc_embedded.lax
libtool: link: ( cd ".libs" && rm -f "libhwloc_embedded.la" && ln -s "../libhwlo
c_embedded.la" "libhwloc_embedded.la" )
/bin/sh ../libtool  --tag=CC    --mode=link gcc  -I/cygdrive/c/hwloc-1.3.1/inclu
de      -no-undefined -Xlinker --output-def -Xlinker .libs/libhwloc.def -version
-number 4:1:4     -o libhwloc.la  topology.lo traversal.lo distances.lo  topolog
y-synthetic.lo topology-xml.lo bind.lo cpuset.lo  misc.lo         topology-windo
ws.lo      -lgdi32
libtool: link: warning: `-version-info/-version-number' is ignored for convenien
ce libraries
copying selected object files to avoid basename conflicts...
libtool: link: ar cru .libs/libhwloc.a topology.o traversal.o distances.o topolo
gy-synthetic.o topology-xml.o bind.o cpuset.o misc.o topology-windows.o
libtool: link: ranlib .libs/libhwloc.a
libtool: link: rm -fr .libs/libhwloc.lax
libtool: link: ( cd ".libs" && rm -f "libhwloc.la" && ln -s "../libhwloc.la" "li
bhwloc.la" )
gcc -I/cygdrive/c/hwloc-1.3.1/include -I/cygdrive/c/hwloc-1.3.1/include -I/cygdr
ive/c/hwloc-1.3.1/include    dolib.c   -o dolib
./dolib "/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/lib
" X86 .libs/libhwloc.def libhwloc- .libs/libhwloc.lib
The system cannot find the path specified.
"/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/lib" /machi
ne:X86 /def:.libs/libhwloc.def /name:libhwloc- /out:.libs/libhwloc.lib failed
Makefile:758: recipe for target `.libs/libhwloc.lib' failed
make[1]: *** [.libs/libhwloc.lib] Error 1
make[1]: Leaving directory `/cygdrive/c/hwloc-1.3.1/src'
Makefile:450: recipe for target `all-recursive' failed
make: *** [all-recursive] Error 1

Reply via email to