Boost logo

Boost-Build :

Subject: [Boost-build] can't build shared libraries when building against STLport
From: Masaru Nomiya (nomiya_at_[hidden])
Date: 2010-11-23 02:53:57


Hello,

I've been tried to build boost_1_45_0 against STLport 5.2.1 on 64bit
Linux (openSUSE 11.1).

I run bjam as follows;

$ ./bjam stdlib=stlport --toolset=gcc -sBUILD=release,debug runtime-debugging=on runtime-link=shared --build-type=complete --layout=versioned link=shared --stagedir=./stage stage

But I've never got shared libraries.

My log is as follows;

Performing configuration checks

    - has_icu builds : yes
    - ../config//has_gcc_visibility builds : yes
    - ../config//has_long_double_support builds : yes

Component configuration:

    - date_time : building
    - filesystem : building
    - graph : building
    - graph_parallel : building
    - iostreams : building
    - math : building
    - mpi : building
    - program_options : building
    - python : building
    - random : building
    - regex : building
    - serialization : building
    - signals : building
    - system : building
    - test : building
    - thread : building
    - wave : building

...patience...
...patience...
...patience...
...patience...
...found 12994 targets...
...updating 1778 targets...
common.mkdir stage
common.mkdir stage/lib
common.mkdir bin.v2/libs/regex/build/gcc-4.3/debug/stdlib-stlport-5.2.1
common.mkdir bin.v2/libs/regex/build/gcc-4.3/debug/stdlib-stlport-5.2.1/threading-multi
[...]
    "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_HAS_ICU=1 -DBOOST_REGEX_DYN_LINK=1 -D_STLP_DEBUG=1 -D_STLP_DEBUG_UNINITIALIZED=1 -D_STLP_USE_DYNAMIC_LIB=1 -I"." -I"/usr/include" -I"/usr/local/include/stlport" -c -o "bin.v2/libs/regex/build/gcc-4.3/debug/stdlib-stlport-5.2.1/threading-multi/c_regex_traits.o" "libs/regex/build/../src/c_regex_traits.cpp"

...failed gcc.compile.c++ bin.v2/libs/regex/build/gcc-4.3/debug/stdlib-stlport-5.2.1/threading-multi/c_regex_traits.o...
[...]
    "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_HAS_ICU=1 -DBOOST_REGEX_DYN_LINK=1 -D_STLP_DEBUG=1 -D_STLP_DEBUG_UNINITIALIZED=1 -D_STLP_USE_DYNAMIC_LIB=1 -I"." -I"/usr/include" -I"/usr/local/include/stlport" -c -o "bin.v2/libs/regex/build/gcc-4.3/debug/stdlib-stlport-5.2.1/threading-multi/cpp_regex_traits.o" "libs/regex/build/../src/cpp_regex_traits.cpp"

...failed gcc.compile.c++ bin.v2/libs/regex/build/gcc-4.3/debug/stdlib-stlport-5.2.1/threading-multi/cpp_regex_traits.o...
[...]
...failed gcc.compile.c++ bin.v2/libs/regex/build/gcc-4.3/debug/stdlib-stlport-5.2.1/threading-multi/usinstances.o...
...skipped <pbin.v2/libs/regex/build/gcc-4.3/debug/stdlib-stlport-5.2.1/threading-multi>libboost_regex-gcc43-mt-gdp-1_45.so.1.45.0 for lack of <pbin.v2/libs/regex/build/gcc-4.3/debug/stdlib-stlport-5.2.1/threading-multi>c_regex_traits.o...
...skipped <pstage/lib>libboost_regex-gcc43-mt-gdp-1_45.so.1.45.0 for lack of <pbin.v2/libs/regex/build/gcc-4.3/debug/stdlib-stlport-5.2.1/threading-multi>libboost_regex-gcc43-mt-gdp-1_45.so.1.45.0...
...skipped <pstage/lib>libboost_regex-gcc43-mt-gdp-1_45.so for lack of <pstage/lib>libboost_regex-gcc43-mt-gdp-1_45.so.1.45.0...
[...]

What are <pbin.v2/...>, and <pstage/...>?

This is same as for builing the very latest boost.

Any help?

Thanks in advance.

Regards,

---
 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk