When trying to compile mpir-7.2.2 on my 4.8.0-2-amd64 #1 SMP Debian 4.8.11-1 
(2016-12-02) x86_64 GNU/Linux -System, I get the following error during make:

ar: `u' modifier ignored since `D' is the default (see `U')

mpn/.libs/preinv_divrem_1.o: In function `__gmpn_preinv_divrem_1':
preinv_divrem_1.c:(.text+0x0): multiple definition of `__gmpn_preinv_divrem_1'
mpn/.libs/divrem_euclidean_qr_1.o:divrem_euclidean_qr_1.as:(.text+0x0): first 
defined here
mpn/.libs/addmul_2.o: In function `__gmpn_addmul_2':
addmul_2.as:(.text+0x0): multiple definition of `__gmpn_addmul_2'
mpn/.libs/redc_2.o:redc_2.c:(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [libmpir.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


The configure step before that seems to run fine.  
(it only gives a bunch of 
"sed: character class syntax is [[:space:]], not [:space:]"-errors

If you want I would gladly post the output of both the configure and the make 
command. 

So far I tried to compile with different versions of gcc (namely gcc-6, gcc-5 
and gcc-4.9), but none worked. I don't quite understand what is going on. 
I am actually trying to compile sage, and this hangs when compiling mpir; hence 
I was tying to compile the version downloaded from the mpir-website, which 
gives the same error. 

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

Reply via email to