compilation failed: Makefile:505: recipe for target 'graph_blockmodel.lo' failed
Dear Tiago,
I was able to run ./configure
without errors, but make
stopped after a while. Any hints?
Best regards, Arne
...
make[4]: Entering directory '/home/arne/bin/graph-tool-2.2.36/src/graph/community'
CXX graph_blockmodel.lo
In file included from graph_blockmodel.cc:39:0:
graph_blockmodel_overlap.hh: In lambda function:
graph_blockmodel_overlap.hh:900:50: error: no match for ‘operator[]’ in ‘((graph_tool::overlap_partition_stats_t*)this)->graph_tool::overlap_partition_stats_t::_embhist[bv_i]’
graph_blockmodel_overlap.hh:900:50: note: candidate is:
In file included from graph_blockmodel.hh:34:0,
from graph_blockmodel_overlap.hh:26,
from graph_blockmodel.cc:39:
/usr/include/sparsehash/dense_hash_map:260:14: note: google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::data_type& google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::operator[](const key_type&) [with Key = std::vector<int>; T = std::vector<long unsigned int>; HashFcn = std::hash<std::vector<int> >; EqualKey = std::equal_to<std::vector<int> >; Alloc = google::libc_allocator_with_realloc<std::pair<const std::vector<int>, std::vector<long unsigned int> > >; google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::data_type = std::vector<long unsigned int>; google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::key_type = std::vector<int>] <near match>
/usr/include/sparsehash/dense_hash_map:260:14: note: no known conversion for implicit ‘this’ parameter from ‘const ebhist_t* {aka const google::dense_hash_map<std::vector<int>, std::vector<long unsigned int>, std::hash<std::vector<int> > >*}’ to ‘google::dense_hash_map<std::vector<int>, std::vector<long unsigned int>, std::hash<std::vector<int> > >*’
In file included from graph_blockmodel.cc:39:0:
graph_blockmodel_overlap.hh:901:50: error: no match for ‘operator[]’ in ‘((graph_tool::overlap_partition_stats_t*)this)->graph_tool::overlap_partition_stats_t::_epbhist[bv_i]’
graph_blockmodel_overlap.hh:901:50: note: candidate is:
In file included from graph_blockmodel.hh:34:0,
from graph_blockmodel_overlap.hh:26,
from graph_blockmodel.cc:39:
/usr/include/sparsehash/dense_hash_map:260:14: note: google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::data_type& google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::operator[](const key_type&) [with Key = std::vector<int>; T = std::vector<long unsigned int>; HashFcn = std::hash<std::vector<int> >; EqualKey = std::equal_to<std::vector<int> >; Alloc = google::libc_allocator_with_realloc<std::pair<const std::vector<int>, std::vector<long unsigned int> > >; google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::data_type = std::vector<long unsigned int>; google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::key_type = std::vector<int>] <near match>
/usr/include/sparsehash/dense_hash_map:260:14: note: no known conversion for implicit ‘this’ parameter from ‘const ebhist_t* {aka const google::dense_hash_map<std::vector<int>, std::vector<long unsigned int>, std::hash<std::vector<int> > >*}’ to ‘google::dense_hash_map<std::vector<int>, std::vector<long unsigned int>, std::hash<std::vector<int> > >*’
In file included from graph_blockmodel.cc:39:0:
graph_blockmodel_overlap.hh: In lambda function:
graph_blockmodel_overlap.hh:927:44: error: no match for ‘operator[]’ in ‘((graph_tool::overlap_partition_stats_t*)this)->graph_tool::overlap_partition_stats_t::_embhist[bv]’
graph_blockmodel_overlap.hh:927:44: note: candidate is:
In file included from graph_blockmodel.hh:34:0,
from graph_blockmodel_overlap.hh:26,
from graph_blockmodel.cc:39:
/usr/include/sparsehash/dense_hash_map:260:14: note: google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::data_type& google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::operator[](const key_type&) [with Key = std::vector<int>; T = std::vector<long unsigned int>; HashFcn = std::hash<std::vector<int> >; EqualKey = std::equal_to<std::vector<int> >; Alloc = google::libc_allocator_with_realloc<std::pair<const std::vector<int>, std::vector<long unsigned int> > >; google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::data_type = std::vector<long unsigned int>; google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::key_type = std::vector<int>] <near match>
/usr/include/sparsehash/dense_hash_map:260:14: note: no known conversion for implicit ‘this’ parameter from ‘const ebhist_t* {aka const google::dense_hash_map<std::vector<int>, std::vector<long unsigned int>, std::hash<std::vector<int> > >*}’ to ‘google::dense_hash_map<std::vector<int>, std::vector<long unsigned int>, std::hash<std::vector<int> > >*’
In file included from graph_blockmodel.cc:39:0:
graph_blockmodel_overlap.hh:928:44: error: no match for ‘operator[]’ in ‘((graph_tool::overlap_partition_stats_t*)this)->graph_tool::overlap_partition_stats_t::_epbhist[bv]’
graph_blockmodel_overlap.hh:928:44: note: candidate is:
In file included from graph_blockmodel.hh:34:0,
from graph_blockmodel_overlap.hh:26,
from graph_blockmodel.cc:39:
/usr/include/sparsehash/dense_hash_map:260:14: note: google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::data_type& google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::operator[](const key_type&) [with Key = std::vector<int>; T = std::vector<long unsigned int>; HashFcn = std::hash<std::vector<int> >; EqualKey = std::equal_to<std::vector<int> >; Alloc = google::libc_allocator_with_realloc<std::pair<const std::vector<int>, std::vector<long unsigned int> > >; google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::data_type = std::vector<long unsigned int>; google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::key_type = std::vector<int>] <near match>
/usr/include/sparsehash/dense_hash_map:260:14: note: no known conversion for implicit ‘this’ parameter from ‘const ebhist_t* {aka const google::dense_hash_map<std::vector<int>, std::vector<long unsigned int>, std::hash<std::vector<int> > >*}’ to ‘google::dense_hash_map<std::vector<int>, std::vector<long unsigned int>, std::hash<std::vector<int> > >*’
In file included from ./../numpy_bind.hh:33:0,
from graph_blockmodel.cc:23:
./../numpy_bind_old.hh: In instantiation of ‘numpy_multi_array<ValueType, dim>::numpy_multi_array(typename numpy_multi_array<ValueType, dim>::base_t::element*, const ExtentList&, const StrideList&) [with ExtentList = std::vector<long unsigned int>; StrideList = std::vector<long unsigned int>; ValueType = int; long unsigned int dim = 1ul; typename numpy_multi_array<ValueType, dim>::base_t::element = int]’:
./../numpy_bind_old.hh:188:58: required from ‘boost::multi_array_ref<ValueType, dim> get_array(boost::python::api::object) [with ValueType = int; long unsigned int dim = 1ul]’
graph_blockmodel.cc:633:65: required from here
./../numpy_bind_old.hh:143:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Makefile:505: recipe for target 'graph_blockmodel.lo' failed
make[4]: *** [graph_blockmodel.lo] Error 1
make[4]: Leaving directory '/home/arne/bin/graph-tool-2.2.36/src/graph/community'
Makefile:690: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/arne/bin/graph-tool-2.2.36/src/graph'
Makefile:393: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/arne/bin/graph-tool-2.2.36/src'
Makefile:546: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/arne/bin/graph-tool-2.2.36'
Makefile:453: recipe for target 'all' failed
make: *** [all] Error 2