help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] [gsl-2.0] undefined reference to `gsl_sf_legendre_sphPlm_


From: Patrick Alken
Subject: Re: [Help-gsl] [gsl-2.0] undefined reference to `gsl_sf_legendre_sphPlm_array'
Date: Mon, 2 Nov 2015 09:21:26 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Yes thats a bug. Could you please locate line 138 of multifit/fdjac.c and change it as follows:

-  status = fdjac(x, fdf, f, J);
+  status = fdjac(x, NULL, fdf, f, J);

This should fix the issue.

Patrick
________________________________________
From: address@hidden <address@hidden> on behalf of address@hidden <address@hidden>
Sent: Monday, November 2, 2015 1:46 AM
To: address@hidden
Subject: Re: [Help-gsl] [gsl-2.0] undefined reference to `gsl_sf_legendre_sphPlm_array'

Aaah ... thanks Patrick.

I've now located the online manual.

Is there a recommended way of building gsl-2.0 such that the deprecated
functions are still available ?

I tried (naively) commenting out the #define of GSL_DISABLE_DEPRECATED in
config.h immediately prior to running 'make'.
But 'make' then failed when it came to compiling fdjac.c; firstly some
warnings, then finally:

fdjac.c:138:12: error: too few arguments to function 'fdjac' status =
fdjac(x, fdf, f, J);

Cheers,
Rob

-----Original Message-----
From: Patrick Alken
Sent: Monday, November 02, 2015 2:06 AM
To: address@hidden
Subject: Re: [Help-gsl] [gsl-2.0] undefined reference to
`gsl_sf_legendre_sphPlm_array'

The answer is in the manual:

-----
These functions are now deprecated and will be removed in a future
release; see gsl_sf_legendre_array and gsl_sf_legendre_deriv_array.
-----

On 11/01/2015 01:41 AM, address@hidden wrote:
Hi,

I see that  gsl_sf_legendre_sphPlm_array() has been deprecated and
references to it are no longer resolved by the gsl library (if
GSL_DISABLE_DEPRECATED is defined).

With what should gsl_sf_legendre_sphPlm_array() be replaced ?





reply via email to

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