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=63e84165b7bd8aaa7...
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.