On 01/25/2008 08:56 AM, Spiros Spirou wrote:
Hi Tiago,
On 24 Ιαν 2008, at 7:48 ΜΜ, Tiago de Paula Peixoto wrote:
On 01/24/2008 04:46 PM, Spiros Spirou wrote:
Thank you for the prompt response! This release got me further, but I've hit another wall that looks scary. Here it is: vtable for __cxxabiv1::__function_type_info std::range_error::range_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) collect2: ld returned 1 exit status make[3]: *** [libgraph_tool.la] Error 1 Is it that some prototypes do not match? I'm really clueless...
Strange... Could you please send me the full compilation output attached?
Attached.
---------------------------------------------------------------------
It seems that the linker has unresolved symbols. I tried configuring the path to libstdc++ ('-L/opt/local/lib/gcc42') in LDFLAG, but I get the same error.
The compiler is not linking to the standard C++ library and to the zlib and bzip2 libraries, and all the dynamic symbols are turning up unresolved. libtool was supposed to handle all this... Please try the following link command in the src/graph/ directory, and tell me the result: /bin/sh ../../libtool --tag=CXX --mode=link /opt/local/bin/i386-apple-darwin8.11.1-gcc-4.2.2 -Wall -I/opt/local/include/python2.5 -pthread -I/opt/local/include/boost-1_34_1 -ftemplate-depth-150 -O99 -Wno-unknown-pragmas -module -avoid-version -export-dynamic -no-undefined -L/opt/local/lib/ -o libgraph_tool.la -rpath /opt/local/lib/python2.5/site-packages/graph_tool graph.lo graph_python_interface.lo graph_properties.lo graph_correlations.lo graph_edge_correlations.lo graph_correlations_combined.lo graph_correlations_neighbours.lo graph_assortativity.lo graph_clustering.lo graph_extended_clustering.lo graph_generation.lo graph_distance.lo graph_distance_sampled.lo graph_reciprocity.lo graph_minimum_spanning_tree.lo graph_community.lo graph_community_network.lo graph_line_graph.lo graph_betweenness.lo graph_rewiring.lo graph_layout.lo graph_io.lo graph_bind.lo graphml.lo read_graphviz_spirit.lo -L/opt/local/lib/python2.5 -lpython2.5 -L/opt/local/lib -lboost_python -lboost _iostreams -lexpat -lz -lbzip2 -lstdc++ Cheers, Tiago -- Tiago de Paula Peixoto <tiago@forked.de>