On 01/24/2008 04:46 PM, Spiros Spirou wrote:
Hi Tiago,On 24 Ιαν 2008, at 4:10 ΜΜ, Tiago de Paula Peixoto wrote:On 01/24/2008 09:18 AM, Spiros Spirou wrote:On 23 Ιαν 2008, at 10:18 ΜΜ, Tiago de Paula Peixoto wrote:Sorry for not sending this earlier. I'm not sure that it helps, but here it is:On 01/23/2008 01:37 PM, Spiros Spirou wrote:Do you know what linker is used in MacOS X? Could you please send me theThanks! This is fixed now, but there's another problem later on. Itseems that the linker on mac os x v10.4.11 does not support the '-E'option. Here's the error I get: /usr/bin/ld: unknown flag: -E I'm not sure what I need to change to eliminate this option, if possible. Could you please help?output of ld --version (or the equivalent for this linker)?spirosspirou$ /usr/bin/ld -v Apple Computer, Inc. version cctools-622.5.obj~13 Is the '-E' option really necessary? Could we just remove it from the LDFLAGS for darwin? (Problem is, I don't know how to do this :) ).The behaviour of the '-E' flag in GNU ld is necessary to export all dynamic symbols, which is not done by default. So indeed we need this,since the run_action() functionality, which compiles and loads C++ codefrom python at run time, needs all symbols to be exported properly. Ilooked at apple's (darwin) ld manpage, http://www.hmug.org/man/1/ ld.php,and at first glance, found no equivalent option. So I'm just going to drop this for any liker that doesn't support the option, and hope it will do what we want by default. The git version already contains this fix. Please tell me if it compiles for you now...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_infostd::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? Also, what version of GCC are you using? Cheers, Tiago -- Tiago de Paula Peixoto <[EMAIL PROTECTED]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list graph-tool@forked.de http://lists.forked.de/mailman/listinfo/graph-tool