16 Nov 2006 21:01
64bit and PIC
Alexandre Hannud Abdo <abdo <at> member.fsf.org>
2006-11-16 20:01:50 GMT
2006-11-16 20:01:50 GMT
Ni! I had the problem below when compiling graph-tool on a 64 bit amd machine. It's seems a problem generating position independent code while linking the libraries. The linker asks me to compile with -fPIC, but doing that changes nothing (by adding "-fPIC" to CXXFLAGS in the Makefile, should I have done someting different?) One thing I notice is that the last call, to "g++ -shared", does not include -fPIC. All others do, so this might be expected (as in "it's just linking") I remember someone on the list successfully compiled on a 64 bit machine, did you have to do something special? []s ale ~~ /bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -I/usr/include/python2.4 -I/usr/include -ftemplate-depth-150 -fvisibility=hidden -fvisibility-inlines-hidden -O99 -fPIC -o libgraph_tool.la -rpath /usr/local/lib/python2.4/site-packages graph.lo graph_properties.lo graph_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(Continue reading)
RSS Feed