-----Original Message----- From: mpir-devel@googlegroups.com [mailto:mpir-devel@googlegroups.com] On Behalf Of Bill Hart Sent: Thursday, November 08, 2012 4:33 PM To: mpir-devel@googlegroups.com Cc: sage-de...@googlegroups.com; flint-devel Subject: Re: [mpir-devel] MPIR 2.6.0 released + appeal for volunteers
By the way, I happened to notice that it is looking for tune_fft.c for some reason (I think it shouldn't be doing that). This file is in the directory fft/tune, so you could copy it wherever it is expecting to find it (tune or build.vc10/tune I think). Maybe that will get the tune project to work for you, (not that we recommend running it on Windows). Bill >> A correct reference to the file location allows 2 projects to build from tune, but one still fails. I suspect that using C files with #include may be related to the multiple symbol definitions. Find all ".c"", Subfolders, Find Results 2, "Entire Solution" C:\math\mpir-2.6.0\tune\common.c(52):#include "mp_clz_tab.c" C:\math\mpir-2.6.0\tune\divrem1div.c(33):#include "mpn/generic/divrem_1.c" C:\math\mpir-2.6.0\tune\divrem1inv.c(33):#include "mpn/generic/divrem_1.c" C:\math\mpir-2.6.0\tune\divrem2div.c(33):#include "mpn/generic/divrem_2.c" C:\math\mpir-2.6.0\tune\divrem2inv.c(33):#include "mpn/generic/divrem_2.c" C:\math\mpir-2.6.0\tune\fac_ui_large.c(31):#include "../mpz/fac_ui.c" C:\math\mpir-2.6.0\tune\fac_ui_small.c(31):#include "../mpz/fac_ui.c" C:\math\mpir-2.6.0\tune\gcd_bin.c(29):#include "../mpn/generic/gcd.c" C:\math\mpir-2.6.0\tune\gcdextod.c(32):#include "../mpn/generic/gcdext.c" C:\math\mpir-2.6.0\tune\gcdextos.c(32):#include "../mpn/generic/gcdext.c" C:\math\mpir-2.6.0\tune\jacbase1.c(29):#include "mpn/generic/jacobi_base.c" C:\math\mpir-2.6.0\tune\jacbase2.c(29):#include "mpn/generic/jacobi_base.c" C:\math\mpir-2.6.0\tune\jacbase3.c(29):#include "mpn/generic/jacobi_base.c" C:\math\mpir-2.6.0\tune\mod_1_div.c(33):#include "mpn/generic/mod_1.c" C:\math\mpir-2.6.0\tune\mod_1_inv.c(33):#include "mpn/generic/mod_1.c" C:\math\mpir-2.6.0\tune\powm_mod.c(31):#include "../mpz/powm.c" C:\math\mpir-2.6.0\tune\powm_redc.c(33):#include "../mpz/powm.c" C:\math\mpir-2.6.0\tune\preinv_divrem_1.c(30):#include "mpn/generic/preinv_divrem_1.c" C:\math\mpir-2.6.0\tune\set_strb.c(37):#include "mpn/generic/set_str.c" C:\math\mpir-2.6.0\tune\set_strs.c(33):#include "mpn/generic/set_str.c" C:\math\mpir-2.6.0\build.vc10\tune\dc_bdiv_q.c(2):#include "..\..\mpn\generic\dc_bdiv_q.c" C:\math\mpir-2.6.0\build.vc10\tune\dc_bdiv_qr.c(2):#include "..\..\mpn\generic\dc_bdiv_qr.c" C:\math\mpir-2.6.0\build.vc10\tune\dc_div_qr.c(2):#include "..\..\mpn\generic\dc_div_qr.c" C:\math\mpir-2.6.0\build.vc10\tune\dc_divappr_q.c(2):#include "..\..\mpn\generic\dc_divappr_q.c" C:\math\mpir-2.6.0\build.vc10\tune\divrem_1.c(3):#include "..\..\mpn\generic\divrem_1.c" C:\math\mpir-2.6.0\build.vc10\tune\divrem_2.c(2):#include "..\..\mpn\generic\divrem_2.c" C:\math\mpir-2.6.0\build.vc10\tune\divrem_euclidean_r_1.c(2):#include "..\..\mpn\generic\divrem_euclidean_r_1.c" C:\math\mpir-2.6.0\build.vc10\tune\divrem_hensel_qr_1.c(2):#include "..\..\mpn\generic\divrem_hensel_qr_1.c" C:\math\mpir-2.6.0\build.vc10\tune\gcd.c(2):#include "..\..\mpn\generic\gcd.c" C:\math\mpir-2.6.0\build.vc10\tune\gcdext.c(2):#include "..\..\mpn\generic\gcdext.c" C:\math\mpir-2.6.0\build.vc10\tune\get_str.c(2):#include "..\..\mpn\generic\get_str.c" C:\math\mpir-2.6.0\build.vc10\tune\inv_div_qr.c(2):#include "..\..\mpn\generic\inv_div_qr.c" C:\math\mpir-2.6.0\build.vc10\tune\inv_divappr_q.c(2):#include "..\..\mpn\generic\inv_divappr_q.c" C:\math\mpir-2.6.0\build.vc10\tune\mod_1.c(3):#include "..\..\mpn\generic\mod_1.c" C:\math\mpir-2.6.0\build.vc10\tune\mul.c(2):#include "..\..\mpn\generic\mul.c" C:\math\mpir-2.6.0\build.vc10\tune\mul_n.c(2):#include "..\..\mpn\generic\mul_n.c" C:\math\mpir-2.6.0\build.vc10\tune\mulhigh_n.c(2):#include "..\..\mpn\generic\mulhigh_n.c" C:\math\mpir-2.6.0\build.vc10\tune\mullow_n.c(2):#include "..\..\mpn\generic\mullow_n.c" C:\math\mpir-2.6.0\build.vc10\tune\mulmod_2expm1.c(2):#include "..\..\mpn\generic\mulmod_2expm1.c" C:\math\mpir-2.6.0\build.vc10\tune\rootrem.c(2):#include "..\..\mpn\generic\rootrem.c" C:\math\mpir-2.6.0\build.vc10\tune\rsh_divrem_hensel_qr_1.c(2):#include "..\..\mpn\generic\rsh_divrem_hensel_qr_1.c" C:\math\mpir-2.6.0\build.vc10\tune\tdiv_q.c(2):#include "..\..\mpn\generic\tdiv_q.c" C:\math\mpir-2.6.0\build.vc10\tune\tdiv_qr.c(2):#include "..\..\mpn\generic\tdiv_qr.c" C:\math\mpir-2.6.0\build.vc10\tune\toom3_mul.c(2):#include "..\..\mpn\generic\toom3_mul.c" C:\math\mpir-2.6.0\build.vc10\tune\toom3_mul_n.c(2):#include "..\..\mpn\generic\toom3_mul_n.c" C:\math\mpir-2.6.0\build.vc10\tune\toom4_mul.c(2):#include "..\..\mpn\generic\toom4_mul.c" C:\math\mpir-2.6.0\build.vc10\tune\toom4_mul_n.c(2):#include "..\..\mpn\generic\toom4_mul_n.c" C:\math\mpir-2.6.0\build.vc10\tune\toom8_sqr_n.c(2):#include "..\..\mpn\generic\toom8_sqr_n.c" C:\math\mpir-2.6.0\build.vc10\tune\toom8h_mul.c(2):#include "..\..\mpn\generic\toom8h_mul.c" Matching lines: 49 Matching files: 49 Total files searched: 79 These are the remaining link errors: 1>------ Build started: Project: tune, Configuration: Release x64 ------ 1>Build started 11/8/2012 4:46:05 PM. 1>InitializeBuildStatus: 1> Touching "x64\Release\tune.unsuccessfulbuild". 1>ClCompile: 1> All outputs are up-to-date. 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_mul already defined in mul.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_divrem_2 already defined in divrem_2.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_rsh_divrem_hensel_qr_1 already defined in rsh_divrem_hensel_qr_1.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_divrem_euclidean_r_1 already defined in divrem_euclidean_r_1.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_tdiv_qr already defined in tdiv_qr.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_sqr already defined in mul_n.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_toom32_mul already defined in toom3_mul.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_toom3_mul already defined in toom3_mul.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_toom42_mul already defined in toom3_mul.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_toom53_mul already defined in toom4_mul.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_toom4_mul already defined in toom4_mul.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_toom8h_mul already defined in toom8h_mul.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_mul_n already defined in mul_n.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_toom4_mul_n already defined in toom4_mul_n.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_toom3_mul_n already defined in toom3_mul_n.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_toom8_sqr_n already defined in toom8_sqr_n.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_toom4_sqr_n already defined in toom4_mul_n.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_toom3_sqr_n already defined in toom3_mul_n.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_tdiv_q already defined in tdiv_q.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_inv_divappr_q already defined in inv_divappr_q.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_dc_divappr_q already defined in dc_divappr_q.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_inv_div_qr already defined in inv_div_qr.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_dc_div_qr already defined in dc_div_qr.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_kara_mul_n already defined in mul_n.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_toom3_interpolate already defined in toom3_mul.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_kara_sqr_n already defined in mul_n.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_toom4_interpolate already defined in toom4_mul_n.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_divrem_hensel_qr_1 already defined in divrem_hensel_qr_1.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_mod_1_k already defined in divrem_euclidean_r_1.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_dc_bdiv_q already defined in dc_bdiv_q.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_mullow_n already defined in mullow_n.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_mulhigh_n already defined in mulhigh_n.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_mulmod_2expm1 already defined in mulmod_2expm1.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_gcd already defined in gcd.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_gcdext already defined in gcdext.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_rootrem already defined in rootrem.obj 1>mpir.lib(mpir.dll) : error LNK2005: __gmpn_get_str already defined in get_str.obj 1> Creating library C:\math\mpir-2.6.0\build.vc10\x64\Release\tune.lib and object C:\math\mpir-2.6.0\build.vc10\x64\Release\tune.exp 1>tuneup.obj : error LNK2019: unresolved external symbol __imp___gmpn_pre_set_str referenced in function speed_mpn_pre_set_str 1>C:\math\mpir-2.6.0\build.vc10\x64\Release\tune.exe : fatal error LNK1120: 1 unresolved externals 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:00.56 ========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ========== << -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-devel@googlegroups.com. To unsubscribe from this group, send email to mpir-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en.