#13336: farey_symbol.pyx fails to build on Cygwin
---------------------------+------------------------------------------------
       Reporter:  jpflori  |         Owner:  tbd     
           Type:  defect   |        Status:  new     
       Priority:  major    |     Milestone:  sage-5.3
      Component:  cygwin   |    Resolution:          
       Keywords:           |   Work issues:          
Report Upstream:  N/A      |     Reviewers:          
        Authors:           |     Merged in:          
   Dependencies:           |      Stopgaps:          
---------------------------+------------------------------------------------

Comment (by dimpase):

 with these flags on, I still get
 {{{
 g++ -shared -Wl,--enable-auto-image-base
 -L/home/Dima/sage-5.2.rc1/local/lib
 build/temp.cygwin-1.7.16-i686-2.7/sage/modular/arithgroup/farey_symbol.o
 build/temp.cygwin-1.7.16-i686-2.7/sage/modular/arithgroup/farey.o
 build/temp.cygwin-1.7.16-i686-2.7/sage/modular/arithgroup/sl2z.o
 -L/home/Dima/sage-5.2.rc1/local/lib
 -L/home/Dima/sage-5.2.rc1/local/lib/python2.7/config -lcsage -lgmp -lgmpxx
 -lstdc++ -lntl -lpython2.7 -o
 build/lib.cygwin-1.7.16-i686-2.7/sage/modular/arithgroup/farey_symbol.dll
 -Wl,--enable-auto-import
 build/temp.cygwin-1.7.16-i686-2.7/sage/modular/arithgroup/farey.o: In
 function `_ZNK18is_element_general9is_memberERK4SL2Z':
 /home/Dima/sage-5.2.rc1/devel/sage/sage/modular/arithgroup/farey.cpp:183:
 undefined reference to `__imp__convert_to_SL2Z'
 [... etc ...]
 /home/Dima/sage-5.2.rc1/devel/sage/sage/modular/arithgroup/farey.cpp:655:
 undefined reference to `__imp__convert_to_cusp'
 build/temp.cygwin-1.7.16-i686-2.7/sage/modular/arithgroup/farey.o: In
 function `_ZNK11FareySymbol13get_fractionsEv':
 /home/Dima/sage-5.2.rc1/devel/sage/sage/modular/arithgroup/farey.cpp:664:
 undefined reference to `__imp__convert_to_rational'
 build/temp.cygwin-1.7.16-i686-2.7/sage/modular/arithgroup/farey.o: In
 function `_ZNK11FareySymbol20get_pairing_matricesEv':
 /home/Dima/sage-5.2.rc1/devel/sage/sage/modular/arithgroup/farey.cpp:705:
 undefined reference to `__imp__convert_to_SL2Z'
 build/temp.cygwin-1.7.16-i686-2.7/sage/modular/arithgroup/farey.o: In
 function `is_element_GammaH':
 /home/Dima/sage-5.2.rc1/devel/sage/sage/modular/arithgroup/farey.cpp:132:
 undefined reference to `__imp__convert_to_long'
 collect2: ld returned 1 exit status
 }}}
 So it looks like that the linker cannot find objects which are part of the
 Farey module (i.e. from sl2z.o, etc)?!

 Looks like some g++/dll linking weirdness to me.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13336#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to