<div dir="ltr"><div><div><div>GSLL has only recently been updated to support GSL through v. 1.13. Any 1.x version should load, but new functions will not be available. For GSL v 2.x, the interface changed so I expect it will not load. Your best bet for quick results is to locate an old (1.x) version of GSL and use that.<br><br></div>Note: please join the mailing list. Posts from non-members are automatically discarded due to the spam problem.<br><br></div>Thanks,<br></div>Liam<br><div><div><div><div><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername"></b> <span dir="ltr"><<a href="mailto:gsll-devel-bounces@common-lisp.net">gsll-devel-bounces@common-lisp.net</a>></span><br>Date: Sat, Jul 23, 2016 at 3:23 PM<br>Subject: Auto-discard notification<br>To: <a href="mailto:gsll-devel-owner@common-lisp.net">gsll-devel-owner@common-lisp.net</a><br><br><br>The attached message has been automatically discarded.<br><br>---------- Forwarded message ----------<br>From: Karl Fogelmark <<a href="mailto:karlf@thep.lu.se">karlf@thep.lu.se</a>><br>To: <a href="mailto:gsll-devel@common-lisp.net">gsll-devel@common-lisp.net</a><br>Cc: <br>Date: Sat, 23 Jul 2016 21:16:40 +0200<br>Subject: GSL 2.0 incompatibility?<br><br>
Hi!<br>
<br>
I'm trying to install GSLL, as I need it for software that is to be included<br>
in a paper I plant to submit to a journal the coming week. However, I'm<br>
getting an error message I interpret at an incompatibility with GSL 2 (which<br>
changed parts of the API).<br>
<br>
I'm running Arch Linux, with GSL 2.1, SBCL 1.3.6, libffi 3.2.1,<br>
and attempted to install GSLL using quicklisp, as recommended.<br>
<br>
I've been advised on #lisp to contact you, as the mail list indicates that<br>
this bug has been resolved?<br>
<br>
If you have any ideas how I can resolve this issue, it would be much<br>
appreciated. Please find the error message attached below.<br>
<br>
Regards<br>
/Karl<br>
<br>
<br>
<br>
<br>
[vandelay@x201][~/quicklisp]% sbcl<br>
This is SBCL 1.3.6, an implementation of ANSI Common Lisp.<br>
More information about SBCL is available at <<a href="http://www.sbcl.org/" rel="noreferrer" target="_blank">http://www.sbcl.org/</a>>.<br>
<br>
SBCL is free software, provided as is, with absolutely no warranty.<br>
It is mostly in the public domain; some portions are provided under<br>
BSD-style licenses.  See the CREDITS and COPYING files in the<br>
distribution for more information.<br>
* (ql:quickload "gsll")<br>
To load "gsll":<br>
  Load 1 ASDF system:<br>
    gsll<br>
; Loading "gsll"<br>
.............; cc -m64 -I/home/vandelay/quicklisp/dists/quicklisp/software/cffi_0.16.1/ -o /home/vandelay/.cache/common-lisp/sbcl-1.3.6-linux-x64/home/vandelay/quicklisp/dists/quicklisp/software/gsll-master-b2f6ae1f-git/solve-minimize-fit/solver-struct /home/vandelay/.cache/common-lisp/sbcl-1.3.6-linux-x64/home/vandelay/quicklisp/dists/quicklisp/software/gsll-master-b2f6ae1f-git/solve-minimize-fit/solver-struct.c<br>
<br>
debugger invoked on a CFFI-GROVEL:GROVEL-ERROR in thread #<THREAD "main thread" RUNNING {1002936593}>: External process exited with code 1.<br>
Command was: "cc" "-m64" "-I/home/vandelay/quicklisp/dists/quicklisp/software/cffi_0.16.1/" "-o" "/home/vandelay/.cache/common-lisp/sbcl-1.3.6-linux-x64/home/vandelay/quicklisp/dists/quicklisp/software/gsll-master-b2f6ae1f-git/solve-minimize-fit/solver-struct" "/home/vandelay/.cache/common-lisp/sbcl-1.3.6-linux-x64/home/vandelay/quicklisp/dists/quicklisp/software/gsll-master-b2f6ae1f-git/solve-minimize-fit/solver-struct.c"<br>
Output was:<br>
which: no rc in (/home/vandelay/usr/bin:/home/vandelay/usr/local/bin:/home/vandelay/usr/bin:/home/vandelay/usr/local/bin:/home/vandelay/usr/bin:/home/vandelay/usr/local/bin:/home/vandelay/bin:/home/vandelay/usr/bin:/home/vandelay/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)<br>
In file included from /home/vandelay/.cache/common-lisp/sbcl-1.3.6-linux-x64/home/vandelay/quicklisp/dists/quicklisp/software/gsll-master-b2f6ae1f-git/solve-minimize-fit/solver-struct.c:10:0:<br>
/home/vandelay/.cache/common-lisp/sbcl-1.3.6-linux-x64/home/vandelay/quicklisp/dists/quicklisp/software/gsll-master-b2f6ae1f-git/solve-minimize-fit/solver-struct.c: In function ‘main’:<br>
/home/vandelay/quicklisp/dists/quicklisp/software/cffi_0.16.1/grovel/common.h:8:62: error: ‘gsl_multifit_fdfsolver {aka struct <anonymous>}’ has no member named ‘J’<br>
 #define offsetof(type, slot) ((long) ((char *) &(((type *) 0)->slot)))<br>
                                                              ^<br>
/home/vandelay/.cache/common-lisp/sbcl-1.3.6-linux-x64/home/vandelay/quicklisp/dists/quicklisp/software/gsll-master-b2f6ae1f-git/solve-minimize-fit/solver-struct.c:32:36: note: in expansion of macro ‘offsetof’<br>
   fprintf(output, " :offset %li)", offsetof(gsl_multifit_fdfsolver, J));<br>
                                    ^~~~~~~~<br>
<br>
<br>
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.<br>
<br>
restarts (invokable by number or by possibly-abbreviated name):<br>
  0: [RETRY                        ] Retry PROCESS-OP on #<GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct">.<br>
  1: [ACCEPT                       ] Continue, treating PROCESS-OP on #<GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct"> as having been successful.<br>
  2:                                 Retry ASDF operation.<br>
  3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration.<br>
  4: [ABORT                        ] Give up on "gsll"<br>
  5:                                 Exit debugger, returning to top level.<br>
<br>
(CFFI-GROVEL:GROVEL-ERROR "External process exited with code ~S.~@<br>
                     Command was: ~S~{ ~S~}~@<br>
                     Output was:~%~A" 1 "cc" ("-m64" "-I/home/vandelay/quicklisp/dists/quicklisp/software/cffi_0.16.1/" "-o" "/home/vandelay/.cache/common-lisp/sbcl-1.3.6-linux-x64/home/vandelay/quicklisp/dists/quicklisp/software/gsll-master-b2f6ae1f-git/solve-minimize-fit/solver-struct" "/home/vandelay/.cache/common-lisp/sbcl-1.3.6-linux-x64/home/vandelay/quicklisp/dists/quicklisp/software/gsll-master-b2f6ae1f-git/solve-minimize-fit/solver-struct.c") "which: no rc in (/home/vandelay/usr/bin:/home/vandelay/usr/local/bin:/home/vandelay/usr/bin:/home/vandelay/usr/local/bin:/home/vandelay/usr/bin:/home/vandelay/usr/local/bin:/home/vandelay/bin:/home/vandelay/usr/bin:/home/vandelay/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)<br>
In file included from /home/vandelay/.cache/common-lisp/sbcl-1.3.6-linux-x64/home/vandelay/quicklisp/dists/quicklisp/software/gsll-master-b2f6ae1f-git/solve-minimize-fit/solver-struct.c:10:0:<br>
/home/vandelay/.cache/common-lisp/sbcl-1.3.6-linux-x64/home/vandelay/quicklisp/dists/quicklisp/software/gsll-master-b2f6ae1f-git/solve-minimize-fit/solver-struct.c: In function ‘main’:<br>
/home/vandelay/quicklisp/dists/quicklisp/software/cffi_0.16.1/grovel/common.h:8:62: error: ‘gsl_multifit_fdfsolver {aka struct <anonymous>}’ has no member named ‘J’<br>
 #define offsetof(type, slot) ((long) ((char *) &(((type *) 0)->slot)))<br>
                                                              ^<br>
/home/vandelay/.cache/common-lisp/sbcl-1.3.6-linux-x64/home/vandelay/quicklisp/dists/quicklisp/software/gsll-master-b2f6ae1f-git/solve-minimize-fit/solver-struct.c:32:36: note: in expansion of macro ‘offsetof’<br>
   fprintf(output, \" :offset %li)\", offsetof(gsl_multifit_fdfsolver, J));<br>
                                    ^~~~~~~~<br>
")<br>
0]<br>
<br>
<br></div><br></div></div></div></div></div></div>