----- Original Message ----- From: "Armin Armbruster" <aarmb...@ndigital.com>
To: <help-gsl@gnu.org>
Sent: Wednesday, August 17, 2011 6:57 AM
Subject: [Help-gsl] Building gsl-1.15 under MinGW


Hi all,

I'm trying to build gsl-1.15 under MinGW and are having some problems.
I was following the instructions from INSTALL.
After running ./configure and make the compiler stops at infnan.c with the following error message:

infnan.c:98:3: error: #error "cannot define gsl_finite without HAVE_DECL_FINITE or HAVE_IEEE_COMPARISONS" infnan.c:115:3: error: #error "cannot define gsl_isnan without HAVE_DECL_ISNAN or HAVE_IEEE_COMPARISONS"

========================================

Rather strange. When I build with MinGW (gcc-3.4.5) in my msys shell, there's no problem.

A diff on our configure outputs is attached (the '-' is what the OP had, the '+' is what I had). Perhaps that rings a bell for someone here .... doesn't ring any bells for me, but :-)

Perhaps of more siginificance is the contents of (the generated) gsl-1.15/config.h. You should be able to find the following line in that file:

#define HAVE_DECL_FINITE 1

And you should also be able to find this line:

#define HAVE_IEEE_COMPARISONS 1

Does your gsl-1.15/config.h contain those lines ? (Your configure output suggests that you should at least have the first.)

What does 'gcc -v' output for you ?

Cheers,
Rob

--- conf0.txt   Wed Aug 17 13:01:58 2011
+++ conf.txt    Wed Aug 17 13:01:04 2011

-checking whether the shell understands "+="... yes
+checking whether the shell understands "+="... no

-checking how to recognize dependent libraries... file_magic ^x86 archive 
import|^x86 DLL
+checking how to recognize dependent libraries... file_magic file format 
(pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)

-checking how to associate runtime and link libraries... 
func_cygming_dll_for_implib
+checking how to associate runtime and link libraries... 
func_cygming_dll_for_implib_fallback

-checking for mt... mt
+checking for mt... no



_______________________________________________
Help-gsl mailing list
Help-gsl@gnu.org
https://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to