Hello all,
I do not always find time to update our project to use the latest and
greatest boost version but occasionally I do. At the moment I try to
move to at least version 1.39 for my target (power-pc, 32-bit, embedded
linux, gcc-4.0.0 cross compiler) and see the following error when
compiling the math libs:
./boost/math/special_functions/expm1.hpp:270: error: '::expm1l' has not
been declared
With version 1.41 it's even more severe since bjam exits with an error
before any compilation can take place:
error: Duplicate name of actual target:
libboost_date_time.so.1.41.0
error: previous virtual target {
common%common.copy-libboost_date_time.so.1.41.0.SHARED_LIB {
gcc%gcc.link.dll-libboost_date_time.so.1.41.0.SHARED_LIB {
gcc%gcc.compile.c++-gregorian/greg_month.o.OBJ {
gregorian/greg_month.cpp.CPP } } {
gcc%gcc.compile.c++-gregorian/greg_weekday.o.OBJ {
gregorian/greg_weekday.cpp.CPP } } {
gcc%gcc.compile.c++-gregorian/date_generators.o.OBJ {
gregorian/date_generators.cpp.CPP } } } }
error: created from ./stage-proper
error: another virtual target {
common%common.copy-libboost_date_time.so.1.41.0.SHARED_LIB {
gcc%gcc.link.dll-libboost_date_time.so.1.41.0.SHARED_LIB {
gcc%gcc.compile.c++-gregorian/greg_month.o.OBJ {
gregorian/greg_month.cpp.CPP } } {
gcc%gcc.compile.c++-gregorian/greg_weekday.o.OBJ {
gregorian/greg_weekday.cpp.CPP } } {
gcc%gcc.compile.c++-gregorian/date_generators.o.OBJ {
gregorian/date_generators.cpp.CPP } } } }
error: created from ./stage-proper
error: added properties: <debug-symbols>off <define>NDEBUG
<inlining>full <optimization>speed <runtime-debugging>off
<variant>release
error: removed properties: <debug-symbols>on <inlining>off
<optimization>off <runtime-debugging>on <variant>debug
/home/cpf/boost_1_41_0/tools/build/v2/build/virtual-target.jam:490: in
actualize-no-scanner from module object(file-target)@4875
/home/cpf/boost_1_41_0/tools/build/v2/build/virtual-target.jam:135: in
object(file-target)@4875.actualize from module object(file-target)@4875
/home/cpf/boost_1_41_0/tools/build/v2/build-system.jam:717: in load from
module build-system
/home/cpf/boost_1_41_0/tools/build/v2/kernel/modules.jam:283: in import
from module modules
/home/cpf/boost_1_41_0/tools/build/v2/kernel/bootstrap.jam:142: in
boost-build from module
/home/cpf/boost_1_41_0/boost-build.jam:17: in module scope from module
I hope someone can look into this.
Regards,
--
Christian Pfligersdorffer
Software Engineering
http://www.eos.info