Boost logo

Boost :

From: Elias Biris (ebiris_at_[hidden])
Date: 2001-10-30 05:21:28


Hi,

I am a newbie in STL and Boost libraries I have downloaded the latest
version of Boost and ftjam and tried to build boost, but I am getting the
following error when executing
jam -ftools/build/allyourbase.jam -sTOOLS="gcc gcc"

-----------------------------------8<snip------------------
...found 181 targets...
...updating 48 targets...
gcc-C++-action
libs/regex/build/bin/libboost_regex.a/gcc/debug/runtime-link-dynamic/c_regex_traits.o

gcc-C++-action
libs/regex/build/bin/libboost_regex.a/gcc/debug/runtime-link-dynamic/c_regex_traits_common.o

gcc-C++-action
libs/regex/build/bin/libboost_regex.a/gcc/debug/runtime-link-dynamic/cpp_regex_traits.o

gcc-C++-action
libs/regex/build/bin/libboost_regex.a/gcc/debug/runtime-link-dynamic/cregex.o
In file included from libs/regex/build/../../../boost/regex.hpp:44,
from libs/regex/build/../src/cregex.cpp:27:
libs/regex/build/../../../boost/regex/detail/regex_stack.hpp:47: parse
error before `<'
libs/regex/build/../../../boost/regex/detail/regex_stack.hpp:52:
`Allocator' was not declared in this scope
libs/regex/build/../../../boost/regex/detail/regex_stack.hpp:52: template
argument 2 is invalid
libs/regex/build/../../../boost/regex/detail/regex_stack.hpp:52: `type' is
not a class or namespace
libs/regex/build/../../../boost/regex/detail/regex_stack.hpp:52: warning:
ANSI C++ forbids typedef which does not specify a type
libs/regex/build/../../../boost/regex/detail/regex_stack.hpp:52: confused
by earlier errors, bailing out

-----------------------------------8<snip------------------

I am running that on a Linux 2.2.12-20 kernel (i586 machine). My gcc is
2.95. The syntax offending line (47 in regex_stack.hpp) contains a template
declaration with a specific allocator.

all tips will be gratefully appreciated

Elias Biris, Software Engineer, R&D Livingston
Cadence Design Systems, EMAIL:: ebiris_at_[hidden]
SOC Design Centre, 1 The Alba Campus TEL (DD):: +44 (0)1506 59 5036
Livingston EH54 7HH, Scotland, UK FAX :: +44 (0)1506 59
5959


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk