Subject: [Boost-bugs] [Boost C++ Libraries] #10384: Building boost 1.48.0 on Solaris with stlport4.6.2, File system is not building
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-20 10:50:25
#10384: Building boost 1.48.0 on Solaris with stlport4.6.2, File system is not
building
------------------------------+------------------------
Reporter: harshaltan@⦠| Owner: bemandawes
Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
Version: Boost 1.48.0 | Severity: Problem
Keywords: |
------------------------------+------------------------
Hi Team,
I am trying to build boost on solaris with STLport-4.6.2. I am able to
build few libraries but failed to build filesystem, wave and graph. I am
pasting the errors here. Please let me know if there is any work around or
patch available for it.
----------------------------
File system Errors
----------------------------
sun.compile.c++ bin.v2/libs/filesystem/build/sun/release/address-model-32
/link-static/stdlib-stlport-4.6.2/threading-multi/v3/src/path.o
"./boost/filesystem/v3/path.hpp", line 161: Error: iterator_traits is not
a member of std.
"libs/filesystem/v3/src/path.cpp", line 270: Where: While
instantiating "boost::filesystem3::path::path<const char*>(const char*,
const char*)".
"libs/filesystem/v3/src/path.cpp", line 270: Where: Instantiated from
non-template code.
"./boost/filesystem/v3/path.hpp", line 161: Error: "," expected instead of
"<".
"libs/filesystem/v3/src/path.cpp", line 270: Where: While
instantiating "boost::filesystem3::path::path<const char*>(const char*,
const char*)".
"libs/filesystem/v3/src/path.cpp", line 270: Where: Instantiated from
non-template code.
"./boost/filesystem/v3/path.hpp", line 161: Error: Illegal value for
template parameter.
"libs/filesystem/v3/src/path.cpp", line 270: Where: While
instantiating "boost::filesystem3::path::path<const char*>(const char*,
const char*)".
"libs/filesystem/v3/src/path.cpp", line 270: Where: Instantiated from
non-template code.
"./boost/filesystem/v3/path.hpp", line 161: Error: Unexpected type name
"std::basic_string<int>::value_type" encountered.
"libs/filesystem/v3/src/path.cpp", line 270: Where: While
instantiating "boost::filesystem3::path::path<const char*>(const char*,
const char*)".
"libs/filesystem/v3/src/path.cpp", line 270: Where: Instantiated from
non-template code.
"./boost/filesystem/v3/path.hpp", line 162: Error: The function "s" must
have a prototype.
"libs/filesystem/v3/src/path.cpp", line 270: Where: While
instantiating "boost::filesystem3::path::path<const char*>(const char*,
const char*)".
"libs/filesystem/v3/src/path.cpp", line 270: Where: Instantiated from
non-template code.
"libs/filesystem/v3/src/path.cpp", line 797: Error: Could not find a match
for std::use_facet<std::Facet>(std::locale) needed in static
boost::filesystem3
::path::wchar_t_codecvt_facet().
"libs/filesystem/v3/src/path.cpp", line 806: Error: Could not find a match
for std::use_facet<std::Facet>(std::locale) needed in static
boost::filesystem3
::path::imbue(const std::locale&).
7 Error(s) detected.
--------------------------
Wave Errors
--------------------------
...failed sun.compile.c++ bin.v2/libs/wave/build/sun/release/address-
model-32/link-static/stdlib-stlport-4.6.2/threading-
multi/instantiate_predef_macros.o
...
sun.compile.c++ bin.v2/libs/wave/build/sun/release/address-model-32/link-
static/stdlib-stlport-4.6.2/threading-multi/instantiate_re2c_lexer.o
"./boost/wave/util/flex_string.hpp", line 124: Error: Templates can only
declare classes or functions.
"./boost/wave/util/flex_string.hpp", line 126: Error: "," expected instead
of "!=".
"./boost/wave/util/flex_string.hpp", line 126: Error: A declaration was
expected instead of "--".
"./boost/wave/util/flex_string.hpp", line 126: Error: Multiple declaration
for n.
"./boost/wave/util/flex_string.hpp", line 126: Error: Use ";" to terminate
declarations.
"./boost/wave/util/flex_string.hpp", line 126: Error: A declaration was
expected instead of "++".
"./boost/wave/util/flex_string.hpp", line 126: Error: Use ";" to terminate
declarations.
"./boost/wave/util/flex_string.hpp", line 126: Error: A declaration was
expected instead of "++".
"./boost/wave/util/flex_string.hpp", line 126: Error: "," expected instead
of ")".
"./boost/wave/util/flex_string.hpp", line 130: Error: A declaration was
expected instead of "return".
"./boost/wave/util/flex_string.hpp", line 2605: Error: A declaration was
expected instead of "}".
"./boost/wave/util/flex_string.hpp", line 2606: Error: A declaration was
expected instead of "}".
"./boost/wave/token_ids.hpp", line 359: Error: flex_string is not a member
of boost::wave::util.
"./boost/wave/token_ids.hpp", line 359: Error: A declaration does not
specify a tag or an identifier.
"./boost/wave/token_ids.hpp", line 359: Error: Use ";" to terminate
declarations.
"./boost/wave/token_ids.hpp", line 359: Error: A declaration was expected
instead of "<".
"./boost/wave/token_ids.hpp", line 359: Error: A declaration does not
specify a tag or an identifier.
"./boost/wave/token_ids.hpp", line 359: Error: Use ";" to terminate
declarations.
"./boost/wave/token_ids.hpp", line 359: Error: A declaration was expected
instead of ",".
"./boost/wave/token_ids.hpp", line 359: Warning: declarator required in
declaration.
"./boost/wave/token_ids.hpp", line 359: Error: Use ";" to terminate
declarations.
"./boost/wave/token_ids.hpp", line 359: Error: A declaration was expected
instead of ",".
"./boost/wave/token_ids.hpp", line 359: Warning: declarator required in
declaration.
"./boost/wave/token_ids.hpp", line 359: Error: Use ";" to terminate
declarations.
"./boost/wave/token_ids.hpp", line 359: Error: A declaration was expected
instead of ",".
"./boost/wave/token_ids.hpp", line 359: Error: CowString is not a member
of boost::wave::util.
"./boost/wave/token_ids.hpp", line 359: Error: A declaration does not
specify a tag or an identifier.
Compilation aborted, too many Error messages.
"CC" -xO4 -mt -erroff=%none -m32 -DBOOST_ALL_NO_LIB=1
-DBOOST_THREAD_USE_LIB=1 -DNDEBUG -D_STLP_USE_DYNAMIC_LIB=1 -I"."
-I"/sw/source/mer_misc_libs/ST
Lport-4.6.2" -c -o "bin.v2/libs/wave/build/sun/release/address-model-32
/link-static/stdlib-stlport-4.6.2/threading-
multi/instantiate_re2c_lexer.o" "libs/w
ave/src/instantiate_re2c_lexer.cpp"
Please let me know in case, there is already resolution present. Command
used to build is:
---------------------------
bjam --without-python toolset=sun stdlib=stlport-4.6.2 address-model=32
stage --d2
user_config has below input:
------------------------------
using stlport : 4.6.2 : /sw/source/mer_misc_libs/STLport-4.6.2 :
/sw/source/mer_misc_libs/STLport-4.6.2/lib ;
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10384> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC