I can't use cl-sdl

Gerard Robin g.robin3 at free.fr
Thu May 22 15:55:08 UTC 2008


Hello,
I apologize if my problem is unrelated with this list.
I use Debian Sid on a laptop acer (amd64)
dpkg -l | grep .... gives:

ii  cl-asdf                              1.111-1           
ii  cl-clx-sbcl                          0.7.2-1             
ii  cl-faq                               20021107-4            
ii  cl-flexichain                        1.2.dfsg.1-3             
ii  cl-launch                            2.07-1                
ii  cl-mcclim                            0.9.5.dfsg.1-1            
ii  cl-mcclim-examples                   0.9.5.dfsg.1-1        
ii  cl-sdl                               1:0.2.2-8           
ii  cl-spatial-trees                     0.2-1              
ii  cl-swank                             1:20080223-2       
ii  cl-uffi                              1.6.0-1              
ii  cl-uffi-tests                        1.6.0-1            
ii  sbcl                                 1:1.0.16.0-2      
ii  sbcl-doc                             1:1.0.16.0-2    
ii  sbcl-source                          1:1.0.16.0-2   

but when I follow the advices which are in the readme.debian of those packages
I always get many warnings and errors.

By example in sbcl I run :

* (clc:clc-require :sdl)
STYLE-WARNING: redefining CD-STATUS in DEFUN
T

* (load "example1.lisp") ;;;; example found at: /usr/share/doc/cl-sdl/examples/example1.lisp

; in: LAMBDA NIL
;     (SDL:EVENT-LOOP
;    (:KEY-DOWN
;     (SDL-EXAMPLE1::SCAN-CODE SDL-EXAMPLE1::KEY MOD SDL-EXAMPLE1::UNICODE)
--------------------------------8<-----------------------------------------
; caught STYLE-WARNING:
;   The variable SCAN-CODE is defined but never used.
; 
; caught STYLE-WARNING:
;   The variable MOD is defined but never used.
; 
; caught STYLE-WARNING:
;   The variable UNICODE is defined but never used.
; 
; compilation unit finished
;   caught 7 STYLE-WARNING conditions
;   printed 1 note
T

* (start)

; in: LAMBDA NIL
;     (START)
; 
; caught STYLE-WARNING:
;   undefined function: START

; 
; caught STYLE-WARNING:
;   This function is undefined:
;     START
; 
; compilation unit finished
;   caught 2 STYLE-WARNING conditions

debugger invoked on a UNDEFINED-FUNCTION in thread #<THREAD "initial thread" {100270AAA1}>:
   The function START is undefined.

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.

("bogus stack frame")

Can someone tell me what is wrong in my thought process ?
TIA.

-- 
Gérard



More information about the pkg-common-lisp-devel mailing list