Boost logo

Boost Users :

Subject: Re: [Boost-users] unable to build boost graph 1.43 with gcc 3.4.5 (Adam Spargo)
From: Vial, Florent (fvial_at_[hidden])
Date: 2010-05-21 05:13:20


>Have you set your include path correctly?
>-I"."
>-I"libs/graph/src"
>seems unlikely????

I ran
./bootstrap.sh
./bjam --build-dir="/tmp/boost_143.build.gcc34" threading=multi
link=static runtime-link=shared --prefix="/usr/local/boost1430-gcc34"
--without-mpi --without-python --without-serialization --without-test
--without-wave address-model=64 -d+2 --layout=tagged cxxflags="-fPIC"
-j8

Running the same 2 commands also fails building boost 1.42 with the same
error, but successfully builds boost 1.41.

Florent

 
A new star is born - ALEXA the most versatile digital camera system.
Get all the latest information from arridigital.com and YouTube.-----------------------------------------------------------------------
On Thu, 20 May 2010, Vial, Florent wrote:

> Hi,
>
> trying to build boost 1.43 with gcc 3.4.5, i obtain following error:
>
> "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -pthread -m64 -fPIC -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"."
> -I"libs/graph/src" -c -o
> "/tmp/boost_143.build.gcc34/boost/bin.v2/libs/graph/build/gcc-3.4.5/re
> le ase/address-model-64/link-static/threading-multi/graphml.o"
> "libs/graph/src/graphml.cpp"
> ./boost/property_tree/detail/xml_parser_read_rapidxml.hpp: In function

> `void
> boost::property_tree::xml_parser::read_xml_internal(std::basic_istream
> <t ypename Ptree::key_type::value_type, std::char_traits<typename
> Ptree::key_type::value_type> >&, Ptree&, int, const std::string&)
> [with Ptree = boost::property_tree::basic_ptree<std::string,
> std::string, std::less<std::string> >]':
> ./boost/property_tree/xml_parser.hpp:52: instantiated from `void
> boost::property_tree::xml_parser::read_xml(std::basic_istream<typename
> Ptree::key_type::value_type, std::char_traits<typename
> Ptree::key_type::value_type> >&, Ptree&, int) [with Ptree =
> boost::property_tree::ptree]'
> libs/graph/src/graphml.cpp:49: instantiated from here
> ./boost/property_tree/detail/xml_parser_read_rapidxml.hpp:108: error:
> non-constant `(((int)f_c) | 3072)' cannot be used as template argument
> ./boost/property_tree/detail/xml_parser_read_rapidxml.hpp:108: error:
> no matching function for call to
> `rapidxml::xml_document<char>::parse(char*)'
> ...skipped
> <p/tmp/boost_143.build.gcc34/boost/bin.v2/libs/graph/build/gcc-3.4.5/r
> el
> ease/address-model-64/link-static/threading-multi>libboost_graph-mt.a(
> cl
> ean) for lack of
> <p/tmp/boost_143.build.gcc34/boost/bin.v2/libs/graph/build/gcc-3.4.5/r
> el ease/address-model-64/link-static/threading-multi>graphml.o...
> ...skipped
> <p/tmp/boost_143.build.gcc34/boost/bin.v2/libs/graph/build/gcc-3.4.5/r
> el
> ease/address-model-64/link-static/threading-multi>libboost_graph-mt.a
> for lack of
> <p/tmp/boost_143.build.gcc34/boost/bin.v2/libs/graph/build/gcc-3.4.5/r
> el ease/address-model-64/link-static/threading-multi>graphml.o...
> ...skipped <pstage/lib>libboost_graph-mt.a for lack of
> <p/tmp/boost_143.build.gcc34/boost/bin.v2/libs/graph/build/gcc-3.4.5/r
> el
>
ease/address-model-64/link-static/threading-multi>libboost_graph-mt.a...
> ...failed updating 1 target...
>
> any workaround coming to mind ?
>
> Thank you,
> Florent

Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: Munchen - Registergericht: Amtsgericht Munchen - Handelsregisternummer: HRA 57918
Personlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: Munchen - Registergericht: Amtsgericht Munchen - Handelsregisternummer: HRB 54477
Geschaftsfuhrer: Franz Kraus; Dr. Martin Prillmann


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