[CM] openmcl on ppc

Arthur W. Green awg at panix.com
Thu Feb 21 15:07:23 PST 2008


On Feb 21, 2008, at 1:14 PM, Bill Schottstaedt wrote:

> hooboy.. I bet the PPC uses "_" after all.  A useful experiment would
> be to make this change:

Yes, it apparently does.  I got the same error but for a different  
function.  I went ahead and changed all similar entries in ffi.lisp  
(patch1) and sndlib2clm.lisp (patch2), and that took care of it.  
However, I guess underscores aren't applied when calling ff  
instrument routines, as when executing the fm-violin example:

? (with-sound () (fm-violin 0 1 440 .1))
 > Error: Can't resolve foreign symbol "clm_fm_violin0"
 > While executing: CCL::RESOLVE-EEP, in process Listener(130).
 > Type :POP to abort, :R for a list of available restarts.
 > Type :? for other options.

Does the x86-64 version of CCL not use underscores?  The CCL wiki  
manual doesn't mention a difference in the calling convention.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch1
Type: application/octet-stream
Size: 5321 bytes
Desc: not available
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20080221/06a1e855/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch2
Type: application/octet-stream
Size: 17254 bytes
Desc: not available
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20080221/06a1e855/attachment-0001.obj>
-------------- next part --------------




More information about the Cmdist mailing list