[Top][All Lists]
[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
- [Help-gsl] problem, kerem cosar, 2008/10/21
- Re: [Help-gsl] problem,
Oliver Jennrich <=
- Re: [Help-gsl] problem, Frank Reininghaus, 2008/10/22
- Message not available
- Re: [Help-gsl] problem, Oliver Jennrich, 2008/10/23
- Re: [Help-gsl] problem, kerem cosar, 2008/10/24
- Re: [Help-gsl] problem, Steven Vancoillie, 2008/10/24
- Re: [Help-gsl] problem, Jochen Küpper, 2008/10/24
- Re: [Help-gsl] problem, Jochen Küpper, 2008/10/24
- Re: [Help-gsl] problem, Steven Vancoillie, 2008/10/24