[cffi-devel] CCL Too few arguments in call to #<Compiled-function CFFI::NOTICE-FOREIGN-STRUCT-DEFINITION #x30004143F48F>

Liam Healy lnp at healy.washington.dc.us
Mon Feb 23 17:54:04 UTC 2009


On Mon, Feb 23, 2009 at 11:46 AM, Stelian Ionescu
<stelian.ionescu-zeus at poste.it> wrote:
> On Mon, 2009-02-23 at 10:22 -0500, Liam Healy wrote:
>> When compiling my package GSLL (http://repo.or.cz/w/gsll.git) with the
>> lastest version of CFFI (from darcs repo yesterday) in Clozure CL, I
>> get an error
>> Too few arguments in call to #<Compiled-function
>> CFFI::NOTICE-FOREIGN-STRUCT-DEFINITION #x30004143F48F>
>> If I use the CFFI version that's in Debian lenny, 20080217-1, it
>> compile, loads, and runs fine.
>> Also the CFFI darcs version compiles, loads and runs fine under SBCL.
>> The relevant GSLL source file is here:
>> http://repo.or.cz/w/gsll.git?a=blob;f=init/callback.lisp;h=63e84165b7bd8aaa7188d3b5805b99fecf99dddb;hb=f23f16afcda15531e6442837e13198834894d757
>>
>> Any ideas as to why I get this error?
>
> I guess that you're having a problem of stale FASLs: try (asdf:oos
> 'asdf:load-op :gsll :force t) and if that doesn't work remove all FASLs
> from /var/cache/common-lisp-controller and retry. A good advice would be
> not to use c-l-c at all IMO.
>

Sorry I failed to mention I had cleared all fasls, both for GSLL and CFFI.


Liam




More information about the cffi-devel mailing list