help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] gsl_linalg_SV_decomp segfaults, but I think I've called i


From: Analabha Roy
Subject: Re: [Help-gsl] gsl_linalg_SV_decomp segfaults, but I think I've called it correctly
Date: Mon, 13 Mar 2006 18:41:45 -0600

Do it like this:
(assuming ur gsl libs are in the distributions default paths)

 gcc -c $FILE.c

Then:

 gcc $FILE.o -lgsl -lgslcblas -lm -l$ANYTHING_ELSE -o $WHATEVER.out


On 3/4/06, Brian Gough <address@hidden> wrote:
>
> Tom Vajzovic writes:
> > I'm trying to solve a system of linear equations.
> > When I call the function gsl_linalg_SV_decomp, my program segfaults.
> > I compiled with
> >
> > $ gcc -lgsl -lgslcblas -lm test.c -o test
>
> The most important gcc option is missing from your command-line,
> http://www.network-theory.co.uk/docs/gccintro/gccintro_9.html
> If you add it, it will show you the problem(s).
>
> --
> Brian Gough
>
> Network Theory Ltd,
> Publishing the GSL Manual --- http://www.network-theory.co.uk/gsl/manual/
>
>
> _______________________________________________
> Help-gsl mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gsl
>


reply via email to

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