Can you try using the new eclib package at
http://trac.sagemath.org/ticket/18369 ?

It may not solve this problem, but we might as well troubleshoot on
the latest version (20150423).

I am not sure but it seems that during configuration it is picking up
different version of gmp / mpir.  From the error messages it is
possible that the build of flint did not go well.

John (eclib author / maintainer)

On 7 May 2015 at 18:27, -sam- <kosams...@gmail.com> wrote:
> I tried to upgrade sage from 6.4.1 to 6.6 under linuxmint 17.1 (32 bits,
> MATE) and I got this linkage error for the package eclib-20150323.
>
> My box has 1GiB RAM and two cpu-s 'AMD Athlon(tm) 64 X2 Dual Core Processor
> 5000+'
>
> The part of the log follows:
>
> g++ -DPACKAGE_NAME=\"eclib\" -DPACKAGE_TARNAME=\"eclib\"
> -DPACKAGE_VERSION=\"20150323\" -DPACKAGE_STRING=\"eclib\ 20150323\"
> -DPACKAGE_BUGREPORT=\"john.crem...@gmail.com\" -DPACKAGE_URL=\"\"
> -DPACKAGE=\"eclib\" -DVERSION=\"20150323\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDCXX_0X=1
> -DHAVE_TR1_UNORDERED_MAP=1 -DHAVE_STDCXX_0X=1 -DHAVE_UNORDERED_MAP=1
> -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -Drestrict=__restrict
> -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_STRCHR=1 -I.  -I../libsrc
> -DFLINT_LEVEL=1 -I/home1/kosamarton/sage/sage-6.4.1/local/include
> -I/home1/kosamarton/sage/sage-6.4.1/local/include
> -I/home1/kosamarton/sage/sage-6.4.1/local/include  -DNTL_ALL   -g -O3  -MT
> mwrank.o -MD -MP -MF .deps/mwrank.Tpo -c -o mwrank.o mwrank.cc
> mv -f .deps/mwrank.Tpo .deps/mwrank.Po
> /bin/bash ../libtool  --tag=CXX   --mode=link g++  -g -O3
> -L/home1/kosamarton/sage/sage-6.4.1/local/lib
> -L/home1/kosamarton/sage/sage-6.4.1/local/lib
> -L/home1/kosamarton/sage/sage-6.4.1/local/lib   -o mwrank mwrank.o
> ../libsrc/libec.la -lflint -lpari -lntl
> libtool: link: g++ -g -O3 -o .libs/mwrank mwrank.o
> -L/home1/kosamarton/sage/sage-6.4.1/local/lib ../libsrc/.libs/libec.so
> -lflint -lpari /home1/kosamarton/sage/sage-6.4.1/local/lib/libntl.so
> -Wl,-rpath -Wl,/home1/kosamarton/sage/sage-6.4.1/local/lib
> /home1/kosamarton/sage/sage-6.4.1/local/lib/libflint.so: undefined reference
> to `__gmpn_com'
> collect2: error: ld returned 1 exit status
> make[4]: *** [mwrank] Error 1
> make[4]: Leaving directory
> `/home1/kosamarton/sage/sage-6.4.1/local/var/tmp/sage/build/eclib-20150323/src/progs'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home1/kosamarton/sage/sage-6.4.1/local/var/tmp/sage/build/eclib-20150323/src'
> Error building eclib.
>
> cheers -sam-
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to