Dear All,

This is my first mail to the group. I want to thank developers for creating
this beautiful and very helpful library.
I've been using it for several years (relying on MSVC build - special
thanks to Brian Gladman) in my projects.

Now I'm transferring to mingw64 environment, and have encountered problem
in building shared library of MPIR-2.5.1.

I've tried to compile the latest stable version MPIR.2.5.1 using mingw64
with following configuration:

./configure --prefix=/mingw --host=x86_64-w64-mingw32 --enable-fat
--disable-static --enable-shared --enable-gmpcompat

After that compilation went fine, but linker choked up with:

libtool: link: x86_64-w64-mingw32-gcc -std=gnu99 -shared
.libs\\libmpir.la.lnkscript   -O2 -m64 -Wl,--export-all-symbols
-Wl,--output-def -Wl,.libs/libmpir-3.dll.def
-o .libs/libmpir-7.dll -Wl,--enable-auto-image-base -Xlinker --out-implib
-Xlinker .libs/libmpir.dll.a
Creating library file: .libs/libmpir.dll.a
*mpn\\.libs\\addmul_2.o: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: ld returned 1 exit status

***
Interestingly, 2.5.0 compiles fine under the same settings.

I would appreciate any help in this regard.

Pavel Holoborodko.

--
Multiprecision Computing Toolbox for MATLAB
http://www.advanpix.com/

-- 
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.

Reply via email to