|
Boost : |
Subject: Re: [boost] [1.40.0] Beta 1 release candidate available
From: KTC (ktc_at_[hidden])
Date: 2009-08-13 10:56:50
KTC wrote:
> I had gotten similar problem earlier trying to build all with ICU &
> expat with msvc9. However, it might be something to do on my end with
> external libraries dependence, so I will have to test it further before
> I can report.
It now appears it's different errors I was getting. Nevertheless, I am
unable to build everything without errors using VC 2008. :(
For this test, I was compiling with VC9 on XP x64 inside a VM targeting
x64. I had earlier tried it on x86 XP with VC9 with similar errors. Both
setup had build 1.39 successfully.
Basically, all the problems I'm having seems to evolve around
Boost.Graph, in particular its optional components GraphML reader, and MPI.
(The follow are all on --build-type=complete)
1st combination: No MPI, no GraphML, no ICU, yes bzip2, yes zlib. Build
successful.
2nd combination: No MPI, no ICU, yes GraphML (with
"<find-shared-library>expat" to "<find-shared-library>libexpatwMT" and
"<define>XML_STATIC" addition in Jamfile). Build failed 2, skipped 2.
See build_complete_no_mpi_icu.log. (Errors also occurred when 0, 1, or
the other change to the Jamfile was made.)
3rd combination: No ICU, no GraphML, yes MPI. Build failed 8, skipped
29. See a cut down version of the log in build_complete_no_icu_graphml.log.
Regex with ICU was built successfully on its own specifying link &
runtime-link.
KTC
-- Only two things are infinite, the Universe and Stupidity. And I'm not quite sure about the former. - Albert Einstein
warning: Building Boost.Regex with the optional Unicode/ICU support disabled.
note: Please refer to the Boost.Regex documentation for more information
note: this is a strictly optional feature.
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user_config.jam
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
...patience...
...patience...
...patience...
...found 9819 targets...
...updating 72 targets...
......
msvc.link.dll x64\boost\bin.v2\libs\regex\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_regex-vc90-mt-gd-1_40.dll
Creating library x64\boost\bin.v2\libs\regex\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_regex-vc90-mt-gd-1_40.lib and object x64\boost\bin.v2\libs\regex\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_regex-vc90-mt-gd-1_40.exp
msvc.manifest.dll x64\boost\bin.v2\libs\regex\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_regex-vc90-mt-gd-1_40.dll
common.copy stage\lib\boost_regex-vc90-mt-gd-1_40.dll
x64\boost\bin.v2\libs\regex\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_regex-vc90-mt-gd-1_40.dll
1 file(s) copied.
msvc.link.dll x64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_graph-vc90-mt-gd-1_40.dll
Creating library x64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_graph-vc90-mt-gd-1_40.lib and object x64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_graph-vc90-mt-gd-1_40.exp
graphml.obj : error LNK2019: unresolved external symbol __imp_XML_ParserFree referenced in function "public: void __cdecl graphml_reader::run(class std::basic_istream<char,struct std::char_traits<char> > &)" (?run_at_graphml_reader@@QEAAXAEAV?$basic_istream_at_DU?$char_traits_at_D@std@@@std@@@Z)
graphml.obj : error LNK2019: unresolved external symbol __imp_XML_GetCurrentLineNumber referenced in function "public: void __cdecl graphml_reader::run(class std::basic_istream<char,struct std::char_traits<char> > &)" (?run_at_graphml_reader@@QEAAXAEAV?$basic_istream_at_DU?$char_traits_at_D@std@@@std@@@Z)
graphml.obj : error LNK2019: unresolved external symbol __imp_XML_GetCurrentColumnNumber referenced in function "public: void __cdecl graphml_reader::run(class std::basic_istream<char,struct std::char_traits<char> > &)" (?run_at_graphml_reader@@QEAAXAEAV?$basic_istream_at_DU?$char_traits_at_D@std@@@std@@@Z)
graphml.obj : error LNK2019: unresolved external symbol __imp_XML_ErrorString referenced in function "public: void __cdecl graphml_reader::run(class std::basic_istream<char,struct std::char_traits<char> > &)" (?run_at_graphml_reader@@QEAAXAEAV?$basic_istream_at_DU?$char_traits_at_D@std@@@std@@@Z)
graphml.obj : error LNK2019: unresolved external symbol __imp_XML_GetErrorCode referenced in function "public: void __cdecl graphml_reader::run(class std::basic_istream<char,struct std::char_traits<char> > &)" (?run_at_graphml_reader@@QEAAXAEAV?$basic_istream_at_DU?$char_traits_at_D@std@@@std@@@Z)
graphml.obj : error LNK2019: unresolved external symbol __imp_XML_Parse referenced in function "public: void __cdecl graphml_reader::run(class std::basic_istream<char,struct std::char_traits<char> > &)" (?run_at_graphml_reader@@QEAAXAEAV?$basic_istream_at_DU?$char_traits_at_D@std@@@std@@@Z)
graphml.obj : error LNK2019: unresolved external symbol __imp_XML_SetUserData referenced in function "public: void __cdecl graphml_reader::run(class std::basic_istream<char,struct std::char_traits<char> > &)" (?run_at_graphml_reader@@QEAAXAEAV?$basic_istream_at_DU?$char_traits_at_D@std@@@std@@@Z)
graphml.obj : error LNK2019: unresolved external symbol __imp_XML_SetCharacterDataHandler referenced in function "public: void __cdecl graphml_reader::run(class std::basic_istream<char,struct std::char_traits<char> > &)" (?run_at_graphml_reader@@QEAAXAEAV?$basic_istream_at_DU?$char_traits_at_D@std@@@std@@@Z)
graphml.obj : error LNK2019: unresolved external symbol __imp_XML_SetElementHandler referenced in function "public: void __cdecl graphml_reader::run(class std::basic_istream<char,struct std::char_traits<char> > &)" (?run_at_graphml_reader@@QEAAXAEAV?$basic_istream_at_DU?$char_traits_at_D@std@@@std@@@Z)
graphml.obj : error LNK2019: unresolved external symbol __imp_XML_ParserCreateNS referenced in function "public: void __cdecl graphml_reader::run(class std::basic_istream<char,struct std::char_traits<char> > &)" (?run_at_graphml_reader@@QEAAXAEAV?$basic_istream_at_DU?$char_traits_at_D@std@@@std@@@Z)
x64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_graph-vc90-mt-gd-1_40.dll : fatal error LNK1120: 10 unresolved externals
call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86_amd64 >nul
link call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86_amd64 >nul
link call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86_amd64 >nul
link call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86_amd64 >nul
link /NOLOGO /NOLOGO /NOLOGO /NOLOGO /INCREMENTAL:NO /INCREMENTAL:NO /INCREMENTAL:NO /INCREMENTAL:NO /DLL /DEBUG /DEBUG /DEBUG /DEBUG /MACHINE:X64 /MACHINE:X64 /MACHINE:X64 /MACHINE:X64 /subsystem:console /subsystem:console /subsystem:console /subsystem:console /out:"x64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_graph-vc90-mt-gd-1_40.dll" /IMPLIB:"x64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_graph-vc90-mt-gd-1_40.lib" /LIBPATH:"C:\expat-2.0.1\x64\bin\Release" /LIBPATH:"C:\expat-2.0.1\x64\bin\Release" /LIBPATH:"C:\expat-2.0.1\x64\bin\Release" /LIBPATH:"C:\expat-2.0.1\x64\bin\Release" @"x64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_graph-vc90-mt-gd-1_40.dll.rsp"
if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
...failed msvc.link.dll x64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_graph-vc90-mt-gd-1_40.dll x64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_graph-vc90-mt-gd-1_40.lib x64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_graph.pdb x64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_graph.pdb x64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_graph.pdb x64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_graph.pdb...
...removing x64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_graph-vc90-mt-gd-1_40.lib
...skipped <pstage\lib>boost_graph-vc90-mt-gd-1_40.dll for lack of <px64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi>boost_graph.pdb...
common.copy stage\lib\boost_graph-vc90-mt-gd-1_40.lib
The system cannot find the file specified.
copy /b "x64\boost\bin.v2\libs\graph\build\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_graph-vc90-mt-gd-1_40.lib" + this-file-does-not-exist-A698EE7806899E69 "stage\lib\boost_graph-vc90-mt-gd-1_40.lib"
...failed common.copy stage\lib\boost_graph-vc90-mt-gd-1_40.lib...
...removing stage\lib\boost_graph-vc90-mt-gd-1_40.lib
common.copy stage\lib\boost_zlib-vc90-mt-gd-1_40.dll
x64\boost\bin.v2\libs\iostreams\build\zlib\msvc-9.0\debug\address-model-64\architecture-x86\threading-multi\boost_zlib-vc90-mt-gd-1_40.dll
1 file(s) copied.
......
...failed updating 2 targets...
...skipped 2 targets...
...updated 68 targets...
warning: Building Boost.Regex with the optional Unicode/ICU support disabled.
note: Please refer to the Boost.Regex documentation for more information
note: this is a strictly optional feature.
warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
note: directories containing the Expat headers and libraries, respectively.
...patience...
...patience...
...patience...
...found 11830 targets...
...updating 131 targets...
......
call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86_amd64 >nul
cl /Zm800 -nologo @"x64\boost\bin.v2\libs\graph_parallel\build\msvc-9.0\release\address-model-64\architecture-x86\threading-multi\mpi_process_group.obj.rsp"
...failed compile-c-c++ x64\boost\bin.v2\libs\graph_parallel\build\msvc-9.0\release\address-model-64\architecture-x86\threading-multi\mpi_process_group.obj...
..skipped <px64\boost\bin.v2\libs\graph_parallel\build\msvc-9.0\release\address-model-64\architecture-x86\threading-multi>boost_graph_parallel-vc90-mt-1_40.dll for lack of <px64\boost\bin.v2\libs\graph_parallel\build\msvc-9.0\release\address-model-64\architecture-x86\threading-multi>mpi_process_group.obj...
...skipped <px64\boost\bin.v2\libs\graph_parallel\build\msvc-9.0\release\address-model-64\architecture-x86\threading-multi>boost_graph_parallel-vc90-mt-1_40.lib for lack of <px64\boost\bin.v2\libs\graph_parallel\build\msvc-9.0\release\address-model-64\architecture-x86\threading-multi>mpi_process_group.obj...
...skipped <pstage\lib>boost_graph_parallel-vc90-mt-1_40.dll for lack of <px64\boost\bin.v2\libs\graph_parallel\build\msvc-9.0\release\address-model-64\architecture-x86\threading-multi>boost_graph_parallel-vc90-mt-1_40.dll...
...skipped <pstage\lib>boost_graph_parallel-vc90-mt-1_40.lib for lack of <px64\boost\bin.v2\libs\graph_parallel\build\msvc-9.0\release\address-model-64\architecture-x86\threading-multi>boost_graph_parallel-vc90-mt-1_40.lib...
...skipped <pstage\lib>boost_graph_parallel-vc90-mt.lib for lack of <pstage\lib>boost_graph_parallel-vc90-mt-1_40.lib...
compile-c-c++ x64\boost\bin.v2\libs\graph_parallel\build\msvc-9.0\debug\address-model-64\architecture-x86\link-static\threading-multi\mpi_process_group.obj
mpi_process_group.cpp
C:\boost_1_40_0_beta1\boost/mpi/detail/mpi_datatype_primitive.hpp(57) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
C:\boost_1_40_0_beta1\boost/mpi/detail/mpi_datatype_primitive.hpp(75) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
C:\boost_1_40_0_beta1\boost/mpi/detail/packed_oprimitive.hpp(53) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
C:\boost_1_40_0_beta1\boost/mpi/detail/packed_oprimitive.hpp(84) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
C:\boost_1_40_0_beta1\boost/mpi/detail/packed_oprimitive.hpp(95) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
C:\boost_1_40_0_beta1\boost/mpi/detail/packed_oprimitive.hpp(99) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
C:\boost_1_40_0_beta1\boost/mpi/detail/binary_buffer_oprimitive.hpp(53) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
C:\boost_1_40_0_beta1\boost/mpi/detail/binary_buffer_oprimitive.hpp(86) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
C:\boost_1_40_0_beta1\boost/mpi/detail/packed_iprimitive.hpp(63) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
C:\boost_1_40_0_beta1\boost/mpi/detail/packed_iprimitive.hpp(106) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
C:\boost_1_40_0_beta1\boost/mpi/detail/binary_buffer_iprimitive.hpp(63) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
C:\boost_1_40_0_beta1\boost/graph/distributed/unsafe_serialize.hpp(40) : error C2182: 'unsafe_serialize' : illegal use of type 'void'
C:\boost_1_40_0_beta1\boost/graph/distributed/unsafe_serialize.hpp(40) : error C2182: 'abstract declarator' : illegal use of type 'void'
C:\boost_1_40_0_beta1\boost/graph/distributed/unsafe_serialize.hpp(46) : error C2770: invalid explicit template argument(s) for 'MPI_Datatype boost::mpi::get_mpi_datatype(const T &)'
C:\boost_1_40_0_beta1\boost/mpi/datatype_fwd.hpp(28) : see declaration of 'boost::mpi::get_mpi_datatype'
libs\graph_parallel\src\mpi_process_group.cpp(360) : warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data
libs\graph_parallel\src\mpi_process_group.cpp(467) : warning C4267: 'argument' : conversion from 'size_t' to 'const int', possible loss of data
libs\graph_parallel\src\mpi_process_group.cpp(561) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
libs\graph_parallel\src\mpi_process_group.cpp(921) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
libs\graph_parallel\src\mpi_process_group.cpp(929) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
libs\graph_parallel\src\mpi_process_group.cpp(1101) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86_amd64 >nul
cl /Zm800 -nologo @"x64\boost\bin.v2\libs\graph_parallel\build\msvc-9.0\debug\address-model-64\architecture-x86\link-static\threading-multi\mpi_process_group.obj.rsp"
...failed compile-c-c++ x64\boost\bin.v2\libs\graph_parallel\build\msvc-9.0\debug\address-model-64\architecture-x86\link-static\threading-multi\mpi_process_group.obj...
...skipped <px64\boost\bin.v2\libs\graph_parallel\build\msvc-9.0\debug\address-model-64\architecture-x86\link-static\threading-multi>libboost_graph_parallel-vc90-mt-gd-1_40.lib for lack of <px64\boost\bin.v2\libs\graph_parallel\build\msvc-9.0\debug\address-model-64\architecture-x86\link-static\threading-multi>mpi_process_group.obj...
...skipped <pstage\lib>libboost_graph_parallel-vc90-mt-gd-1_40.lib for lack of <px64\boost\bin.v2\libs\graph_parallel\build\msvc-9.0\debug\address-model-64\architecture-x86\link-static\threading-multi>libboost_graph_parallel-vc90-mt-gd-1_40.lib...
...skipped <pstage\lib>libboost_graph_parallel-vc90-mt-gd.lib for lack of <pstage\lib>libboost_graph_parallel-vc90-mt-gd-1_40.lib...
compile-c-c++ x64\boost\bin.v2\libs\graph_parallel\build\msvc-9.0\release\address-model-64\architecture-x86\link-static\threading-multi\mpi_process_group.obj
mpi_process_group.cpp
.\boost/mpi/detail/mpi_datatype_primitive.hpp(57) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
.\boost/mpi/detail/mpi_datatype_primitive.hpp(75) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
\boost/mpi/detail/packed_oprimitive.hpp(53) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
.\boost/mpi/detail/packed_oprimitive.hpp(84) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
.\boost/mpi/detail/packed_oprimitive.hpp(95) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
.\boost/mpi/detail/packed_oprimitive.hpp(99) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
.\boost/mpi/detail/binary_buffer_oprimitive.hpp(53) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
.\boost/mpi/detail/binary_buffer_oprimitive.hpp(86) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
.\boost/mpi/detail/packed_iprimitive.hpp(63) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
.\boost/mpi/detail/packed_iprimitive.hpp(106) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
.\boost/mpi/detail/binary_buffer_iprimitive.hpp(63) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
.\boost/graph/distributed/unsafe_serialize.hpp(40) : error C2182: 'unsafe_serialize' : illegal use of type 'void'
.\boost/graph/distributed/unsafe_serialize.hpp(40) : error C2182: 'abstract declarator' : illegal use of type 'void'
.\boost/graph/distributed/unsafe_serialize.hpp(46) : error C2770: invalid explicit template argument(s) for 'MPI_Datatype boost::mpi::get_mpi_datatype(const T &)'
.\boost/mpi/datatype_fwd.hpp(28) : see declaration of 'boost::mpi::get_mpi_datatype'
libs\graph_parallel\src\mpi_process_group.cpp(360) : warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data
libs\graph_parallel\src\mpi_process_group.cpp(467) : warning C4267: 'argument' : conversion from 'size_t' to 'const int', possible loss of data
libs\graph_parallel\src\mpi_process_group.cpp(561) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
libs\graph_parallel\src\mpi_process_group.cpp(921) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
libs\graph_parallel\src\mpi_process_group.cpp(929) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
libs\graph_parallel\src\mpi_process_group.cpp(1101) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
......
...failed updating 8 targets...
...skipped 29 targets...
...updated 94 targets...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk