[CM] new clm: Mac clmLib compile error

Michael Klingbeil michael@klingbeil.com
Wed, 16 Apr 2003 23:04:14 -0400

>For the first time since the summer I've downloaded a fresh copy of CLM to
>my Mac. In compiling, the following error occurred -- for some reason it
>didn't write out the clmLib even though it went through the motions of
>compiling it. This occurs consistently on each attempt to load all.lisp:
>;Loading #P"Macintosh HD:Applications (Mac OS 9):clm-2:maclib.pfsl"...
>"compiling Macintosh HD:Applications (Mac OS 9):clm-2:clmLib..."
>"Copying clmLib to Macintosh HD:System Folder:Extensions:..."
>  > Error: File not found: #P"Macintosh HD:Applications (Mac OS
>  > While executing: CCL::%PATH-TO-IOPB

Make the following changes to allow clmLib to compile:

Line 137 Change to
   void set_lisp_callbacks (void (*lp)(char *),void 

Add After Line 3
#include <stdio.h>

Apparently with the previous version, everything was compiled without 
function prototypes (scary!) but now they are turned on so an error 
happened since it didn't know about FILE * (which is taken care of by 
including stdio.h).

clmLib will now compile, but it won't work yet. There are some names 
which changed mus_sound_data_loaction is now clm_sound_data_location, 
etc. Changes need to be made in mac.lisp I think? I don't have time 
to look into it right now but perhaps Bill could fix it more easily.

Best regards,