Boost logo

Boost Users :

From: Michael H. Cox (yg-boost-users_at_[hidden])
Date: 2003-08-13 01:30:48


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_at_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"

...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
>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
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_at_unit_test_framework_at_boost@@HQAPAD_at_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"
>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_
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_at_unit_test_framework_at_boost@@HQAPAD_at_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"
>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
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
>boost_unit_test_framework.lib...
MkDir1
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_at_unit_test_framework_at_boost@@HQAPAD_at_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"

...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_at_unit_test_framework_at_boost@@HQAPAD_at_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"
>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_
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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net