I have run into some problems with the cffi-061116 tarball and cvs ECL. When trying to load the cffi-examples I get 'The variable CFFI-SYS::ARG-VALUES is unbound.' error. It looks like a typo(?) in cffi-ecl.lisp: PRODUCE-FUNCTION-POINTER-CALL. After fixing that the examples compile fine but trying any of the them gives errors like '"gethostname" is not of type SI:FOREIGN-DATA.'
-------------------- T. Neste
2006/11/24, Tomi Neste tomi.neste@netikka.fi:
I have run into some problems with the cffi-061116 tarball and cvs ECL. When trying to load the cffi-examples I get 'The variable CFFI-SYS::ARG-VALUES is unbound.' error. It looks like a typo(?) in cffi-ecl.lisp: PRODUCE-FUNCTION-POINTER-CALL. After fixing that the examples compile fine but trying any of the them gives errors like '"gethostname" is not of type SI:FOREIGN-DATA.'
There were two errors in the ecl backend which only appeared when using the dynamically generated FFI. Attached to this email there are fixes for CFFI in the form of patch file.
Juanjo
On Fri, 24 Nov 2006 18:49:35 +0200, Juan Jose Garcia-Ripoll jjgarcia@users.sourceforge.net wrote:
2006/11/24, Tomi Neste tomi.neste@netikka.fi:
I have run into some problems with the cffi-061116 tarball and cvs ECL. When trying to load the cffi-examples I get 'The variable CFFI-SYS::ARG-VALUES is unbound.' error. It looks like a typo(?) in cffi-ecl.lisp: PRODUCE-FUNCTION-POINTER-CALL. After fixing that the examples compile fine but trying any of the them gives errors like '"gethostname" is not of type SI:FOREIGN-DATA.'
There were two errors in the ecl backend which only appeared when using the dynamically generated FFI. Attached to this email there are fixes for CFFI in the form of patch file.
Juanjo
Great, everything seems to work fine after patching.
T. Neste
On 11/24/06, Juan Jose Garcia-Ripoll jjgarcia@users.sourceforge.net wrote:
Attached to this email there are fixes for CFFI in the form of patch file.
Pushed. Thanks.