[Top][All Lists]

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

Re: [Help-gsl] example C file compile flags

From: Steven Vancoillie
Subject: Re: [Help-gsl] example C file compile flags
Date: Fri, 9 Jan 2009 10:43:48 +0100
User-agent: KMail/1.9.9

> address@hidden:~> gcc -I/usr/local/include f.c
> /tmp/cc0jcO07.o: In function `main':
> f.c:(.text+0x13): undefined reference to `gsl_matrix_alloc'
> f.c:(.text+0x5d): undefined reference to `gsl_matrix_set'
> f.c:(.text+0x98): undefined reference to `gsl_matrix_get'
> f.c:(.text+0xca): undefined reference to `gsl_matrix_free'
> collect2: ld returned 1 exit status
> address@hidden:~>  
> What are the correct flags here?

gcc f.c -lgsl -lgslcblas

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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