Boost logo

Boost Users :

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


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/rele
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/rel
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/rel
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/rel
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/rel
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/rel
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
 
A new star is born - ALEXA the most versatile digital camera system.
Get all the latest information from arridigital.com and YouTube.


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