On building 2.7.0 with visual studio 2015:

prebuild.bat
msbuild

I get the following errors:

Build FAILED.

"C:\mpir-2.7.0\build.vc14\mpir.sln" (default target) (1) ->
"C:\mpir-2.7.0\build.vc14\lib_mpir_haswell\lib_mpir_haswell.vcxproj"
(default target) (9) ->
(Lib target) ->
  addmul_2.obj : warning LNK4006: __gmpn_addmul_2 already defined in
redc_2.obj; second definition ignored
[C:\mpir-2.7.0\build.vc14\lib_mpir_haswell\lib_mpir_haswell.vcxproj]
  addmul_2.obj : warning LNK4221: This object file does not define any
previously undefined public symbols, so it will not be used by any link
operation that consumes this library [C:\mpir-2.7.0\buil
d.vc14\lib_mpir_haswell\lib_mpir_haswell.vcxproj]


"C:\mpir-2.7.0\build.vc14\mpir.sln" (default target) (1) ->
"C:\mpir-2.7.0\build.vc14\dll_mpir_haswell\dll_mpir_haswell.vcxproj"
(default target) (14) ->
(Link target) ->
  redc_2.obj : error LNK2005: __gmpn_addmul_2 already defined in
addmul_2.obj
[C:\mpir-2.7.0\build.vc14\dll_mpir_haswell\dll_mpir_haswell.vcxproj]
  C:\mpir-2.7.0\build.vc14\x64\Debug\mpir.dll : fatal error LNK1169: one or
more multiply defined symbols found
[C:\mpir-2.7.0\build.vc14\dll_mpir_haswell\dll_mpir_haswell.vcxproj]

    2 Warning(s)
    2 Error(s)

Any idea what's causing this?

-- 
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 http://groups.google.com/group/mpir-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to