Opened 10 years ago
Closed 10 years ago
#13334 closed defect (fixed)
ecl.pyx won't build on Cygwin
Reported by: | jpflori | Owned by: | tbd |
---|---|---|---|
Priority: | major | Milestone: | sage-5.3 |
Component: | porting: Cygwin | Keywords: | cygwin |
Cc: | Merged in: | sage-5.3.beta1 | |
Authors: | Jean-Pierre Flori | Reviewers: | Dmitrii Pasechnik |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
There are undefined references to some gmp functions.
One should just add gmp in module_list.py.
Apply trac_13334-gmp.patch.
Attachments (1)
Change History (9)
Changed 10 years ago by
comment:1 Changed 10 years ago by
- Description modified (diff)
- Status changed from new to needs_review
comment:2 Changed 10 years ago by
comment:3 Changed 10 years ago by
comment:4 Changed 10 years ago by
But while running ./sage -b
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/matrix/matrix_modn_dense_float.o -L/home/Dima/sage-5.2.rc1/local/lib -L/home/Dima/sage-5.2.rc1/local/lib/python2.7/config -lcsage -lgmp -llinbox -lgivaro -lgslcblas -lgslcblas -lstdc++ -lntl -lpython2.7 -o build/lib.cygwin-1.7.16-i686-2.7/sage/matrix/matrix_modn_dense_float.dll /home/Dima/sage-5.2.rc1/local/lib/libgivaro.a(gmp++_int_compare.o):gmp++_int_compare.C:(.text+0x14): undefined reference to `__imp____gmpz_cmp' /home/Dima/sage-5.2.rc1/local/lib/libgivaro.a(gmp++_int_compare.o):gmp++_int_compare.C:(.text+0x30): undefined reference to `__imp____gmpz_cmpabs' /home/Dima/sage-5.2.rc1/local/lib/libgivaro.a(gmp++_int_compare.o):gmp++_int_compare.C:(.text+0x4c): undefined reference to `__imp____gmpz_cmp_si' [... lots more of very similar errors...] /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: /home/Dima/sage-5.2.rc1/local/lib/libgivaro.a(gmp++_int_pow.o): bad reloc address 0xd in section `.text$_ZN7IntegerD1Ev[Integer::~Integer()]' collect2: ld returned 1 exit status gcc -I/usr/include/ncurses -fno-strict-aliasing -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/home/Dima/sage-5.2.rc1/local/include -I/home/Dima/sage-5.2.rc1/local/include/csage -I/home/Dima/sage-5.2.rc1/devel/sage/sage/ext -I/home/Dima/sage-5.2.rc1/local/include/python2.7 -c sage/matrix/matrix_modn_dense_double.cpp -o build/temp.cygwin-1.7.16-i686-2.7/sage/matrix/matrix_modn_dense_double.o -DDISABLE_COMMENTATOR -w error: command 'g++' failed with exit status 1 Error installing modified sage library code.
PS. Perhaps I should rather be doing make build
. This seems to be doing better.
comment:5 Changed 10 years ago by
comment:6 Changed 10 years ago by
- Status changed from needs_review to positive_review
comment:7 Changed 10 years ago by
- Reviewers set to Dmitrii Pasechnik
comment:8 Changed 10 years ago by
- Merged in set to sage-5.3.beta1
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
This solves for me the issue reported on http://trac.sagemath.org/sage_trac/ticket/13324#comment:6