[CM] Re: compile problem with up-to-date CVS CM

Dave Phillips dlphillips@woh.rr.com
Thu, 08 Dec 2005 08:57:26 -0500


Hi Rick:

  I believe I'm using the most current version of everything, including 
the latest midishare.tar.gz from pinhead. Alas, I'm receiving the same 
error:

; Compiling: /home/dlphilp/cm-systems/midishare/midishare.lisp 26 NOV 05 
04:40:44 pm

; [GC threshold exceeded with 23,304,968 bytes in use.  Commencing GC.]
; [GC completed with 12,764,840 bytes retained and 10,540,128 bytes freed.]
; [GC will next occur when at least 24,764,840 bytes are in use.]

Error while parsing arguments to DESTRUCTURING-BIND in 
CFFI::NOTICE-FOREIGN-STRUCT-DEFINITION:
Odd number of elements in keyword/value list: (11)
   [Condition of type LISP::DEFMACRO-LL-BROKEN-KEY-LIST-ERROR]

Restarts:
  0: [RETRY   ] Retry performing #<ASDF:COMPILE-OP NIL {595B00BD}> on
                #<ASDF:CL-SOURCE-FILE "midishare" {595ABBED}>.
  1: [ACCEPT  ] Continue, treating #<ASDF:COMPILE-OP NIL {595B00BD}> on
                #<ASDF:CL-SOURCE-FILE "midishare" {595ABBED}> as
                having been successful.
  2: [CONTINUE] Return NIL from load of #P"home:.cminit.lisp".
  3:            Retry performing
                #<COMMON-LISP-USER::FINALIZE-OP NIL {586E58AD}> on
                #<COMMON-LISP-USER::CM-APPLICATION "cm" {5805C73D}>.
  4:            Continue, treating
                #<COMMON-LISP-USER::FINALIZE-OP NIL {586E58AD}> on
                #<COMMON-LISP-USER::CM-APPLICATION "cm" {5805C73D}> as
                having been successful.
  5:            Return NIL from load of 
"/home/dlphilp/cm/bin/../src/cm.lisp".
  6: [ABORT   ] Skip remaining initializations.

Debug  (type H for help)

(CFFI::NOTICE-FOREIGN-STRUCT-DEFINITION TMIDI-SEX-1
                                        ((LINK MIDI-SEXPTR) (DATA BYTE 11)))
Source:
; File: /home/dlphilp/cm-systems/cffi/src/types.lisp
(DESTRUCTURING-BIND
    (SLOTNAME TYPE &KEY (COUNT 1) OFFSET)
    SLOTDEF
  (SETQ CURRENT-OFFSET (OR OFFSET #))
  (LET* (# #)
    (SETF # SLOT)
    (WHEN #
      #))
  ...)
0]


Did the midishare tarball get updated ?

Best,

dp

Rick Taube wrote:

> yes thanks. the problem is that the slot syntax of cffi:defcstruct 
> changed in cffi-luis-051205-0148 causing midishare.lisp to break. ive 
> fixed the problem and  on linux im able to build in cmucl, sbcl and clisp
> i tested (midishare-open) and (ms:now) and things seem to be working.
>
> you will have to install the updated midishare.tar.gz file:
>
>     http://commonmusic.sf.net/doc/install.html#midishare