|
From: | John D Lamb |
Subject: | Re: [Help-gsl] problems running GSL |
Date: | Mon, 26 Sep 2005 07:35:31 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050727 |
Nicolás Quesada wrote: > Hi . I have a problem with GSL: when I try to make a program that uses > any function defined in the package I receive this message in the shell: > > /tmp/ccxeGO35.o(.text+0x39): En la función `main': > : undefined reference to `gsl_poly_complex_workspace_alloc' > /tmp/ccxeGO35.o(.text+0x5a): En la función `main': > : undefined reference to `gsl_poly_complex_solve' > /tmp/ccxeGO35.o(.text+0x6b): En la función `main': > : undefined reference to `gsl_poly_complex_workspace_free' > collect2: ld returned 1 exit status > Cuando compilar es muy importante que usar -lgsl -lgslcblas -lm. Verbigracia: gcc foo.c -o foo -lgsl -lgslcblas -lm -- JDL
[Prev in Thread] | Current Thread | [Next in Thread] |