bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Bug-gsl] installation problems under Cygwin


From: David Wilson
Subject: RE: [Bug-gsl] installation problems under Cygwin
Date: Thu, 10 Apr 2003 14:39:16 -0700

Hi, I figured out the main problem: the configure script determined that "ln 
-s" works, and so make makes links to header files, which gcc is then unable to 
read.  (The gcc is from msys rather than cygwin, which might account for the 
inability to read symbolic links.)  I modified the script so that "ln" is used 
instead, and the installation progressed much further before encountering 
additional problems.  Here's the log showing the next problem that occurs.
  David
 
creating libgsl.la
(cd .libs && rm -f libgsl.la && ln ../libgsl.la libgsl.la)
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c gsl-randist.c
/bin/sh ./libtool --mode=link gcc  -g -O2  -o gsl-randist.exe  gsl-randist.o lib
gsl.la cblas/libgslcblas.la
gcc -g -O2 -o gsl-randist.exe gsl-randist.o  ./.libs/libgsl.a cblas/.libs/libgsl
cblas.a
gsl-randist.o: In function `main':
c:/gsl-1.3/gsl-randist.c:98: undefined reference to `gsl_rng_env_setup'
c:/gsl-1.3/gsl-randist.c:100: undefined reference to `gsl_rng_default_seed'
c:/gsl-1.3/gsl-randist.c:108: undefined reference to `gsl_rng_default'
c:/gsl-1.3/gsl-randist.c:106: undefined reference to `gsl_rng_default_seed'
c:/gsl-1.3/gsl-randist.c:108: undefined reference to `gsl_rng_alloc'
c:/gsl-1.3/gsl-randist.c:385: undefined reference to `gsl_ran_bernoulli'
c:/gsl-1.3/gsl-randist.c:132: undefined reference to `gsl_ran_beta'
c:/gsl-1.3/gsl-randist.c:139: undefined reference to `gsl_ran_binomial'
c:/gsl-1.3/gsl-randist.c:145: undefined reference to `gsl_ran_cauchy'
c:/gsl-1.3/gsl-randist.c:151: undefined reference to `gsl_ran_chisq'
c:/gsl-1.3/gsl-randist.c:158: undefined reference to `gsl_ran_erlang'
c:/gsl-1.3/gsl-randist.c:164: undefined reference to `gsl_ran_exponential'
c:/gsl-1.3/gsl-randist.c:171: undefined reference to `gsl_ran_exppow'
c:/gsl-1.3/gsl-randist.c:178: undefined reference to `gsl_ran_fdist'
c:/gsl-1.3/gsl-randist.c:185: undefined reference to `gsl_ran_flat'
c:/gsl-1.3/gsl-randist.c:192: undefined reference to `gsl_ran_gamma'
c:/gsl-1.3/gsl-randist.c:198: undefined reference to `gsl_ran_gaussian'
c:/gsl-1.3/gsl-randist.c:205: undefined reference to `gsl_ran_gaussian_tail'
c:/gsl-1.3/gsl-randist.c:210: undefined reference to `gsl_ran_ugaussian'
c:/gsl-1.3/gsl-randist.c:216: undefined reference to `gsl_ran_ugaussian_tail'
c:/gsl-1.3/gsl-randist.c:225: undefined reference to `gsl_ran_bivariate_gaussian
'
c:/gsl-1.3/gsl-randist.c:229: undefined reference to `gsl_ran_dir_2d'
c:/gsl-1.3/gsl-randist.c:233: undefined reference to `gsl_ran_dir_3d'
c:/gsl-1.3/gsl-randist.c:243: undefined reference to `gsl_ran_dir_nd'
c:/gsl-1.3/gsl-randist.c:257: undefined reference to `gsl_ran_geometric'
c:/gsl-1.3/gsl-randist.c:264: undefined reference to `gsl_ran_gumbel1'
c:/gsl-1.3/gsl-randist.c:271: undefined reference to `gsl_ran_gumbel2'
c:/gsl-1.3/gsl-randist.c:279: undefined reference to `gsl_ran_hypergeometric'
c:/gsl-1.3/gsl-randist.c:285: undefined reference to `gsl_ran_laplace'
c:/gsl-1.3/gsl-randist.c:290: undefined reference to `gsl_ran_landau'
c:/gsl-1.3/gsl-randist.c:297: undefined reference to `gsl_ran_levy'
c:/gsl-1.3/gsl-randist.c:305: undefined reference to `gsl_ran_levy_skew'
c:/gsl-1.3/gsl-randist.c:311: undefined reference to `gsl_ran_logarithmic'
c:/gsl-1.3/gsl-randist.c:317: undefined reference to `gsl_ran_logistic'
c:/gsl-1.3/gsl-randist.c:324: undefined reference to `gsl_ran_lognormal'
c:/gsl-1.3/gsl-randist.c:331: undefined reference to `gsl_ran_negative_binomial'
c:/gsl-1.3/gsl-randist.c:338: undefined reference to `gsl_ran_pareto'
c:/gsl-1.3/gsl-randist.c:345: undefined reference to `gsl_ran_pascal'
c:/gsl-1.3/gsl-randist.c:351: undefined reference to `gsl_ran_poisson'
c:/gsl-1.3/gsl-randist.c:357: undefined reference to `gsl_ran_rayleigh'
c:/gsl-1.3/gsl-randist.c:364: undefined reference to `gsl_ran_rayleigh_tail'
c:/gsl-1.3/gsl-randist.c:370: undefined reference to `gsl_ran_tdist'
c:/gsl-1.3/gsl-randist.c:377: undefined reference to `gsl_ran_weibull'
make[2]: *** [gsl-randist.exe] Error 1
make[2]: Leaving directory `/c/gsl-1.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/gsl-1.3'
make: *** [all-recursive-am] Error 2


________________________________

From: Brian Gough [mailto:address@hidden
Sent: Thu 4/10/2003 5:45 AM
To: David Wilson
Cc: address@hidden
Subject: Re: [Bug-gsl] installation problems under Cygwin



David Wilson writes:
 > Hi, I tried installing GSL 1.3 under Cygwin, and encountered some
 > problems, including the nonexistence of gsl_sys.h and gsl_test.h.  I
 > also looked for the precompiled version of GSL for Windows, and noticed
 > that only version 1.0 is available, rather than the current 1.3.  Is GSL
 > 1.3 supposed to install under Cygwin?

GSL-1.3 should compile on Cygwin, although I haven't tried it
myself.  Can you send a transcript of the build process and
error messages.  Thanks.

--
Brian Gough

----------------------------------------------------------------------
Network Theory Ltd             Phone: +44 (0)117 3179309
15 Royal Park                    Fax: +44 (0)117 9048108
Bristol BS8 3AL                  WWW: http://www.network-theory.co.uk/
United Kingdom                 Email: address@hidden    
----------------------------------------------------------------------






reply via email to

[Prev in Thread] Current Thread [Next in Thread]