← Back to team overview

oqgraph-dev team mailing list archive

Re: build errors 2013-02-25

 

Hi Antony

> Hmm.. I am pretty sure that default install installed 4.6 ... 4.7 is
> known to be more fussy.

Haven't done anything special to installed g++
Just standard repos for all that, simply updated with distro update foo.


> Looking at boost mailing list, it appears that boost 1.48+ are known
> not to work on g++ 4.7

Euh... so how do we address that?

Cheers,
Arjen.


> On 24 February 2013 20:08, Arjen Lentz < arjen@xxxxxxxxxxxxx > wrote:
> 
> 
> g++ (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
> 
> 
> 
> 
> ----- Original Message -----
> From: "Antony T Curtis" < atcurtis@xxxxxxxxx >
> To: "Arjen Lentz" < arjen@xxxxxxxxxxxxx >
> Cc: oqgraph-dev@xxxxxxxxxxxxxxxxxxx
> Sent: Monday, 25 February, 2013 1:59:15 PM
> Subject: Re: [Oqgraph-dev] build errors 2013-02-25
> 
> if you type g++ --version, what does it say?
> 
> 
> On 24 February 2013 19:22, Arjen Lentz < arjen@xxxxxxxxxxxxx > wrote:
> 
> 
> 
> Ubuntu 12.10 with libboost-dev 1.49
> bzr clean-tree
> BUILD/compile-pentium64-debug-max
> 
> 
> 
> In file included from
> /usr/include/boost/graph/detail/adjacency_list.hpp:31:0,
> from /usr/include/boost/graph/adjacency_list.hpp:337,
> from /usr/include/boost/graph/directed_graph.hpp:11,
> from /home/arjen/mariadb/oqgraph3/storage/oqgraph/oqgraph_shim.h:35,
> from
> /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore-graph.h:30,
> from /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:30:
> /usr/include/boost/graph/graph_concepts.hpp: In instantiation of
> ‘boost::concepts::IncidenceGraph<G>::~IncidenceGraph() [with G =
> oqgraph3::graph]’:
> /usr/include/boost/graph/graph_concepts.hpp:74:1: required from
> ‘static void
> boost::concepts::requirement<boost::concepts::failed************
> Model::************>::failed() [with Model =
> boost::concepts::IncidenceGraphConcept<oqgraph3::graph>]’
> /usr/include/boost/graph/breadth_first_search.hpp:63:1: required from
> ‘void boost::breadth_first_visit(const IncidenceGraph&, typename
> boost::graph_traits<Graph>::vertex_descriptor, Buffer&, BFSVisitor,
> ColorMap) [with IncidenceGraph = oqgraph3::graph; Buffer =
> boost::queue<long long unsigned int>; BFSVisitor =
> boost::bfs_visitor<std::pair<boost::predecessor_recorder<boost::associative_property_map<boost::unordered::unordered_map<long
> long unsigned int, long long unsigned int> >, boost::on_tree_edge>,
> open_query::oqgraph_goal<false, boost::on_discover_vertex,
> boost::associative_property_map<boost::unordered::unordered_map<long
> long unsigned int, long long unsigned int> > > > >; ColorMap =
> boost::two_bit_judy_map<oqgraph3::vertex_index_property_map>; typename
> boost::graph_traits<Graph>::vertex_descriptor = long long unsigned
> int]’
> /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:788:67:
> required from here
> /usr/include/boost/graph/graph_concepts.hpp:92:13: error: ‘out_edges’
> was not declared in this scope, and no declarations were found by
> argument-dependent lookup at the point of instantiation [-fpermissive]
> In file included from
> /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:40:0:
> /usr/include/boost/graph/reverse_graph.hpp:234:1: note:
> ‘template<class BidirectionalGraph, class GRef> std::pair<typename
> boost::reverse_graph<BidirectionalGraph>::out_edge_iterator, typename
> boost::reverse_graph<BidirectionalGraph>::out_edge_iterator>
> boost::out_edges(typename
> boost::graph_traits<Graph>::vertex_descriptor, const
> boost::reverse_graph<BidirectionalGraph, GraphRef>&)’ declared here,
> later in the translation unit
> In file included from
> /usr/include/boost/graph/detail/adjacency_list.hpp:31:0,
> from /usr/include/boost/graph/adjacency_list.hpp:337,
> from /usr/include/boost/graph/directed_graph.hpp:11,
> from /home/arjen/mariadb/oqgraph3/storage/oqgraph/oqgraph_shim.h:35,
> from
> /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore-graph.h:30,
> from /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:30:
> /usr/include/boost/graph/graph_concepts.hpp:93:13: error: ‘out_degree’
> was not declared in this scope, and no declarations were found by
> argument-dependent lookup at the point of instantiation [-fpermissive]
> In file included from
> /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:40:0:
> /usr/include/boost/graph/reverse_graph.hpp:256:1: note:
> ‘template<class BidirectionalGraph, class GRef> typename
> boost::graph_traits<Graph>::degree_size_type
> boost::out_degree(typename
> boost::graph_traits<Graph>::vertex_descriptor, const
> boost::reverse_graph<BidirectionalGraph, GraphRef>&)’ declared here,
> later in the translation unit
> In file included from
> /usr/include/boost/graph/detail/adjacency_list.hpp:31:0,
> from /usr/include/boost/graph/adjacency_list.hpp:337,
> from /usr/include/boost/graph/directed_graph.hpp:11,
> from /home/arjen/mariadb/oqgraph3/storage/oqgraph/oqgraph_shim.h:35,
> from
> /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore-graph.h:30,
> from /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:30:
> /usr/include/boost/graph/graph_concepts.hpp:95:13: error: ‘source’ was
> not declared in this scope, and no declarations were found by
> argument-dependent lookup at the point of instantiation [-fpermissive]
> In file included from
> /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:40:0:
> /usr/include/boost/graph/reverse_graph.hpp:315:1: note:
> ‘template<class Edge, class BidirectionalGraph, class GRef> typename
> boost::graph_traits<BidirectionalGraph>::vertex_descriptor
> boost::source(const
> boost::detail::reverse_graph_edge_descriptor<Edge>&, const
> boost::reverse_graph<BidirectionalGraph, GRef>&)’ declared here, later
> in the translation unit
> In file included from
> /usr/include/boost/graph/detail/adjacency_list.hpp:31:0,
> from /usr/include/boost/graph/adjacency_list.hpp:337,
> from /usr/include/boost/graph/directed_graph.hpp:11,
> from /home/arjen/mariadb/oqgraph3/storage/oqgraph/oqgraph_shim.h:35,
> from
> /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore-graph.h:30,
> from /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:30:
> /usr/include/boost/graph/graph_concepts.hpp:96:13: error: ‘target’ was
> not declared in this scope, and no declarations were found by
> argument-dependent lookup at the point of instantiation [-fpermissive]
> In file included from
> /home/arjen/mariadb/oqgraph3/storage/oqgraph/graphcore.cc:40:0:
> /usr/include/boost/graph/reverse_graph.hpp:322:1: note:
> ‘template<class Edge, class BidirectionalGraph, class GRef> typename
> boost::graph_traits<BidirectionalGraph>::vertex_descriptor
> boost::target(const
> boost::detail::reverse_graph_edge_descriptor<Edge>&, const
> boost::reverse_graph<BidirectionalGraph, GRef>&)’ declared here, later
> in the translation unit
> make[2]: *** [storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o]
> Error 1
> make[1]: *** [storage/oqgraph/CMakeFiles/oqgraph.dir/all] Error 2
> make: *** [all] Error 2
> 
> 
> 
> 
> --
> Antony T Curtis
> 0523 C487 9187 6972 6894
> AEC7 3087 F819 B477 B687
> 
> 
> 
> --
> Arjen Lentz, Exec.Director @ Open Query ( http://openquery.com )
> Australian peace of mind for your MySQL/MariaDB infrastructure.
> 
> Follow us at http://openquery.com/blog/ & http://twitter.com/openquery
> 
> 
> 
> 
> 
> --
> Antony T Curtis
> 0523 C487 9187 6972 6894
> AEC7 3087 F819 B477 B687

-- 
Arjen Lentz, Exec.Director @ Open Query (http://openquery.com)
Australian peace of mind for your MySQL/MariaDB infrastructure.

Follow us at http://openquery.com/blog/ & http://twitter.com/openquery



Follow ups

References