On Sun, 15 Jul 2007, Martin Jansche wrote:

> > I'm having difficulty in getting the exponential curve fit example to
> > even compile. Whenever I try it, I get undefined references to things
> > like gsl_matriix_alloc and gsl_vector_view_array.
> 
> Most likely a linker error -- you're not linking against the GSL
> libraries.  Try linking with
> 
>   gcc -o foo foo.o bar.o $(gsl-config --libs)

Thanks, that did the trick. I wasn't including all the required libraries 
in the link stage. I can't believe I did that. Thanks for the hint about 
gsl-config, I didn't know about that. :-)

Gordan



_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to