[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] GSL 1.11 Make errors - Help!
From: |
Hongzheng Wang |
Subject: |
Re: [Help-gsl] GSL 1.11 Make errors - Help! |
Date: |
Thu, 10 Apr 2008 15:26:05 +0800 |
OK. It looks like your cygwin environment has not been well setup
yet. You may need install GNU make (cygwin version) first, which
could be found through cygwin installation interface. Please make
sure you have installed all necessary development tools in cygwin.
Another possible solution is to install mingw environment.
On Thu, Apr 10, 2008 at 3:28 AM, <address@hidden> wrote:
>
> I've also tried to compile gsl-1.11 with gcc, but this what I got:
>
> C:\gsl-1.11>make
> make all-recursive
> mingw32-make[1]: Entering directory `C:/gsl-1.11'
> Making all in gsl
> /usr/bin/sh: line 17: make: command not found
> mingw32-make[1]: *** [all-recursive] Error 1
> mingw32-make[1]: Leaving directory `C:/gsl-1.11'
> mingw32-make: *** [all] Error 2
>
> I don't have any idea what is wrong.
>
> Lukasz
>
>
> Dnia 9 kwietnia 2008 9:01 "Hongzheng Wang" <address@hidden> napisaĆ(a):
>
>
> > Hi,
> >
> > I'm not sure if GSL 1.11 could be successfully compiled under cygwin.
> > It seems that the Makefile you are using is not fully correct, for
> > example, gcc fails to find corresponding header files shipped with
> > GSL. So, it may be helpful to diagnose first the status of the
> > execution of ./configuration, to see if there is anything wrong for
> > the environment detection.
> >
>
>
> > On Wed, Apr 9, 2008 at 12:51 PM, wrote:
> > > Hi, I am a complete rookie with gsl. I am trying to compile it with
> cygwin. I get the following report:
> > >
> > > $ make
> > > c:/Dev-cpp/bin/make.exe all-recursive
> > > make.exe[1]: Entering directory `c:/gsl-1.11'
> > > Making all in gsl
> > > c:\Dev-cpp\bin\make.exe[2]: Entering directory `c:/gsl-1.11/gsl'
> > > rm -f gsl*.h
> > > HEADERLIST="../gsl*.h ../*/gsl*.h"; \
> > > for h in $HEADERLIST; do \
> > > BASENAME=`basename $h`; \
> > > test -r $BASENAME || ln -s $h $BASENAME; \
> > > done
> > > c:\Dev-cpp\bin\make.exe[2]: Leaving directory `c:/gsl-1.11/gsl'
> > > Making all in utils
> > > c:\Dev-cpp\bin\make.exe[2]: Entering directory `c:/gsl-1.11/utils'
> > > c:\Dev-cpp\bin\make.exe[2]: Nothing to be done for `all'.
> > > c:\Dev-cpp\bin\make.exe[2]: Leaving directory `c:/gsl-1.11/utils'
> > > Making all in sys
> > > c:\Dev-cpp\bin\make.exe[2]: Entering directory `c:/gsl-1.11/sys'
> > > C:/cygwin/bin/sh.exe ../libtool --tag=CC --mode=compile gcc
> -DHAVE_CONFIG_H -
> > > . -I.. -I.. -g -O2 -c -o prec.lo prec.c
> > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -c prec.c
> -DDLL_EX
> > > ORT -DPIC -o .libs/prec.o
> > > prec.c:23:29: gsl/gsl_machine.h: No such file or directory
> > > prec.c:24:31: gsl/gsl_precision.h: No such file or directory
> > > prec.c:26: error: `_GSL_PREC_T_NUM' undeclared here (not in a function)
> > > prec.c:27: error: `GSL_DBL_EPSILON' undeclared here (not in a function)
> > > prec.c:28: error: `GSL_FLT_EPSILON' undeclared here (not in a function)
> > > prec.c:28: warning: excess elements in scalar initializer
> > > prec.c:28: warning: (near initialization for `gsl_prec_eps')
> > > prec.c:30: error: `GSL_SFLT_EPSILON' undeclared here (not in a function)
> > > prec.c:30: warning: excess elements in scalar initializer
> > > prec.c:30: warning: (near initialization for `gsl_prec_eps')
> > > prec.c:33: error: `GSL_SQRT_DBL_EPSILON' undeclared here (not in a
> function)
> > > prec.c:34: error: `GSL_SQRT_FLT_EPSILON' undeclared here (not in a
> function)
> > > prec.c:34: warning: excess elements in scalar initializer
> > > prec.c:34: warning: (near initialization for `gsl_prec_sqrt_eps')
> > > prec.c:36: error: `GSL_SQRT_SFLT_EPSILON' undeclared here (not in a
> function)
> > > prec.c:36: warning: excess elements in scalar initializer
> > > prec.c:36: warning: (near initialization for `gsl_prec_sqrt_eps')
> > > prec.c:39: error: `GSL_ROOT3_DBL_EPSILON' undeclared here (not in a
> function)
> > > prec.c:40: error: `GSL_ROOT3_FLT_EPSILON' undeclared here (not in a
> function)
> > > prec.c:40: warning: excess elements in scalar initializer
> > > prec.c:40: warning: (near initialization for `gsl_prec_root3_eps')
> > > prec.c:42: error: `GSL_ROOT3_SFLT_EPSILON' undeclared here (not in a
> function)
> > > prec.c:42: warning: excess elements in scalar initializer
> > > prec.c:42: warning: (near initialization for `gsl_prec_root3_eps')
> > > prec.c:45: error: `GSL_ROOT4_DBL_EPSILON' undeclared here (not in a
> function)
> > > prec.c:46: error: `GSL_ROOT4_FLT_EPSILON' undeclared here (not in a
> function)
> > > prec.c:46: warning: excess elements in scalar initializer
> > > prec.c:46: warning: (near initialization for `gsl_prec_root4_eps')
> > > prec.c:48: error: `GSL_ROOT4_SFLT_EPSILON' undeclared here (not in a
> function)
> > > prec.c:48: warning: excess elements in scalar initializer
> > > prec.c:48: warning: (near initialization for `gsl_prec_root4_eps')
> > > prec.c:51: error: `GSL_ROOT5_DBL_EPSILON' undeclared here (not in a
> function)
> > > prec.c:52: error: `GSL_ROOT5_FLT_EPSILON' undeclared here (not in a
> function)
> > > prec.c:52: warning: excess elements in scalar initializer
> > > prec.c:52: warning: (near initialization for `gsl_prec_root5_eps')
> > > prec.c:54: error: `GSL_ROOT5_SFLT_EPSILON' undeclared here (not in a
> function)
> > > prec.c:54: warning: excess elements in scalar initializer
> > > prec.c:54: warning: (near initialization for `gsl_prec_root5_eps')
> > > prec.c:57: error: `GSL_ROOT6_DBL_EPSILON' undeclared here (not in a
> function)
> > > prec.c:58: error: `GSL_ROOT6_FLT_EPSILON' undeclared here (not in a
> function)
> > > prec.c:58: warning: excess elements in scalar initializer
> > > prec.c:58: warning: (near initialization for `gsl_prec_root6_eps')
> > > prec.c:60: error: `GSL_ROOT6_SFLT_EPSILON' undeclared here (not in a
> function)
> > > prec.c:60: warning: excess elements in scalar initializer
> > > prec.c:60: warning: (near initialization for `gsl_prec_root6_eps')
> > > prec.c:26: error: storage size of `gsl_prec_eps' isn't known
> > > prec.c:32: error: storage size of `gsl_prec_sqrt_eps' isn't known
> > > prec.c:38: error: storage size of `gsl_prec_root3_eps' isn't known
> > > prec.c:44: error: storage size of `gsl_prec_root4_eps' isn't known
> > > prec.c:50: error: storage size of `gsl_prec_root5_eps' isn't known
> > > prec.c:56: error: storage size of `gsl_prec_root6_eps' isn't known
> > > c:\Dev-cpp\bin\make.exe[2]: *** [prec.lo] Error 1
> > > c:\Dev-cpp\bin\make.exe[2]: Leaving directory `c:/gsl-1.11/sys'
> > > make.exe[1]: *** [all-recursive] Error 1
> > > make.exe[1]: Leaving directory `c:/gsl-1.11'
> > > c:\Dev-cpp\bin\make.exe: *** [all] Error 2
> > >
> > > If anybody know what I have blew up, please let me know..
> > > Lukasz
> > >
> > >
> > > _______________________________________________
> > > Help-gsl mailing list
> > > address@hidden
> > > http://lists.gnu.org/mailman/listinfo/help-gsl
> > >
> >
> >
> >
> > --
> > HZ
> >
>
--
HZ