Boost logo

Boost-Build :

Subject: [Boost-build] Building Boost libraries using the solaris studio 12.2 compiler
From: Jeff Franklin (jeff_at_[hidden])
Date: 2011-06-17 06:48:31


Hello,

I have been trying to build the boost libraries using the most recent
sun compiler now distributed by oracle. I am not able to get the
library to compile and I am wondering if someone could confirm that the
sun compiler can compile this library. The following are the
particulars of what I have done.

I am using the suse 11.4 operating system

I have tried building the boost versions 1.46.1, 1.45.

I have used the following command to try and compile boost

sh ./bootstrap.sh --with-libraries=system,thread,filesystem
--with-toolset=sun

Which results in the following for version 1.45
Building Boost.Jam with toolset sun...
tools/build/v2/engine/src/bin.linuxx86_64/bjam
Unicode/ICU support for Boost.Regex?... not found.
Generating Boost.Build configuration in project-config.jam...

Bootstrapping is done. To build, run:

     ./bjam

To adjust configuration, edit 'project-config.jam'.
Further information:

    - Command line help:
      ./bjam --help

    - Getting started guide:
      http://www.boost.org/more/getting_started/unix-variants.html

    - Boost.Build documentation:
      http://www.boost.org/boost-build2/doc/html/index.html

When I run ./bjam only the system library compiles and I receive errors
such as:

sun.compile.c++
bin.v2/libs/filesystem/build/sun/release/stdlib-sun-stlport/threading-multi/v3/src/operations.o
"libs/filesystem/v3/src/operations.cpp", line 1696: Error: DT_UNKNOWN is
not defined.
"libs/filesystem/v3/src/operations.cpp", line 1702: Error: DT_DIR is not
defined.
"libs/filesystem/v3/src/operations.cpp", line 1704: Error: DT_REG is not
defined.
"libs/filesystem/v3/src/operations.cpp", line 1706: Error: DT_LNK is not
defined.
4 Error(s) detected.


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