Open MPI logo

Hardware Locality Users' Mailing List Archives

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

Subject: Re: [hwloc-users] Compiling hwloc into a static library on Windows and Linux
From: Andrew Helwer (Andrew.Helwer_at_[hidden])
Date: 2012-01-13 12:17:52


Z:\WORKSPACE\hello-hwloc>scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
link /nologo /OUT:test.exe /LIBPATH:lib libhwloc.lib main.obj
libhwloc.lib(topology.o) : warning LNK4217: locally defined symbol __iob_func im
ported in function hwloc_report_os_error
libhwloc.lib(distances.o) : warning LNK4049: locally defined symbol __iob_func i
mported
libhwloc.lib(topology-synthetic.o) : warning LNK4049: locally defined symbol __i
ob_func imported
libhwloc.lib(topology-xml.o) : warning LNK4049: locally defined symbol __iob_fun
c imported
libhwloc.lib(topology-windows.o) : warning LNK4049: locally defined symbol _errn
o imported
libhwloc.lib(misc.o) : warning LNK4049: locally defined symbol _errno imported
libhwloc.lib(topology.o) : warning LNK4217: locally defined symbol _errno import
ed in function hwloc_level_filter_objects
libhwloc.lib(bind.o) : warning LNK4049: locally defined symbol _errno imported
libhwloc.lib(distances.o) : warning LNK4049: locally defined symbol _errno impor
ted
libhwloc.lib(topology-synthetic.o) : warning LNK4049: locally defined symbol _er
rno imported
libhwloc.lib(traversal.o) : warning LNK4217: locally defined symbol _stricmp imp
orted in function hwloc_obj_type_of_string
libhwloc.lib(misc.o) : warning LNK4217: locally defined symbol tolower imported
in function hwloc_namecoloncmp
libhwloc.lib(cpuset.o) : error LNK2019: unresolved external symbol __popcountdi2
 referenced in function hwloc_weight_long
libhwloc.lib(traversal.o) : error LNK2019: unresolved external symbol __ms_vsnpr
intf referenced in function snprintf
libhwloc.lib(distances.o) : error LNK2001: unresolved external symbol __ms_vsnpr
intf
libhwloc.lib(misc.o) : error LNK2001: unresolved external symbol __ms_vsnprintf
libhwloc.lib(topology-xml.o) : error LNK2019: unresolved external symbol strtoul
l referenced in function hwloc__xml_import_object_attr
libhwloc.lib(topology-windows.o) : error LNK2019: unresolved external symbol ___
chkstk_ms referenced in function hwloc_win_get_area_membind
test.exe : fatal error LNK1120: 4 unresolved externals
scons: *** [test.exe] Error 1120
scons: building terminated because of errors.

> -----Original Message-----
> From: hwloc-users-bounces_at_[hidden] [mailto:hwloc-users-
> bounces_at_[hidden]] On Behalf Of Samuel Thibault
> Sent: Friday, January 13, 2012 10:16 AM
> To: Hardware locality user list
> Subject: Re: [hwloc-users] Compiling hwloc into a static library on
> Windows and Linux
>
> Andrew Helwer, le Fri 13 Jan 2012 18:09:11 +0100, a écrit :
> > > You can perhaps try to rename it into a .lib file and give that to
> VS.
> >
> > Didn't work.
>
> What errors do you get?
>
> Samuel
> _______________________________________________
> hwloc-users mailing list
> hwloc-users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users