Re: fc5 and gcc4.1 compiler problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



of course, i pasted the output below. as i said already earlyer that's not my source, and i am not a c++ developer at all... can me give someon a hint where to look for the error (i suppose in the interfaces.cpp)...

g++ -I/usr/local/lib64/R/include -I/usr/local/lib64/R/include  -I/usr/local/include  -I/usr/include/boost -fpic  -g -O2 -c bbc.cpp -o bbc.o
g++ -I/usr/local/lib64/R/include -I/usr/local/lib64/R/include  -I/usr/local/include  -I/usr/include/boost -fpic  -g -O2 -c cliques.cpp -o cliques.o
g++ -I/usr/local/lib64/R/include -I/usr/local/lib64/R/include  -I/usr/local/include  -I/usr/include/boost -fpic  -g -O2 -c hcs.cpp -o hcs.o
g++ -I/usr/local/lib64/R/include -I/usr/local/lib64/R/include  -I/usr/local/include  -I/usr/include/boost -fpic  -g -O2 -c incrConnComp.cpp -o incrConnComp.o
g++ -I/usr/local/lib64/R/include -I/usr/local/lib64/R/include  -I/usr/local/include  -I/usr/include/boost -fpic  -g -O2 -c interfaces.cpp -o interfaces.o
/usr/include/boost/graph/depth_first_search.hpp: In function 'void boost::depth_first_search(const VertexListGraph&, const boost::bgl_named_params<P, T, R>&) [with VertexListGraph = std::vector<std::vector<long unsigned int, std::allocator<long unsigned int> >, std::allocator<std::vector<long unsigned int, std::allocator<long unsigned int> > > >, P = boost::topo_sort_visitor<std::back_insert_iterator<std::vector<long unsigned int, std::allocator<long unsigned int> > > >, T = boost::graph_visitor_t, R = boost::bgl_named_params<boost::identity_property_map, boost::vertex_index_t, boost::no_property>]':
/usr/include/boost/graph/topological_sort.hpp:64:   instantiated from 'void boost::topological_sort(VertexListGraph&, OutputIterator, const boost::bgl_named_params<P, T, R>&) [with VertexListGraph = std::vector<std::vector<long unsigned int, std::allocator<long unsigned int> >, std::allocator<std::vector<long unsigned int, std::allocator<long unsigned int> > > >, OutputIterator = std::back_insert_iterator<std::vector<long unsigned int, std::allocator<long unsigned int> > >, P = boost::identity_property_map, T = boost::vertex_index_t, R = boost::no_property]'
/usr/include/boost/graph/transitive_closure.hpp:120:   instantiated from 'void boost::transitive_closure(const Graph&, GraphTC&, G_to_TC_VertexMap, VertexIndexMap) [with Graph = R_adjacency_list<boost::directedS, double>, GraphTC = R_adjacency_list<boost::directedS, double>, G_to_TC_VertexMap = boost::iterator_property_map<BGL_sequential_vertex_coloring::Vertex_Size_Type*, boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_color_t, boost::default_color_type, boost::no_property>, long unsigned int>, long unsigned int, long unsigned int&>, VertexIndexMap = boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_color_t, boost::default_color_type, boost::no_property>, long unsigned int>]'
/usr/include/boost/graph/transitive_closure.hpp:263:   instantiated from 'void boost::transitive_closure(const Graph&, GraphTC&) [with Graph = Graph_dd, GraphTC = Graph_dd]'
interfaces.cpp:371:   instantiated from here
/usr/include/boost/graph/depth_first_search.hpp:324: error: no matching function for call to 'vertices(const std::vector<std::vector<long unsigned int, std::allocator<long unsigned int> >, std::allocator<std::vector<long unsigned int, std::allocator<long unsigned int> > > >&)'


On 5/12/06, Chris Jones <jonesc@xxxxxxxxxxxxxxxxx> wrote:
Johannes Rainer wrote:
> no, i haven't tried that, but now i have ;) thanks to your suggestion,
> but it didn't help. i get the same error. it must have to do with the
> gcc4.1 compiler (or FC5), because on FC4 with the gcc4.0 the same
> package compiles. actually i have also tried to compile it with the
> g++32 instead of the g++, but this also failed.
> any suggestions?

Be careful. gcc and boost are VERY well debugged projects - As long as
you are using the correct compatible versions, it is MUCH more likely
the problem is in your code than in Boost or gcc. Its not impossible you
have found a boost/gcc bug - Just very very unlikely.

Could you post the output you get when you try and compile using the
built in boost libraries/headers (with the gcc line as well).

Chris

>
>
> On 5/12/06, *Markku Kolkka* <markkuk@xxxxxxxxx
> <mailto: markkuk@xxxxxxxxx>> wrote:
>
>     Johannes Rainer kirjoitti viestissään (lähetysaika perjantai, 12.
>     toukokuuta 2006 09:34):
>      > g++ -I/usr/local/lib64/R/include -I/usr/local/lib64/R/include
>      > -I/usr/local/include  -IboostIncl  -fpic  -g -O2 -c
>      > interfaces.cpp -o interfaces.o
>      > boostIncl/boost/graph/depth_first_search.hpp: In function
>      > 'void boost::depth_first_search(const VertexListGraph&, const
>      > boost::bgl_named_params<P, T, R>&) [with VertexListGraph =
>      > std::vector<std::vector<long unsigned int, std::allocator<long
>      > unsigned int>
>      > ...
>
>     I get the impression that your package uses its own copy of Boost
>     headers instead of the FC5 ones. Have you tried installing
>     boost-devel and configuring the software to
>     use /usr/include/boost instead of "boostIncl"?
>
>     --
>     Markku Kolkka
>     markku.kolkka@xxxxxx <mailto:markku.kolkka@xxxxxx>
>
>     --
>     fedora-list mailing list
>     fedora-list@xxxxxxxxxx <mailto:fedora-list@xxxxxxxxxx>
>     To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>
>
>
> --
> Johannes Rainer, Msc
> Tyrolean Cancer Research Institute
> Innrain 66, 6020 Innsbruck, Austria
> Tel.: +43 512 570485 15
> Email: johannes.rainer@xxxxxxx <mailto:johannes.rainer@xxxxxxx >
>           johannes.rainer@xxxxxxxxx <mailto:johannes.rainer@xxxxxxxxx>
>

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



--
Johannes Rainer, Msc
Tyrolean Cancer Research Institute
Innrain 66, 6020 Innsbruck, Austria
Tel.: +43 512 570485 15
Email: johannes.rainer@xxxxxxx
          johannes.rainer@xxxxxxxxx

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux