Errors building boost w/ VC++ 6.0 sp5
I downloaded boost_1_30_0.zip, unpacked the zip file, cd'ed into boost_1_30_0, and ran "bjam "-sTOOLS=msvc". Most of the library seemd to compile fine (Python was skipped since I didn't have it installed). Bjam failed to update 12 targets, skipped 12 targets (the same 12 that failed?), and updated 452 targets. The error messages at the end were: ...failed vc-Link libs\test\build\bin\boost_test_exec_monitor.dll\msvc\debug\run time-link-dynamic\threading-single\boost_test_exec_monitor.dll libs\test\build\b in\boost_test_exec_monitor.dll\msvc\debug\runtime-link-dynamic\threading-sin gle\ boost_test_exec_monitor.lib... ...skipped <libs!test!build\boost_test_exec_monitor.dll\msvc\debug\runtime-link- dynamic\threading-single>boost_test_exec_monitor.dll for lack of <libs!test!buil d\boost_test_exec_monitor.dll\msvc\debug\runtime-link-dynamic\threading-sing le>b oost_test_exec_monitor.lib... MkDir1 libs\test\build\bin\boost_test_exec_monitor.dll\msvc\debug\runtime-link-d ynamic\threading-multi vc-C++ libs\test\build\bin\boost_test_exec_monitor.dll\msvc\debug\runtime-link-d ynamic\threading-multi\execution_monitor.obj execution_monitor.cpp vc-C++ libs\test\build\bin\boost_test_exec_monitor.dll\msvc\debug\runtime-link-d ynamic\threading-multi\test_tools.obj test_tools.cpp vc-C++ libs\test\build\bin\boost_test_exec_monitor.dll\msvc\debug\runtime-link-d ynamic\threading-multi\unit_test_parameters.obj unit_test_parameters.cpp vc-C++ libs\test\build\bin\boost_test_exec_monitor.dll\msvc\debug\runtime-link-d ynamic\threading-multi\unit_test_log.obj unit_test_log.cpp vc-C++ libs\test\build\bin\boost_test_exec_monitor.dll\msvc\debug\runtime-link-d ynamic\threading-multi\unit_test_monitor.obj unit_test_monitor.cpp vc-C++ libs\test\build\bin\boost_test_exec_monitor.dll\msvc\debug\runtime-link-d ynamic\threading-multi\unit_test_result.obj unit_test_result.cpp vc-C++ libs\test\build\bin\boost_test_exec_monitor.dll\msvc\debug\runtime-link-d ynamic\threading-multi\unit_test_suite.obj unit_test_suite.cpp vc-C++ libs\test\build\bin\boost_test_exec_monitor.dll\msvc\debug\runtime-link-d ynamic\threading-multi\test_main.obj test_main.cpp vc-Link libs\test\build\bin\boost_test_exec_monitor.dll\msvc\debug\runtime-link- dynamic\threading-multi\boost_test_exec_monitor.dll libs\test\build\bin\boost_te st_exec_monitor.dll\msvc\debug\runtime-link-dynamic\threading-multi\boost_te st_e xec_monitor.lib test_main.obj : error LNK2001: unresolved external symbol "int __cdecl test_main (int,char * * const)" (?test_main@@YAHHQAPAD@Z) libs\test\build\bin\boost_test_exec_monitor.dll\msvc\debug\runtime-link-dyna mic\ threading-multi\boost_test_exec_monitor.dll : fatal error LNK1120: 1 unresolved externals CALL "C:\Program Files\Microsoft Visual Studio\VC98\bin\VCVARS32.BAT"
nul "C:\Program Files\Microsoft Visual Studio\VC98\bin\link" /nologo /INCREMENT AL:NO /DEBUG /DLL /subsystem:console /out:"libs\test\build\bin\boost_test_exe c_monitor.dll\msvc\debug\runtime-link-dynamic\threading-multi\boost_test_exe c_mo nitor.dll" /IMPLIB:"libs\test\build\bin\boost_test_exec_monitor.dll\msvc\debug\ runtime-link-dynamic\threading-multi\boost_test_exec_monitor.lib" @"libs\tes t\build\bin\boost_test_exec_monitor.dll\msvc\debug\runtime-link-dynamic\thre adin g-multi\boost_test_exec_monitor.CMD"
boo st_test_exec_monitor.lib... MkDir1 libs\test\build\bin\boost_unit_test_framework.dll MkDir1 libs\test\build\bin\boost_unit_test_framework.dll\msvc MkDir1 libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug MkDir1
nul "C:\Program Files\Microsoft Visual Studio\VC98\bin\link" /nologo /INCREMENT AL:NO /DEBUG /DLL /subsystem:console /out:"libs\test\build\bin\boost_unit_tes t_framework.dll\msvc\debug\runtime-link-static\threading-single\boost_unit_t est_
nul "C:\Program Files\Microsoft Visual Studio\VC98\bin\link" /nologo /INCREMENT AL:NO /DEBUG /DLL /subsystem:console /out:"libs\test\build\bin\boost_unit_tes t_framework.dll\msvc\debug\runtime-link-static\threading-multi\boost_unit_te st_f ramework.dll" /IMPLIB:"libs\test\build\bin\boost_unit_test_framework.dll\msvc\d ebug\runtime-link-static\threading-multi\boost_unit_test_framework.lib" @"li bs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link-stat ic\t
boost_unit_test_framework.lib... MkDir1
...failed vc-Link libs\test\build\bin\boost_test_exec_monitor.dll\msvc\debug\run time-link-dynamic\threading-multi\boost_test_exec_monitor.dll libs\test\build\bi n\boost_test_exec_monitor.dll\msvc\debug\runtime-link-dynamic\threading-mult i\bo ost_test_exec_monitor.lib... ...skipped <libs!test!build\boost_test_exec_monitor.dll\msvc\debug\runtime-link- dynamic\threading-multi>boost_test_exec_monitor.dll for lack of <libs!test!build \boost_test_exec_monitor.dll\msvc\debug\runtime-link-dynamic\threading-multi libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static MkDir1 libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-single vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-single\execution_monitor.obj execution_monitor.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-single\test_tools.obj test_tools.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-single\unit_test_parameters.obj unit_test_parameters.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-single\unit_test_log.obj unit_test_log.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-single\unit_test_monitor.obj unit_test_monitor.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-single\unit_test_result.obj unit_test_result.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-single\unit_test_suite.obj unit_test_suite.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-single\unit_test_main.obj unit_test_main.cpp vc-Link libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-lin k-static\threading-single\boost_unit_test_framework.dll libs\test\build\bin\boos t_unit_test_framework.dll\msvc\debug\runtime-link-static\threading-single\bo ost_ unit_test_framework.lib unit_test_main.obj : error LNK2001: unresolved external symbol "class boost::uni t_test_framework::test_suite * __cdecl init_unit_test_suite(int,char * * const)" (?init_unit_test_suite@@YAPAVtest_suite@unit_test_framework@boost@@HQAPAD@Z) libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link-st atic \threading-single\boost_unit_test_framework.dll : fatal error LNK1120: 1 unresol ved externals CALL "C:\Program Files\Microsoft Visual Studio\VC98\bin\VCVARS32.BAT" framework.dll" /IMPLIB:"libs\test\build\bin\boost_unit_test_framework.dll\msvc\ debug\runtime-link-static\threading-single\boost_unit_test_framework.lib" @" libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link-st atic \threading-single\boost_unit_test_framework.CMD" ...failed vc-Link libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\r untime-link-static\threading-single\boost_unit_test_framework.dll libs\test\buil d\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link-static\threading -sin gle\boost_unit_test_framework.lib... ...skipped <libs!test!build\boost_unit_test_framework.dll\msvc\debug\runtime-lin k-static\threading-single>boost_unit_test_framework.dll for lack of <libs!test!b uild\boost_unit_test_framework.dll\msvc\debug\runtime-link-static\threading- sing le>boost_unit_test_framework.lib... MkDir1 libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-multi vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-multi\execution_monitor.obj execution_monitor.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-multi\test_tools.obj test_tools.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-multi\unit_test_parameters.obj unit_test_parameters.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-multi\unit_test_log.obj unit_test_log.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-multi\unit_test_monitor.obj unit_test_monitor.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-multi\unit_test_result.obj unit_test_result.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-multi\unit_test_suite.obj unit_test_suite.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -static\threading-multi\unit_test_main.obj unit_test_main.cpp vc-Link libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-lin k-static\threading-multi\boost_unit_test_framework.dll libs\test\build\bin\boost _unit_test_framework.dll\msvc\debug\runtime-link-static\threading-multi\boos t_un it_test_framework.lib unit_test_main.obj : error LNK2001: unresolved external symbol "class boost::uni t_test_framework::test_suite * __cdecl init_unit_test_suite(int,char * * const)" (?init_unit_test_suite@@YAPAVtest_suite@unit_test_framework@boost@@HQAPAD@Z) libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link-st atic \threading-multi\boost_unit_test_framework.dll : fatal error LNK1120: 1 unresolv ed externals CALL "C:\Program Files\Microsoft Visual Studio\VC98\bin\VCVARS32.BAT" hreading-multi\boost_unit_test_framework.CMD" ...failed vc-Link libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\r untime-link-static\threading-multi\boost_unit_test_framework.dll libs\test\build \bin\boost_unit_test_framework.dll\msvc\debug\runtime-link-static\threading- mult i\boost_unit_test_framework.lib... ...skipped <libs!test!build\boost_unit_test_framework.dll\msvc\debug\runtime-lin k-static\threading-multi>boost_unit_test_framework.dll for lack of <libs!test!bu ild\boost_unit_test_framework.dll\msvc\debug\runtime-link-static\threading-m ulti libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic MkDir1 libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-single vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-single\execution_monitor.obj execution_monitor.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-single\test_tools.obj test_tools.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-single\unit_test_parameters.obj unit_test_parameters.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-single\unit_test_log.obj unit_test_log.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-single\unit_test_monitor.obj unit_test_monitor.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-single\unit_test_result.obj unit_test_result.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-single\unit_test_suite.obj unit_test_suite.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-single\unit_test_main.obj unit_test_main.cpp vc-Link libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-lin k-dynamic\threading-single\boost_unit_test_framework.dll libs\test\build\bin\boo st_unit_test_framework.dll\msvc\debug\runtime-link-dynamic\threading-single\ boos t_unit_test_framework.lib unit_test_main.obj : error LNK2001: unresolved external symbol "class boost::uni t_test_framework::test_suite * __cdecl init_unit_test_suite(int,char * * const)" (?init_unit_test_suite@@YAPAVtest_suite@unit_test_framework@boost@@HQAPAD@Z) libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link-dy nami c\threading-single\boost_unit_test_framework.dll : fatal error LNK1120: 1 unreso lved externals CALL "C:\Program Files\Microsoft Visual Studio\VC98\bin\VCVARS32.BAT"
nul "C:\Program Files\Microsoft Visual Studio\VC98\bin\link" /nologo /INCREMENT AL:NO /DEBUG /DLL /subsystem:console /out:"libs\test\build\bin\boost_unit_tes t_framework.dll\msvc\debug\runtime-link-dynamic\threading-single\boost_unit_ test _framework.dll" /IMPLIB:"libs\test\build\bin\boost_unit_test_framework.dll\msvc \debug\runtime-link-dynamic\threading-single\boost_unit_test_framework.lib" @"libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link- dyna mic\threading-single\boost_unit_test_framework.CMD"
nul "C:\Program Files\Microsoft Visual Studio\VC98\bin\link" /nologo /INCREMENT AL:NO /DEBUG /DLL /subsystem:console /out:"libs\test\build\bin\boost_unit_tes t_framework.dll\msvc\debug\runtime-link-dynamic\threading-multi\boost_unit_t est_
...failed vc-Link libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\r untime-link-dynamic\threading-single\boost_unit_test_framework.dll libs\test\bui ld\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link-dynamic\threadi ng-s ingle\boost_unit_test_framework.lib... ...skipped <libs!test!build\boost_unit_test_framework.dll\msvc\debug\runtime-lin k-dynamic\threading-single>boost_unit_test_framework.dll for lack of <libs!test! build\boost_unit_test_framework.dll\msvc\debug\runtime-link-dynamic\threadin g-si ngle>boost_unit_test_framework.lib... MkDir1 libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-multi vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-multi\execution_monitor.obj execution_monitor.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-multi\test_tools.obj test_tools.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-multi\unit_test_parameters.obj unit_test_parameters.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-multi\unit_test_log.obj unit_test_log.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-multi\unit_test_monitor.obj unit_test_monitor.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-multi\unit_test_result.obj unit_test_result.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-multi\unit_test_suite.obj unit_test_suite.cpp vc-C++ libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link -dynamic\threading-multi\unit_test_main.obj unit_test_main.cpp vc-Link libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-lin k-dynamic\threading-multi\boost_unit_test_framework.dll libs\test\build\bin\boos t_unit_test_framework.dll\msvc\debug\runtime-link-dynamic\threading-multi\bo ost_ unit_test_framework.lib unit_test_main.obj : error LNK2001: unresolved external symbol "class boost::uni t_test_framework::test_suite * __cdecl init_unit_test_suite(int,char * * const)" (?init_unit_test_suite@@YAPAVtest_suite@unit_test_framework@boost@@HQAPAD@Z) libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link-dy nami c\threading-multi\boost_unit_test_framework.dll : fatal error LNK1120: 1 unresol ved externals CALL "C:\Program Files\Microsoft Visual Studio\VC98\bin\VCVARS32.BAT" framework.dll" /IMPLIB:"libs\test\build\bin\boost_unit_test_framework.dll\msvc\ debug\runtime-link-dynamic\threading-multi\boost_unit_test_framework.lib" @" libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link-dy nami c\threading-multi\boost_unit_test_framework.CMD" ...failed vc-Link libs\test\build\bin\boost_unit_test_framework.dll\msvc\debug\r untime-link-dynamic\threading-multi\boost_unit_test_framework.dll libs\test\buil d\bin\boost_unit_test_framework.dll\msvc\debug\runtime-link-dynamic\threadin g-mu lti\boost_unit_test_framework.lib... ...skipped <libs!test!build\boost_unit_test_framework.dll\msvc\debug\runtime-lin k-dynamic\threading-multi>boost_unit_test_framework.dll for lack of <libs!test!b uild\boost_unit_test_framework.dll\msvc\debug\runtime-link-dynamic\threading -mul ti>boost_unit_test_framework.lib... vc-Link libs\thread\build\bin\boost_thread.dll\msvc\debug\runtime-link-dynamic\t hreading-multi\boost_thread.dll libs\thread\build\bin\boost_thread.dll\msvc\debu g\runtime-link-dynamic\threading-multi\boost_thread.lib Creating library libs\thread\build\bin\boost_thread.dll\msvc\debug\runtime-li nk-dynamic\threading-multi\boost_thread.lib and object libs\thread\build\bin\boo st_thread.dll\msvc\debug\runtime-link-dynamic\threading-multi\boost_thread.e xp ...failed updating 12 targets... ...skipped 12 targets... ...updated 452 targets... C:\boost_1_30_0> Any ideas what I need to do to get it to build properly? Mike mhcox AT ampmed DOT com
You could not build shared libraries on Windows. Search this group for more details. Gennadiy.
"Gennadiy E. Rozental" <rogeeff@mail.com> writes:
You could not build shared libraries on Windows. Search this group for more details.
Gennadiy.
Gennadiy, I don't think this can be an acceptable answer for much longer. It causes new users too much grief too often. What's it going to take for you to make the test library build right OOTB (or is it already fixed in the CVS)? -- Dave Abrahams Boost Consulting www.boost-consulting.com
--- In Boost-Users@yahoogroups.com, David Abrahams <dave@b...> wrote:
"Gennadiy E. Rozental" <rogeeff@m...> writes:
You could not build shared libraries on Windows. Search this group for more details.
Gennadiy.
Gennadiy,
I don't think this can be an acceptable answer for much longer. It causes new users too much grief too often. What's it going to take for you to make the test library build right OOTB (or is it already fixed in the CVS)?
While ago. Right after 1.30.0 came out. I already explained this in this newsgroup three times. Gennadiy.
"Gennadiy E. Rozental" <rogeeff@mail.com> writes:
--- In Boost-Users@yahoogroups.com, David Abrahams <dave@b...> wrote:
"Gennadiy E. Rozental" <rogeeff@m...> writes:
You could not build shared libraries on Windows. Search this group for more details.
Gennadiy.
Gennadiy,
I don't think this can be an acceptable answer for much longer. It causes new users too much grief too often. What's it going to take for you to make the test library build right OOTB (or is it already fixed in the CVS)?
While ago. Right after 1.30.0 came out. I already explained this in this newsgroup three times.
Sorry I missed it. Is the fix checked into the RC_1_30_0 branch so it will go out with 1.30.2? -- Dave Abrahams Boost Consulting www.boost-consulting.com
While ago. Right after 1.30.0 came out. I already explained this in this newsgroup three times.
Sorry I missed it. Is the fix checked into the RC_1_30_0 branch so it will go out with 1.30.2?
I do not know. My PC is in disassembled state at the moment, so I have only limited access to the tools needed. Particulaly I do not have any compilers or cvs. It would be difficult to me to fix it before you are planning the release. Gennadiy.
"Gennadiy E. Rozental" <rogeeff@mail.com> writes:
While ago. Right after 1.30.0 came out. I already explained this in this newsgroup three times.
Sorry I missed it. Is the fix checked into the RC_1_30_0 branch so it will go out with 1.30.2?
I do not know. My PC is in disassembled state at the moment, so I have only limited access to the tools needed. Particulaly I do not have any compilers or cvs. It would be difficult to me to fix it before you are planning the release.
OK, I applied the changes from the HEAD libs/test/build/Jamfile to RC_1_30_0 and checked the build. I presume that's all that was needed? -- Dave Abrahams Boost Consulting www.boost-consulting.com
OK, I applied the changes from the HEAD libs/test/build/Jamfile to RC_1_30_0 and checked the build. I presume that's all that was needed?
I do not think this will do. There was one more change in Jamfile - I added one more module. You should not be able to build using latest Jamfile and 1.30.0 sources. Gennadiy.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
"Gennadiy E. Rozental" <rogeeff@mail.com> writes:
OK, I applied the changes from the HEAD libs/test/build/Jamfile to RC_1_30_0 and checked the build. I presume that's all that was needed?
I do not think this will do. There was one more change in Jamfile - I added one more module. You should not be able to build using latest Jamfile and 1.30.0 sources.
I didn't take that part of your change. I did test the build after making the change, after all ;-> -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (3)
-
David Abrahams
-
Gennadiy E. Rozental
-
Michael H. Cox