On Friday 19 November 2010 19:47:03 Jeff Gilchrist wrote: > On Fri, Nov 19, 2010 at 1:47 PM, Jason <ja...@njkfrudils.plus.com> wrote: > > Cheers , My best guess is that this is an autotool problem. I just tried > > using the latest autotools , but it is a lot stricter than our current > > version , and I would have to do some work on our configure.in and > > makefile.am's before I can try it. > > Ok, we will see what happens. What configure options did you get > mingw64 to work with? I just tried ./configure and also ./configure > --enable-static --disable-shared. They both finish compiling with > make and create the library but neither will even build any make check > binaries to test. I get errors like: > > /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -O2 -m64 > -march=core2 -mtune=core2 -o t-bswap.exe t-bswap.o libtests.la > ../libmpir.la > libtool: link: gcc -std=gnu99 -O2 -m64 -march=core2 -mtune=core2 -o > t-bswap.exe t-bswap.o ./.libs/libtests.a > /home/Jeff/mpir-2.2.0/.libs/libmpir.a ../.libs/lib mpir.a > ./.libs/libtests.a(refmpn.o):refmpn.c:(.text+0x3ec4): undefined reference > to `__ gmpn_mul_1' > d:/msys/1.0/home/Jeff/mpir-2.2.0/.libs/libmpir.a(randlc2x.o):randlc2x.c:(.t > ext+0 x43e): undefined reference to `__gmpn_add_n' > d:/msys/1.0/home/Jeff/mpir-2.2.0/.libs/libmpir.a(randlc2x.o):randlc2x.c:(.t > ext+0 x4ae): undefined reference to `__gmpn_rshift' > > etc... > > Jeff.
Hi I was dreading an error like this.... , I've had some "odd" errors with cygwin recently in that it would compile mpir-2.1 whereas before it did with no problems. My cygwin on Win32 works now and I'm not going update it , but cygwin on Win64 is still broken. I've not seen problems like this before with cygwin , so hopefully it's just a "local" balls up. In regard to Mingw* , well , what can I say , for mingw32 I have to install it twice to get it to work ,apparently once just isn't good enough! I'm not installing the latest though , but then again I didn't have this problem a year ago. For mingw64 I used someone pre-packaged version "mingw-w64-bin-i686- mingw-20100628.zip" (it was posted to the mpir-list about 9 months ago) , and then I had to rename the exe's , install MSYS-1.0.11 , change fstab , and maybe change path? Once it's working , then I used the usual configure options , nothing special , the only failure I got was for a shared library with c++ on make check (which is an autotools problem, it gets the path wrong) , it passed make check on all the other combinations of options(16 combinations). So my guess is that you have a duff mingw64 install . ie ./configure && make && make check should work , no problem Has anyone got a good MingGW64 installed , please can you mpir-2.2-rc2 on it. It should works on more than my machine :) If we do find that it is very sensitive to the exact versions of the mingw tools , then we could post a page explaining the exact versions where it is known to work , or perhaps list the broken mingw64 versions. Thanks Jason -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-de...@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.