Another option: http://ascend4.org/Binary_installer_for_GSL-1.13_on_MinGW.
On Tue, Aug 16, 2011 at 4:57 PM, Armin Armbruster <aarmb...@ndigital.com>wrote: > 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" > > I would appreciate any input on how to proceed from here. > The full output from ./configure and make can be found below. > > Thanks in advance, > Armin > > > > $ ./configure > checking for a BSD-compatible install... /bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking for a sed that does not truncate output... /bin/sed > checking whether make sets $(MAKE)... (cached) yes > checking build system type... i686-pc-mingw32 > checking host system type... i686-pc-mingw32 > checking for gcc... gcc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.exe > checking for suffix of executables... .exe > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking how to run the C preprocessor... gcc -E > checking whether ln -s works... no, using cp -p > checking how to print strings... printf > checking for a sed that does not truncate output... (cached) /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for fgrep... /bin/grep -F > checking for ld used by gcc... c:/mingw/mingw32/bin/ld.exe > checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /mingw/bin/nm > checking the name lister (/mingw/bin/nm) interface... BSD nm > checking the maximum length of command line arguments... 8192 > checking whether the shell understands some XSI constructs... yes > checking whether the shell understands "+="... yes > checking how to convert i686-pc-mingw32 file names to i686-pc-mingw32 > format... func_convert_file_msys_to_w32 > checking how to convert i686-pc-mingw32 file names to toolchain format... > func_convert_file_msys_to_w32 > checking for c:/mingw/mingw32/bin/ld.exe option to reload object files... > -r > checking for objdump... objdump > checking how to recognize dependent libraries... file_magic ^x86 archive > import|^x86 DLL > checking for dlltool... dlltool > checking how to associate runtime and link libraries... > func_cygming_dll_for_implib > checking for ar... ar > checking for archiver @FILE support... @ > checking for strip... strip > checking for ranlib... ranlib > checking command to parse /mingw/bin/nm output from gcc object... ok > checking for sysroot... no > checking for mt... mt > checking if mt is a manifest tool... no > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for dlfcn.h... no > checking for objdir... .libs > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC > checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking if gcc supports -c -o file.o... (cached) yes > checking whether the gcc linker (c:/mingw/mingw32/bin/ld.exe) supports > shared libraries... yes > checking whether -lc should be explicitly linked in... yes > checking dynamic linker characteristics... Win32 ld.exe > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking for size_t... yes > checking for working volatile... yes > checking for inline... inline > checking whether char is unsigned... no > checking for cos in -lm... yes > checking for GNU-style extern inline... yes > checking ieeefp.h usability... no > checking ieeefp.h presence... no > checking for ieeefp.h... no > checking for vprintf... yes > checking for _doprnt... no > checking for memcpy... yes > checking for memmove... yes > checking for strdup... yes > checking for strtol... yes > checking for strtoul... yes > checking for EXIT_SUCCESS and EXIT_FAILURE... yes > checking for cos in -lm... (cached) yes > checking whether feenableexcept is declared... no > checking whether fesettrapenable is declared... no > checking whether hypot is declared... yes > checking whether expm1 is declared... yes > checking whether acosh is declared... yes > checking whether asinh is declared... yes > checking whether atanh is declared... yes > checking whether ldexp is declared... yes > checking whether frexp is declared... yes > checking whether fprnd_t is declared... no > checking whether isinf is declared... yes > checking whether isfinite is declared... yes > checking whether finite is declared... yes > checking whether isnan is declared... yes > checking whether log1p is declared... yes > checking for long double stdio... no > checking for extended floating point registers... yes > checking for IEEE arithmetic interface type... unknown > checking for IEEE compiler flags... none > checking for IEEE comparisons... yes > checking for IEEE denormalized values... yes > configure: creating ./config.status > config.status: creating gsl_version.h > config.status: creating gsl.spec > config.status: creating gsl/Makefile > config.status: creating test/Makefile > config.status: creating err/Makefile > config.status: creating sys/Makefile > config.status: creating utils/Makefile > config.status: creating const/Makefile > config.status: creating min/Makefile > config.status: creating multimin/Makefile > config.status: creating ieee-utils/Makefile > config.status: creating fft/Makefile > config.status: creating specfunc/Makefile > config.status: creating dht/Makefile > config.status: creating fit/Makefile > config.status: creating multifit/Makefile > config.status: creating bspline/Makefile > config.status: creating statistics/Makefile > config.status: creating sum/Makefile > config.status: creating roots/Makefile > config.status: creating multiroots/Makefile > config.status: creating ntuple/Makefile > config.status: creating poly/Makefile > config.status: creating qrng/Makefile > config.status: creating rng/Makefile > config.status: creating randist/Makefile > config.status: creating siman/Makefile > config.status: creating integration/Makefile > config.status: creating interpolation/Makefile > config.status: creating doc/Makefile > config.status: creating block/Makefile > config.status: creating vector/Makefile > config.status: creating matrix/Makefile > config.status: creating histogram/Makefile > config.status: creating monte/Makefile > config.status: creating ode-initval/Makefile > config.status: creating ode-initval2/Makefile > config.status: creating cblas/Makefile > config.status: creating blas/Makefile > config.status: creating linalg/Makefile > config.status: creating eigen/Makefile > config.status: creating permutation/Makefile > config.status: creating combination/Makefile > config.status: creating multiset/Makefile > config.status: creating sort/Makefile > config.status: creating complex/Makefile > config.status: creating diff/Makefile > config.status: creating deriv/Makefile > config.status: creating cheb/Makefile > config.status: creating cdf/Makefile > config.status: creating wavelet/Makefile > config.status: creating Makefile > config.status: creating config.h > config.status: executing depfiles commands > config.status: executing libtool commands > > > > $ make > make all-recursive > make[1]: Entering directory `/c/gsl-1.15' > Making all in gsl > make[2]: Entering directory `/c/gsl-1.15/gsl' > rm -f gsl*.h > HEADERLIST="../gsl*.h ../*/gsl*.h"; \ > for h in $HEADERLIST; do \ > BASENAME=`basename $h`; \ > test -r $BASENAME || cp -p $h $BASENAME; \ > done > make[2]: Leaving directory `/c/gsl-1.15/gsl' > Making all in utils > > some files later: > > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. > -I.. -g -O2 -MT infnan.lo -MD -MP -MF .deps/infnan.Tpo -c -o infnan.lo > infnan.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -MT infnan.lo > -MD -MP -MF .deps/infnan.Tpo -c infnan.c -DDLL_EXPORT -DPIC -o > .libs/infnan.o > 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" > make[2]: *** [infnan.lo] Error 1 > make[2]: Leaving directory `/c/gsl-1.15/sys' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/c/gsl-1.15' > make: *** [all] Error 2 > > -- > --------------------------------------------------- > Armin Armbruster > Research Scientist > NDI > 103 Randall Drive > Waterloo, ON, Canada N2V 1C5 > Telephone: +1 (519) 884-5142 ext. 279 > Toll Free: +1 (877) 634-6340 > Global: ++ (800) 634-634-00 > Facsimile: +1 (519) 884-5184 > Website: www.ndigital.com > --------------------------------------------------- > > > > _______________________________________________ > Help-gsl mailing list > Help-gsl@gnu.org > https://lists.gnu.org/mailman/listinfo/help-gsl > _______________________________________________ Help-gsl mailing list Help-gsl@gnu.org https://lists.gnu.org/mailman/listinfo/help-gsl