#13325: eclib does not build on Cygwin
------------------------------------------------------------+---------------
       Reporter:  jpflori                                   |         Owner:  
tbd                                                                       
           Type:  defect                                    |        Status:  
needs_info                                                                
       Priority:  major                                     |     Milestone:  
sage-5.3                                                                  
      Component:  cygwin                                    |    Resolution:    
                                                                        
       Keywords:  eclib spkg cygwin                         |   Work issues:  
wait for official update of the build system; fix pari problem (new spkg?)
Report Upstream:  Workaround found; Bug reported upstream.  |     Reviewers:    
                                                                        
        Authors:  Jean-Pierre Flori                         |     Merged in:    
                                                                        
   Dependencies:                                            |      Stopgaps:    
                                                                        
------------------------------------------------------------+---------------

Comment (by dimpase):

 The spkg does not work for me; I get
 {{{

 /bin/sh ../libtool --tag=CXX    --mode=link g++
 -I/home/Dima/sage-5.2.rc1/local/include
 -I/home/Dima/sage-5.2.rc1/local/include
 -I/home/Dima/sage-5.2.rc1/local/include -DNTL_ALL -DUSE_PARI_FACTORING
 -DMETHOD=2 -DNEW_OP_ORDER -g -O3  -ljc -L../libsrc
 -L/home/Dima/sage-5.2.rc1/local/lib -lntl -lgmp
 -L/home/Dima/sage-5.2.rc1/local/lib -lpari -lgmp   -o d2.exe d2.o
 libtool: link: g++ -I/home/Dima/sage-5.2.rc1/local/include
 -I/home/Dima/sage-5.2.rc1/local/include
 -I/home/Dima/sage-5.2.rc1/local/include -DNTL_ALL -DUSE_PARI_FACTORING
 -DMETHOD=2 -DNEW_OP_ORDER -g -O3 -o .libs/d2.exe d2.o
 /home/Dima/sage-5.2.rc1/spkg/build/eclib-20120428.p0/src/libsrc/.libs/libjc.a
 /usr/lib/gcc/i686-pc-cygwin/4.5.3/libstdc++.dll.a -L../libsrc
 -L/home/Dima/sage-5.2.rc1/local/lib -lntl -lpari
 /home/Dima/sage-5.2.rc1/local/lib/libgmp.dll.a -L/usr/lib/gcc/i686-pc-
 cygwin/4.5.3 -L/home/Dima/sage-5.2.rc1/local/lib
 /home/Dima/sage-5.2.rc1/local/lib/libpari.a(rootpol.o): In function
 `roots':
 
/home/Dima/sage-5.2.rc1/spkg/build/pari-2.5.1.p3/src/Ocygwin-i686/../src/basemath/rootpol.c:2057:
 multiple definition of `_roots'
 d2.o:/home/Dima/sage-5.2.rc1/spkg/build/eclib-20120428.p0/src/tests/d2.cc:149:
 first defined here
 collect2: ld returned 1 exit status
 Makefile:679: recipe for target `d2.exe' failed
 make[3]: *** [d2.exe] Error 1
 }}}
 By the way, did I have to install a different PARI spkg, too?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13325#comment:9>
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