On Dec 4, 8:30 pm, Robert Miller <[EMAIL PROTECTED]> wrote:
> I don't know if this is specific to my current install, but I thought
> it could be useful to someone. Also, I'm not noticing any problems
> resulting from this. During upgrade from 2.8.14 on Intel OS X 10.5.1:

I did fix some issue with NTL and moving on 10.4, but I also tested on
10.5.1. So my suggestion: force a rebuild of gmp and try again. If
that doesn't help try the ntl.spkg from 2.8.14, there are no
functional changes in the updated spkg, just twiddeling with the
makefile flags. You should also check if you have a rogue gmp around,
though I doubt that if the 2.8.14 build worked.

If that still fails I have to dig deeper.

The problem might also be related to

http://www.sagetrac.org/sage_trac/ticket/1358

It is still open and I had hoped to fix it for 2.9

Cheers,

Michael

>
> g++ -fPIC -shared -o libntl.so FFT.o FacVec.o GF2.o GF2E.o GF2EX.o
> GF2EXFactoring.o GF2X.o GF2X1.o GF2XFactoring.o GF2XVec.o GetTime.o
> HNF.o ctools.o LLL.o LLL_FP.o LLL_QP.o LLL_RR.o LLL_XD.o RR.o
> WordVector.o ZZ.o ZZVec.o ZZX.o ZZX1.o ZZXCharPoly.o ZZXFactoring.o
> ZZ_p.o ZZ_pE.o ZZ_pEX.o ZZ_pEXFactoring.o ZZ_pX.o ZZ_pX1.o
> ZZ_pXCharPoly.o ZZ_pXFactoring.o fileio.o lip.o lzz_p.o lzz_pE.o
> lzz_pEX.o lzz_pEXFactoring.o lzz_pX.o lzz_pX1.o lzz_pXCharPoly.o
> lzz_pXFactoring.o mat_GF2.o mat_GF2E.o mat_RR.o mat_ZZ.o mat_ZZ_p.o
> mat_ZZ_pE.o mat_lzz_p.o mat_lzz_pE.o mat_poly_ZZ.o mat_poly_ZZ_p.o
> mat_poly_lzz_p.o pair_GF2EX_long.o pair_GF2X_long.o pair_ZZX_long.o
> pair_ZZ_pEX_long.o pair_ZZ_pX_long.o pair_lzz_pEX_long.o
> pair_lzz_pX_long.o quad_float.o tools.o vec_GF2.o vec_GF2E.o
> vec_GF2XVec.o vec_RR.o vec_ZZ.o vec_ZZVec.o vec_ZZ_p.o vec_ZZ_pE.o
> vec_double.o vec_long.o vec_lzz_p.o vec_lzz_pE.o vec_quad_float.o
> vec_vec_GF2.o vec_vec_GF2E.o vec_vec_RR.o vec_vec_ZZ.o vec_vec_ZZ_p.o
> vec_vec_ZZ_pE.o vec_vec_long.o vec_vec_lzz_p.o vec_vec_lzz_pE.o
> vec_xdouble.o xdouble.o G_LLL_FP.o G_LLL_QP.o G_LLL_XD.o G_LLL_RR.o
> vec_ulong.o vec_vec_ulong.o
> Undefined symbols:
>   "___gmpn_sub_n", referenced from:
>       _redc in lip.o
>   "___gmpn_add", referenced from:
>       __ntl_gadd in lip.o
>       __ntl_gsub in lip.o
>   "___gmpn_cmp", referenced from:
>       __ntl_gcompare in lip.o
>       __ntl_gcompare in lip.o
>       __ntl_gadd in lip.o
>       __ntl_gsub in lip.o
>       __ntl_gexteucl in lip.o
>   "___gmpn_gcd", referenced from:
>       __ntl_ggcd in lip.o
>   "___gmpn_mul", referenced from:
>       __ntl_gmul in lip.o
>       __ntl_gmul in lip.o
>   "___gmpn_sub", referenced from:
>       __ntl_gadd in lip.o
>       __ntl_gadd in lip.o
>       __ntl_gsub in lip.o
>       __ntl_gsub in lip.o
>       __ntl_gsubpos in lip.o
>   "_main", referenced from:
>       start in crt1.10.5.o
>   "___gmpn_rshift", referenced from:
>       __ntl_grshift in lip.o
>       __ntl_gsdiv in lip.o
>   "___gmpn_sqrtrem", referenced from:
>       __ntl_gsqrt in lip.o
>       __ntl_gsqrts in lip.o
>   "___gmpn_addmul_1", referenced from:
>       _redc in lip.o
>       __ntl_gcrt_struct_eval in lip.o
>       __ntl_gcrt_struct_eval in lip.o
>   "___gmpn_divrem_1", referenced from:
>       __ntl_gsdiv in lip.o
>   "___gmpn_gcdext", referenced from:
>       __ntl_gexteucl in lip.o
>       __ntl_ginv in lip.o
>   "___gmpn_mod_1", referenced from:
>       __ntl_gsmod in lip.o
>       __ntl_gcrt_struct_init in lip.o
>       __ntl_grem_struct_eval in lip.o
>       __ntl_grem_struct_eval in lip.o
>       __ntl_grem_struct_eval in lip.o
>   "___gmpn_mul_1", referenced from:
>       __ntl_gsmul in lip.o
>   "___gmpn_lshift", referenced from:
>       __ntl_glshift in lip.o
>       __ntl_gsmul in lip.o
>   "___gmpn_tdiv_qr", referenced from:
>       __ntl_gdiv in lip.o
>       _gmod_simple in lip.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [libntl.so] Error 1
> make[1]: *** [lib] Error 2
> ----------------------------------------
> Error building libntl.so
> ----------------------------------------
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to