In fact I somehow solved the problem.
I think there is some black magic dll import/export stuff missing to let ld 
link the files together on Cygwin.

As a first solution, adding -Wl,--enable-auto-import to 
extra_compiler_flags in module_list.py seems to be sufficient to fix the 
problem.
This let the farey stuff compile.
Hopefully this will be the last step before Sage completely compiles, with 
obviously no guarantee that it actually starts afterward :)

A more proper fix could be to let Cython add _declspec(_dllimport) 
(approximate spelling...) to the produced header file, not sure about that.

By the way, i guess the farey lines are a missing proper "depends" section 
including farey.hpp and sl2z.hpp, but that's not the source of my problems.

-- 
-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org



Reply via email to