This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygwin problem using GSL library


Hi,

I downloaded GSL1.1.1 and installed it on Cygwin whitout any error. I inform
you that I installed this library because I need to use the Random Number
Generator functions. But now, when I try to compile the example program
included in Random Number Generetor manual, the compilation stops and exits
with error. This is the print of the screen messages:

$ gcc ss.cpp
ccFkMRII.o(.text+0x78c):ss.cpp: undefined reference to 'gsl_rng_env_setup'
ccFkMRII.o(.text+0x78c):ss.cpp: undefined reference to 'gsl_rng_default'
ccFkMRII.o(.text+0x78c):ss.cpp: undefined reference to 'gsl_rng_alloc'
collect2: ld returned 1 exit status

Has anyone had experience with this ?
Thanks

Regards,
Davide

________________________________

Davide Careglio
UPC - Universitat Politècnica de Catalunya
Computer Architecture Department
c/ Jordi Girona, 1-3, D6 008
08034 Barcelona, Spain

Phone: +34 93 4017182    Fax: +34 93 4017055
E-Mail: careglio@ac.upc.es
_______________________________________



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]