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, 17 Apr 2003 17:08:33 -0700

Hi, regarding the question of how to get GSL to compile under Cygwin, I tried 
skipping the libtool commands (which I'm unacquainted with anyway) and did a 
simple
  ar cruv libgsl.a version.o */*.o
  ranlib libgsl.a
This allowed me to compile the program rand-dist.c without problems via
  gcc gsl-randist.c -I. -L. -lgsl
 
However, I noticed that the output of the "mt19937" random number generator 
does not agree with the example output in the GSL documentation.  The output 
that I get for the sample program is 4293858116 versus the 2867219139 which is 
given in the documentation.  The output of the "taus" random number generator 
does however agree with the GSL documentation.  Any ideas on what's going on 
there?
 
David

________________________________

From: Brian Gough [mailto:address@hidden
Sent: Wed 4/16/2003 11:31 AM
To: David Wilson
Cc: address@hidden
Subject: RE: [Bug-gsl] installation problems under Cygwin



David Wilson writes:
 > 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.

Hi,

Some web searching for the error message "undefined symbols
not allowed in i686-pc-cygwin shared libraries" suggests it is
a general problem with Cygwin & libtool affecting other
packages.  If you find there is something in GSL that can be
changed to accommodate Cygwin better let me know.

best regards,

--
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]