Boost logo

Boost Users :

From: Pooyan McSporran (duckfreezone_at_[hidden])
Date: 2006-01-01 21:39:30


I'm having problems trying to build boost 1.33.1 with comeau 4.3.3 on
Linux.

Firstly, I verified that the como compiler is working by creating a
'hello world' test program, and building it with the como compiler
and running it.

I tried to build Boost using the information at
http://www.boost.org/tools/build/v1/como-tools.html

For example,
$ tar -xjf boost_1_33_1.tar.bz2
$ cd boost_1_33_1
$ bjam -sTOOLS=como -sCOMO_PATH=/cc -sCOMO_INCLUDE_PATH=/cc/lib
-sCOMO_STDLIB_PATH=/cc stage

This results in numerous errors:

Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(and if you don't know what ICU is then you probably don't need it).
**** wide char i/o not supported by libcomo standard library ****
**** skipping build of
<@boost!libs!serialization!build>libboost_wserialization.a; toolset=
como variant= debug ****
**** wide char i/o not supported by libcomo standard library ****
**** skipping build of
<@boost!libs!serialization!build>libboost_wserialization.a; toolset=
como variant= release ****
**** DLLs cannot be built with this compiler ****
**** skipping build of
<@boost!libs!serialization!build>libboost_serialization.so; toolset=
como variant= debug ****
**** DLLs cannot be built with this compiler ****
**** skipping build of
<@boost!libs!serialization!build>libboost_serialization.so; toolset=
como variant= release ****
**** wide char i/o not supported by libcomo standard library ****
**** DLLs cannot be built with this compiler ****
**** skipping build of
<@boost!libs!serialization!build>libboost_wserialization.so; toolset=
como variant= debug ****
**** wide char i/o not supported by libcomo standard library ****
**** DLLs cannot be built with this compiler ****
**** skipping build of
<@boost!libs!serialization!build>libboost_wserialization.so; toolset=
como variant= release ****
...patience...
...patience...
...patience...
...found 6796 targets...
...updating 789 targets...
MkDir1 stage
MkDir1 stage/lib
MkDir1 bin
MkDir1 bin/boost
MkDir1 bin/boost/libs
MkDir1 bin/boost/libs/regex
MkDir1 bin/boost/libs/regex/build
MkDir1 bin/boost/libs/regex/build/libboost_regex.so
MkDir1 bin/boost/libs/regex/build/libboost_regex.so/como
MkDir1 bin/boost/libs/regex/build/libboost_regex.so/como/debug
como-C++-action
bin/boost/libs/regex/build/libboost_regex.so/como/debug/c_regex_traits.o
Comeau C/C++ 4.3.3 (Oct 24 2003 16:00:23) for RedHat_LINUX_INTEL_ELF
Copyright 1988-2003 Comeau Computing. All rights reserved.
MODE:strict errors C++

"/cc/lib/stl_tempbuf.h", line 53: error: identifier "INT_MAX"
          is undefined
    if (__len > ptrdiff_t(INT_MAX / sizeof(_Tp)))
                          ^

"/cc/lib/stl_tempbuf.h", line 101: error: identifier "INT_MAX"
          is undefined
      if (_M_len > (ptrdiff_t)(INT_MAX / sizeof(_Tp)))
                               ^

"/cc/lib/limits", line 205: error: identifier "CHAR_BIT" is
          undefined
    __STL_DECLARE_LIMITS_MEMBER(int,
    ^

(etc!)

Am I doing something stupid? For what it's worth, I've been using
boost with gcc for quite some time now with no problems, but decided
to give it a try with comeau, but no luck yet.

I have searched online for solutions to this, but couldn't find any
solutions that work for me.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net