When compiling boost 1.33.1 on SunOS with CC 5.8 and all patches applied
(121017-01, 121017-02, 121017-03) you should use the following compiler
options:
-library=stlport4 -features=tmplife,tmplrefstatic -Qoption ccfe
-complextmplexp
The last one will solve your problem.
-----Original Message-----
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of Prashant
Thakre
Sent: Friday, 8 September 2006 4:53 PM
To: boost-users@lists.boost.org
Subject: Re: [Boost-users][Boost][1_33_1] Assertion during build stage:
Solaris 10
David Abrahams
Prashant Thakre
writes: Hi, I have encountered following error during the build process for [Boost].[1_33_1] on Solaris 10.
bjam install "-sTOOLS=sunpro" "-sBUILD=release <runtime-link>dynamic/static <threading>multi" --without-python Jamfile
sunpro-C++-action /export/home/user/tmp/bin/boost/libs/regex/build/ libboost_regex.so/sunpro/release/cregex.o Assertion: (../lnk/init.cc, line 1032) while processing /db2/sunstudio11/SUNWspro/prod/include/CC/Cstd/rw/
collate.cc
at l ine 0. ...failed sunpro-C++-action /export/home/user/tmp/bin/boost/libs/regex/build/ libboost_regex.so/sunpro/release/cregex.o...
CC: Sun C++ 5.8 2005/10/13 SunOS <hostname> 5.10 Generic_118833-03 sun4u sparc SUNW,Sun-Fire-280R
Assertions in the compiler indicate compiler bugs. You should report this to Sun.
I have made some progress after applying Sun Studio 11 Patches ( http:// developers.sun.com/prodtech/cc/downloads/patches/ss11_patches.html ). However, the below listed error is thrown up during the build: ...failed sunpro-C++-action /export/home/user/tmp/bin/boost/libs/wave/build/ libboost_wave.a/sunpro/release/threading-multi/instantiate_cpp_grammar.o ... sunpro-C++-action /export/home/user/tmp/bin/boost/libs/wave/build/ libboost_wave.a/sunpro/release/threading-multi/instantiate_cpp_literalgr s.o "/export/home/user/src-boost/boost_1_33_1/boost/spirit/core/composite/ epsilon.hpp", line 76: Error: complex expression not allowed in dependent template argument expression. 1 Error(s) detected. Thanks. -- Prashant _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users ******************************************************************************** This e-mail and the information it contains may be privileged and/or confidential. It is for the intended addressee(s) only. The unauthorised use, disclosure or copying of this e-mail, or any information it contains, is prohibited. If you are not an intended recipient, please contact the sender and delete the material from your computer. ********************************************************************************