On Wednesday, July 18, 2012 8:54:18 AM UTC-4, Jean-Pierre Flori wrote: > > Dear all, > > Still trying to build Sage on Cygwin, I am now stuck with farey_symbol.pyx > (in the Sage spkg). >
Keep it up! > Quite strangely, at linking time I get undefined references in farey.so to > convert_to_* functions wich are available in farey_symbol.so (after fixing > the undefined references to gmp functions IIRC). > I tried to tweak the order of the so files on the command lines but did > not get more lucky. > I also thought it could be a function name mamgling issue, but trying to > changing extern C to extern was not helpful either. > > Could anyone give it a try? (Here is Cygwin 1.7.15 on Windows 7 64 bits, > gcc/g++ 4.5.3) > That would be nice to confirm that it's not my installation which is > completely broken. > I guess one could try this without building all spkg's (not sure what the > dependencies really are), by running Cython on farey_symbol.pyx and then > g++ on the three farey.cpp/farey_symbol.cpp/sl2z.cpp and then linking them > with g++. > > Are you sure that all dependencies for this are really in module_list.py? Cygwin seems to be much stricter about this - you can check out http://trac.sagemath.org/sage_trac/wiki/CygwinPort for older tickets where this was the fix. Just a guess; obviously you actually understand these things, as opposed to my own halting attempts :) -- -- 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
