[cells-gtk-devel] (no subject)

christoph.oppawsky at t-online.de christoph.oppawsky at t-online.de
Sat Nov 25 00:26:25 UTC 2006


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
- libgtkxxx-2.0 (I'm not shure if thats the actual version. How do I
find out?
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. 

-------------
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






More information about the cells-gtk-devel mailing list