[Gsll-devel] clisp&cffi: broken foreign functions in saved images

Sam Steingold sds at gnu.org
Fri Aug 21 03:29:57 UTC 2009


Liam,

On Thu, Aug 20, 2009 at 9:10 PM, Liam Healy<lhealy at common-lisp.net> wrote:
>
> Unfortunately I tried to repeat the tests now and got a new error I've
> not seen before.  In compiling conditions.lisp,  there is an error
> *** - EVAL: variable +EDOM+ has no value
> This should be defined by the form at the top of the file,
> #.(cons 'progn
>        (loop for i from (cffi:foreign-enum-value 'gsl-errorno :continue)
>            to (cffi:foreign-enum-value 'gsl-errorno :eof)
>            for name = (string (cffi:foreign-enum-keyword 'gsl-errorno i))
>            collect
>            `(defconstant ,(intern (format nil "+~:@(~a~)+" name) :gsll) ,i)))

I think you need to replace "cons 'progn" with "list* 'eval-when
'(load compile eval)"



-- 
Sam Steingold <http://sds.podval.org>




More information about the gsll-devel mailing list