[CM] CM question re: CFFI

Rick Taube taube@uiuc.edu
Tue, 28 Mar 2006 16:09:21 -0600


dave -- are you using  sbcl or cmu? rts doesnt work in cmu since cmu 
doesnt doesnt have pthread support.
it hopefully works in sbcl modulo the problems with portmidi 
interaction (see the rts topic help about that)

>
> Is there a recommended version of CFFI ? I can't use the CMIO 
> interface yet because it needs the RTS stuff. Is that correct ?

cmio shouldnt need rts -- but maybe there is a problem with dependancy 
in that code now that ive made rts a seperate system.


On Mar 28, 2006, at 3:19 PM, Dave Phillips wrote:

> Greetings:
>
>  I'm trying to compile the RTS sources but am failing with this error :
>
> ;;; Loading #P"/home/dlphilp/cm-systems/rts/pthreads.x86f".
>
> Undefined foreign symbol: "pthread_create"
>   [Condition of type KERNEL:SIMPLE-PROGRAM-ERROR]
>
> Restarts:
>  0: [CONTINUE] Return NIL from load of 
> #P"/home/dlphilp/cm-systems/rts/pthreads.x86f".
>  1: [RETRY   ] Retry performing #<ASDF:LOAD-OP NIL {585AE895}> on
>                #<ASDF:CL-SOURCE-FILE "pthreads" {588EB10D}>.
>  2: [ACCEPT  ] Continue, treating #<ASDF:LOAD-OP NIL {585AE895}> on
>                #<ASDF:CL-SOURCE-FILE "pthreads" {588EB10D}> as having 
> been successful.
>  3:            Return NIL from load of #P"home:.cminit.lisp".
>  4:            Retry performing
>                #<COMMON-LISP-USER::FINALIZE-OP NIL {588248ED}> on
>                #<COMMON-LISP-USER::CM-APPLICATION "cm" {586D20FD}>.
>  5:            Continue, treating
>                #<COMMON-LISP-USER::FINALIZE-OP NIL {588248ED}> on
>                #<COMMON-LISP-USER::CM-APPLICATION "cm" {586D20FD}> as 
> having been successful.
>  6:            Return NIL from load of 
> "/home/dlphilp/cm/bin/../src/cm.lisp".
>  7: [ABORT   ] Skip remaining initializations.
>
> Debug  (type H for help)
>
> (KERNEL:UNDEFINED-FOREIGN-SYMBOL-ERROR-HANDLER "<error finding name>"
>                                               #.(SYSTEM:INT-SAP 
> #x3FFFB9A4)
>                                               #<Alien (* #) at 
> #x3FFFB634>
>                                               (14))
> Source: Error finding source:
> Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no 
> longer exists:
>  target:code/interr.lisp.
> 0] 7
>
> ; Compilation unit aborted.
> ;   1 fatal error
>
> * (quit)
>
>
> Is there a recommended version of CFFI ? I can't use the CMIO 
> interface yet because it needs the RTS stuff. Is that correct ?
>
> Best,
>
> dp
>
> _______________________________________________
> Cmdist mailing list
> Cmdist@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist