> > rk...@linux-7okp:~> 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 > rk...@linux-7okp:~> > > > What are the correct flags here? >
gcc f.c -lgsl -lgslcblas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
