CScotty - 2013-03-19

Any help appreciated..

I'm developing a GUI using Qt 5.0.1 with MinGW toolchain, that employs the gnuwin port of the gsl dynamic libraries. I'm using the v1.8 prebuilt dll's. They were built with MinGW, I understand. My current target is a Win 7 64 bit platform,

The problem I run into that what when allocating space for a new fdsolver struct (only 24 bytes), i.e a call to gsl_multifit_fdfsolver_alloc, I get a GSLENOMEM error thrown. If place the relevant line from that source multifit/fdfsolver.c i.e.

"s = (gsl_multifit_fdfsolver *) malloc (sizeof (gsl_multifit_fdfsolver));"

into my code it works in so far as the memory is allocated OK. Could anyone throw some insight into what a solution might be?

A secondary issue is that in order to work around this I tried to link the libraries statically by building them locally. However ftjam errors out with a 'link line too long' error and the make batch file fails to produce the libgsl library, although it did generate libgslblas.

Right now, I'm completely stuck.

Thanks for any help!