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

Rick Taube taube@uiuc.edu
Thu, 8 Dec 2005 07:59:14 -0600


no, you dont have new sources. maybe you have to refresh your browser 
page??? I just went to my planet-ccrma box, downlaoded the 
midishare.tar.gz from the install page, untarred, did 'cm -l lisp' , 
did (use-system :midishare) and it works in cmucl and sbcl on linux.

You can tell that you have the CORRECT version of midishare.lisp if you 
see the ":count 11" in the defiunition of tmidi-sex-1:

(cffi:defcstruct tmidi-sex-1 (link midi-sexptr) (data byte :count 11))


On Dec 8, 2005, at 7:57 AM, Dave Phillips wrote:

> 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
>
>
> _______________________________________________
> Cmdist mailing list
> Cmdist@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist