Hi, Im trying to compile boost with sun studio 12 update 1 for solaris x64. After a little browsing I needed to use the following command: bjam toolset=sun stdlib=sun-stlport address-model=64 stage Source: http://blogs.sun.com/sga/entry/boost_and_sun_studio_12 Ouput CC -V: CC: Sun C++ 5.10 SunOS_i386 2009/06/03 However when I do this I get the following errors: ./bjam toolset=sun stdlib=sun-stlport address-model=64 stage warning: Building Boost.Regex with the optional Unicode/ICU support disabled. note: Please refer to the Boost.Regex documentation for more information note: this is a strictly optional feature. warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using mpi ;" to your user-config.jam warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam. note: to suppress this message, pass "--without-mpi" to bjam. note: otherwise, you can safely ignore this message. ...patience... ...patience... ...patience... ...found 6676 targets... ...updating 466 targets... sun.compile.c++ bin.v2/libs/python/build/sun/release/address-model-64/stdlib-sun-stlport/threading-multi/numeric.o "./boost/python/detail/type_list_impl.hpp", line 47: Error: BOOST_PP_ENUM_1 is not defined. "./boost/python/detail/type_list_impl.hpp", line 48: Error: Badly formed expression. "./boost/python/detail/type_list_impl.hpp", line 47: Error: BOOST_PP_ENUM_1 is not defined. "./boost/python/detail/type_list_impl.hpp", line 48: Error: Badly formed expression. "./boost/python/detail/type_list_impl.hpp", line 47: Error: BOOST_PP_ENUM_1 is not defined. "./boost/python/detail/type_list_impl.hpp", line 48: Error: Badly formed expression. "./boost/python/detail/type_list_impl.hpp", line 47: Error: BOOST_PP_ENUM_1 is not defined. "./boost/python/detail/type_list_impl.hpp", line 48: Error: Badly formed expression. "./boost/python/detail/type_list_impl.hpp", line 47: Error: BOOST_PP_ENUM_1 is not defined. "./boost/python/detail/type_list_impl.hpp", line 48: Error: Badly formed expression. "./boost/python/detail/type_list_impl.hpp", line 47: Error: BOOST_PP_ENUM_1 is not defined. "./boost/python/detail/type_list_impl.hpp", line 48: Error: Badly formed expression. "./boost/python/detail/type_list_impl.hpp", line 47: Error: BOOST_PP_ENUM_1 is not defined. "./boost/python/detail/type_list_impl.hpp", line 48: Error: Badly formed expression. "./boost/python/detail/type_list_impl.hpp", line 47: Error: BOOST_PP_ENUM_1 is not defined. "./boost/python/detail/type_list_impl.hpp", line 48: Error: Badly formed expression. "./boost/python/detail/type_list_impl.hpp", line 47: Error: BOOST_PP_ENUM_1 is not defined. "./boost/python/detail/type_list_impl.hpp", line 48: Error: Badly formed expression. "./boost/python/detail/type_list_impl.hpp", line 47: Error: BOOST_PP_ENUM_1 is not defined. "./boost/python/detail/type_list_impl.hpp", line 48: Error: Badly formed expression. "./boost/python/detail/type_list_impl.hpp", line 47: Error: BOOST_PP_ENUM_1 is not defined. "./boost/python/detail/type_list_impl.hpp", line 48: Error: Badly formed expression. "./boost/python/detail/type_list_impl.hpp", line 47: Error: BOOST_PP_ENUM_1 is not defined. "./boost/python/detail/type_list_impl.hpp", line 48: Error: Badly formed expression. "./boost/python/detail/type_list_impl.hpp", line 47: Error: BOOST_PP_ENUM_1 is not defined. Compilation aborted, too many Error messages. "CC" -library=stlport4 -xO4 -mt -erroff=%none -m64 -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/usr/include/python2.4" -c -o "bin.v2/libs/python/build/sun/release/address-model-64/stdlib-sun-stlport/threading-multi/numeric.o" "libs/python/src/numeric.cpp" I haven't pasted the rest of the failures, since I think this is due because of this first failure. If need be, let me know, so I can email that as well. Regards, Iskandar