[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Cannot compile example.c
From: |
Thomas Weber |
Subject: |
Re: [Help-gsl] Cannot compile example.c |
Date: |
Thu, 08 Jun 2006 11:03:21 +0200 |
Hi,
Am Montag, den 05.06.2006, 11:10 +0200 schrieb César Asensio:
> The command used for compilation is simply
>
> gcc example.c
>
> and the error message is
>
> /cygdrive/c/temp/ccvkPjgO.o:example.c:(.text+0x3a): undefined reference to
> `_gsl_sf_bessel_J0'
> collect2: ld returned 1 exit status
Please read section 2.2 of the GSL Reference Manual, especially
http://www.gnu.org/software/gsl/manual/html_node/Linking-programs-with-the-library.html#Linking-programs-with-the-library
Thomas