
Richard Hadsell wrote:
I am trying to build the Boost 1.41.0 libraries with this command:
bin/bjam --user-config=user-config.LINUX_AMDF7 threading=multi instruction-set=opteron address-model=64 variant=release,debug,profile link=static,shared --stagedir=stageF7 stage
The last time I built Boost libraries was version 1.35.0. I eliminated all of the other options to narrow the problem to just this option:
variant=release,debug
The build starts up successfully, if I select just one option for variant (debug or release), but it fails when I try to build both. These are the error messages:
error: Duplicate name of actual target:
libboost_date_time.a
By default, the build process creates libraries named in accordance with system conventions, e.g. libboost_date_time.a -- and naturally, you cannot produce both debug and release libraries named that way. So, either build one variant or use --layout=tagged. HTH, Volodya