Hello! Please, help me to solve the following problem:

 

I’m trying to build a simple project with one cpp file and boost 1.36.0 date time library.

This is my Jamfile:

 

exe TimerTest

ššš : TimerTest.cpp

ššš $(BOOST_PATH)/libs/date_time/build//boost_date_time

ššš :

ššš ;

 

install . : TimerTest ;

 

and this is output of bjam:

 

suse103:/projects/ivr/TimerTest # bjam

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.

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.

/projects/boost_1_36_0/tools/build/v2/build/virtual-target.jam:1032: in virtual-target.register-actual-name from module virtual-target

error: Duplicate name of actual target: <p/projects/ivr/build/TimerTest/gcc-4.2.1/debug/threading-multi>TimerTest.o

error: previous virtual target { gcc%gcc.compile.c++-TimerTest.o.OBJ { TimerTest.cpp.CPP } }

error: created from ./TimerTest

error: another virtual target { gcc%gcc.compile.c++-TimerTest.o.OBJ { TimerTest.cpp.CPP } }

error: created from ./TimerTest

error: added properties: <python-debugging>off <python>2.5 <threadapi>pthread

error: removed properties: none

/projects/boost_1_36_0/tools/build/v2/build/virtual-target.jam:468: in actualize-no-scanner from module object(file-target)@472

/projects/boost_1_36_0/tools/build/v2/build/virtual-target.jam:123: in object(file-target)@472.actualize from module object(file-target)@472

/projects/boost_1_36_0/tools/build/v2/build/virtual-target.jam:766: in actualize-source-type from module object(action)@482

/projects/boost_1_36_0/tools/build/v2/build/virtual-target.jam:787: in actualize-sources from module object(action)@482

/projects/boost_1_36_0/tools/build/v2/build/virtual-target.jam:728: in object(action)@482.actualize from module object(action)@482

/projects/boost_1_36_0/tools/build/v2/build/virtual-target.jam:289: in actualize-action from module object(file-target)@483

/projects/boost_1_36_0/tools/build/v2/build/virtual-target.jam:477: in actualize-no-scanner from module object(file-target)@483

/projects/boost_1_36_0/tools/build/v2/build/virtual-target.jam:123: in object(file-target)@483.actualize from module object(file-target)@483

/projects/boost_1_36_0/tools/build/v2/build-system.jam:681: in load from module build-system

/projects/boost_1_36_0/tools/build/v2/kernel/modules.jam:281: in import from module modules

/projects/boost_1_36_0/tools/build/v2/kernel/bootstrap.jam:128: in boost-build from module

/projects/ivr/boost-build.jam:1: in module scope from module

 

Build succeeds if I remove the install instruction ( install . : TimerTest ; )

Sorry if this message is posted to wrong mailing-list.

 

Grigory.