[cells-gtk-devel] (no subject)
Peter Denno
peter.denno at nist.gov
Sat Nov 25 03:24:01 UTC 2006
On Friday 24 November 2006 19:26, christoph.oppawsky at t-online.de wrote:
> Hi,
>
> I just tried to install the cells-gtk-2006-06-30 package on linux
> (current gentoo) using cmucl 19a (and the hint on your page to change
> %load-foreign-library in cffi/cffi-cmucl.lisp), under slime with the
> ready-made library from cells-gtk (libcellgtk.so).
>
> During compilation/loading I get the following error:
>
> Undefined foreign symbol: "gtk_adds_ok"
> [Condition of type KERNEL:SIMPLE-PROGRAM-ERROR]
>
> which I just accept.
>
> (This problem is solved after I compile my own LIBCELLSGTK.SO. For the
> record: I'm using
> - gtk+-2.8.19
Yeah, the built version probably is getting a bit out of date.
> - libgtkxxx-2.0 (I'm not shure if thats the actual version. How do I
> find out?
There is a gtk API call to get the version. I thought we implemented it, but I
don't see it.
> Compilation looks strange, sorry, I'm not too familiar with the
> c-make-system:
>
> eg.
>
> gcc -c gtk-adds.c `pkg-config --cflags --libs gtk+-2.0`
> gcc: -lgtk-x11-2.0: Eingabedateien des Binders unbenutzt, da keine
> Bindung geschieht (=input files of binder unused, because no binding
> happens.)
> (... same error for other targets)
> gcc -shared -o libcellsgtk.so gtk-adds.o `pkg-config --cflags --libs
> gtk+-2.0`
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld:
> warning: creating a DT_TEXTREL in object.
> )
>
> The gtk-demo starts nice and smoothly - Cool :-) I'll dive into the
> code asap.
>
> But it's easily crashed pulling the slider under 'display all the way to
> zero. It results in division by zero-error segmentating the lisp
> process.
Off hand, I can't see where this is happening. I don't see a division in
start-app.
>
> -------------
> Arithmetic error DIVISION-BY-ZERO signalled.
> [Condition of type DIVISION-BY-ZERO]
>
> Restarts:
> 0: [ABORT] Abort handling SLIME request.
> 1: [CONTINUE] Return NIL from load of "home:.cmucl-init".
> 2: [ABORT] Skip remaining initializations.
>
> Backtrace:
> 0: ("DEFUN START-APP" #<DIVISION-BY-ZERO {591BDAA5}>)
> 1: (CELLS-GTK:START-APP TEST-GTK::TEST-GTK :DEBUG NIL)
> --------------
>
> Ok - that's all so far. Keep on going, next I will try to incorporate
> cells-gtk into my asdf-system using the libraries that are already
> there.
>
> cheers,
> Christoph 0ppawsky
>
>
>
> _______________________________________________
> cells-gtk-devel site list
> cells-gtk-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/cells-gtk-devel
--
- Best regards,
Peter
More information about the cells-gtk-devel
mailing list