CFFI + gtkairo + sbcl 0.9.18

C Y <smustudent1 <at> yahoo.com>
2006-11-11 22:36:48 GMT

I'm not sure if this is really a CFFI issue or not, but when I'm trying
to use the gtkairo backend for McCLIM (which uses CFFI) I get the
following:
* (clim-demo::run-test 'clim-demo::demodemo)
debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial thread"
{B28F279}>:
Trying to access undefined foreign variable "_gdk_error_warnings".
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [ABORT] Exit debugger, returning to top level.
(CFFI::FOREIGN-SYMBOL-POINTER-OR-LOSE "_gdk_error_warnings")
0]
Is this a CFFI issue?
Cheers,
CY
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

:string and external formats

David Lichteblau <david <at> lichteblau.com>
2006-11-16 10:06:14 GMT

Hi,
in the mailing list archives, I found some discussion of external format
support for :string types.
What is the recommended way to define a `utf8-string' type currently?
Do I have to write my own foreign type translator?
Thanks,
David

Re: :string and external formats

Yaroslav Kavenchuk <kavenchuk <at> jenty.by>
2006-11-16 11:51:24 GMT

David Lichteblau wrote:
> in the mailing list archives, I found some discussion of external format
> support for :string types.
I have made support for external format of string (base on
http://slacknet.com/~jamesjb/cffi-encoding/), but only for clisp/sbcl
(but very pre-alpha and with some restrictions and reduction of
functionality).
But I do not have time to complete it. I can send you the current variant.
--
--
WBR, Yaroslav Kavenchuk.

Problems with ECL+CFFI

Tomi Neste <tomi.neste <at> netikka.fi>
2006-11-24 12:04:13 GMT

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

Re: Problems with ECL+CFFI

2006/11/24, Tomi Neste <tomi.neste <at> 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