help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] problem


From: Oliver Jennrich
Subject: Re: [Help-gsl] problem
Date: Wed, 22 Oct 2008 14:00:18 +0200

On Tue, Oct 21, 2008 at 7:14 AM, kerem cosar <address@hidden> wrote:
> Hi,
> I have installed gsl-1.11 into my drive, but when I try to use gsl_matrix
> library , it does not recognize the commands
>
> gsl_matrix_alloc
>
> and
>
> gsl_matrix_set
>
> and I can't compile my file, I get the error message
>
> Undefined                       first referenced
>  symbol                             in file
> gsl_matrix_set                      file.o
> gsl_matrix_alloc                    file.o
> ld: fatal: Symbol referencing errors. No output written to file
>
> how can I solve this problem?

Most likely by telling your linker that it has to link with the gsl.
Without more details on you development environment it is hard to tell
what you have to do, but most compilers called from the command line
accept the 'l' (ell) switch:

gcc -o my_prog my_prog.c -lgsl

-- 
Space -- the final frontier




reply via email to

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