[Top][All Lists]

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

[Help-gsl] Re: Cannot compile example.c

From: Nicolás Quesada
Subject: [Help-gsl] Re: Cannot compile example.c
Date: Thu, 8 Jun 2006 19:35:55 -0700

I'm having the same problem compiling the same program under FreeBSD : I type:

gcc -L/usr/local/lib example.o -lgsl -lgslcblas -lm
gcc example.o -lgsl -lgslcblas -lm

gcc   /usr/local/include/gsl/ example.o -lgsl -lgslcblas -lm
It is installed in /usr/local/include/gsl/

the error I get is:
ex.c:2:31: gsl/gsl_sf_bessel.h: No such file or directory

any suggestions?

thanks in advance

Nicolás Quesada

On 6/8/06, Thomas Weber <address@hidden> wrote:

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


Help-gsl mailing list

reply via email to

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