[cells-gtk-devel] Error compiling/running with CMUCL

Stefan Nobis stefan-ml at snobis.de
Tue Jun 28 14:52:20 UTC 2005


Hi.

I just downloaded the cells-gtk-2005-05-29.tgz tarball and tried
to get it working with cmucl. After (load "load") i get this
error:

,----
| ;
| ;
| ; File: /home/stefan/src/extern/cells-gtk-2005-05-29/root/gtk-ffi/gtk-list-tree.lisp
| 
| ; In: DEF-GTK-LIB-FUNCTIONS :GTK
| 
| ;   (DEF-GTK-LIB-FUNCTIONS :GTK (GTK-LIST-STORE-NEWV # C-POINTER)
| ;                          (GTK-LIST-STORE-SET-VALIST #)
| ;                          (GTK-LIST-STORE-SET-VALUE #)
| ;                          ...)
| ; --> BLOCK ALIEN:WITH-ALIEN EXTENSIONS:COMPILER-LET SYMBOL-MACROLET VALUES
| ; --> PROG1 LET ALIEN:ALIEN-FUNCALL ALIEN::NATURALIZE
| ; ==>
| ;   (ALIEN::%SAP-ALIEN ALIEN:ALIEN '#<ALIEN::ALIEN-POINTER-TYPE #>)
| ; Note: Unable to optimize because:
| ;     Could not optimize away %SAP-ALIEN: forced to do runtime
| ; allocation of alien-value structure.
| 
| Undefined foreign symbol: "gtk_adds_dialog_vbox"
|    [Condition of type KERNEL:SIMPLE-PROGRAM-ERROR]
| 
| Restarts:
|   0: [CONTINUE] Return NIL from load of #P"/home/stefan/src/extern/cells-gtk-2005-05-29/root/gtk-ffi/gtk-other.x86f".
|   1: [RETRY   ] Retry performing #<ASDF:LOAD-OP NIL {58783CB5}> on
|                 #<ASDF:CL-SOURCE-FILE "gtk-other" {587562ED}>.
|   2: [ACCEPT  ] Continue, treating #<ASDF:LOAD-OP NIL {58783CB5}> on
|                 #<ASDF:CL-SOURCE-FILE "gtk-other" {587562ED}> as
|                 having been successful.
|   3:            Return NIL from load of "load".
|   4: [ABORT   ] Return to Top-Level.
| 
| Debug  (type H for help)
| 
| (KERNEL:UNDEFINED-FOREIGN-SYMBOL-ERROR-HANDLER "<error finding name>"
|                                                #.(SYSTEM:INT-SAP #x3FFFC34C)
|                                                #<Alien (* #) at #x3FFFBFE8>
|                                                (14))
| Source: Error finding source:
| Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:
|   target:code/interr.lisp.
| 0]
`----

I choosed [CONTINUE] and the rest compiled without errors. When i
start the demo application most works well, but on the fourth page
"Menus" when i click on the second combo (titled Text) and select
something (for example "Trimmed Text"), i get this error:

,----
| * (test-gtk::gtk-demo)
| 
| (<unknown>:5110): Gtk-CRITICAL **: gtk_box_pack_start: assertion `child->parent == NULL' failed
| 
| (<unknown>:5110): Gtk-CRITICAL **: gtk_box_pack_start: assertion `child->parent == NULL' failed
| 
| (<unknown>:5110): Gtk-WARNING **: Attempting to add a widget with type GtkAccelLabel to a GtkImageMenuItem, but as a GtkBin subclass a GtkImageMenuItem can only contain one widget at a time; it already contains a widget of type GtkAccelLabel
| 
| 
| Error in KERNEL::UNDEFINED-SYMBOL-ERROR-HANDLER:  the function GTK-FFI::GTK-ADDS-TREE-ITER-NEW is undefined.
|    [Condition of type UNDEFINED-FUNCTION]
| 
| Restarts:
|   0: [ABORT] Return to Top-Level.
| 
| Debug  (type H for help)
| 
| (KERNEL::UNDEFINED-SYMBOL-ERROR-HANDLER "<error finding name>"
|                                         #.(SYSTEM:INT-SAP #x3FFFBE14)
|                                         #<Alien (* #) at #x3FFFBAA0>
|                                         (14))
| Source: Error finding source:
| Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:
|   target:code/interr.lisp.
| 0]
`----

BTW: I'm running Debian Sid with gtk 2.6.8-1 and cmucl 19b-pre1-20050614-1.

-- 
Until the next mail...,
Stefan.



More information about the cells-gtk-devel mailing list