[CM] CLM-3 -> back to CLM-2

Michael Klingbeil michael@klingbeil.com
Tue, 24 Aug 2004 03:25:38 -0400


Perhaps an better option would be to revert to a slightly older 
version of clm-2? On OS 9 I have been using a version from Nov. 18, 
2002 (plus fixes which have since been incorporated). Yeah I know 
that sounds old, but has worked well!

Based on HISTORY.clm, perhaps the version from June 14, 2004 would be 
good. This is before all of the config changes but includes all of 
the last clm-2 improvements. I thought there were old versions 
available on ccrma-ftp, but I didn't seem them. Bill, are the old 
tarballs around anywhere?

If not I think the last archive I have is from September 29, 2003. 
You could start from there and then merge in parts from from the 
latest. Ugly I know, but it might just work!


>On 7/21/04 7:03 AM, Bill Schottstaedt<bil@ccrma.Stanford.EDU> etched in
>stone:
>
>>  I hate to say this, but I think you need to either get OSX
>>  or use some other program -- the problems you mention appear
>>  to be caused by the lack of a real config.h (i.e. one that
>>  reflects your setup).
>
>
>I am trying to load the last CLM-2 on MacOS 9 (MCL 4.3.1) again.  I created
>a config.h that works and got clmLib to compile.  Now I am stuck with this:
>
>? (load "Applications:MCL 4.3.1:clm-2.1:all.lisp")
>;   running ./configure --quiet -with-doubles --with-float-samples
>;Loading #4P"ccl:library;loop.pfsl"...
>;Loading #P"Applications:MCL 4.3.1:clm-2.1:walk.pfsl"...
>;Loading #P"Applications:MCL 4.3.1:clm-2.1:clm-package.pfsl"...
>;Loading #P"Applications:MCL 4.3.1:clm-2.1:initmus.pfsl"...
>;Loading #P"Applications:MCL 4.3.1:clm-2.1:sndlib2clm.pfsl"...
>;Loading #P"Applications:MCL 4.3.1:clm-2.1:defaults.pfsl"...
>;Loading #P"Applications:MCL 4.3.1:clm-2.1:mcl-doubles.pfsl"...
>;Loading #P"Applications:MCL 4.3.1:clm-2.1:aiff.pfsl"...
>;Loading #P"Applications:MCL 4.3.1:clm-2.1:ToolServer.pfsl"...
>;Loading #P"Applications:MCL 4.3.1:clm-2.1:mac.pfsl"...
>;Loading #P"Applications:MCL 4.3.1:clm-2.1:maclib.pfsl"...
>;Loading #P"Applications:MCL 4.3.1:clm-2.1:aiff.pfsl"...
>"compiling Applications:MCL 4.3.1:clm-2.1:clmLib..."
>"Copying clmLib to Adam:System Folder:Extensions:..."
>;Compiling "Applications:MCL 4.3.1:clm-2.1:ffi.lisp"...
>; Warning: Can't find entry point "clm_sound_maxamp" in shared library
>"clmLib"
>; While executing: ccl::get-shared-library-entry-point
>; Error: :int is not a known Macintosh type
>; While executing: ccl:find-mactype
>; Type Command-. to abort.
>
>
>The symbol clm_sound_maxamp IS in the exports list file and I can find it in
>a binary dump of the library.
>
>So I am once again not sure how to proceed.  Thanks.
>
>Anthony Kozar
>anthony.kozar@utoledo.edu
>http://akozar.spymac.net/
>
>
>PS.  Here is what I did to compile clmLib:
>
>1.  I started with a config.h generated on OS X and modified it until it
>matched the configuration of MPW (see below).
>
>2.  I couldn't compile without errors unless I used Float == double.  This
>is because the following functions try to pass double* arguments to
>functions that take Float* arguments:
>
>     clm_table_interp
>     clm_fft
>     clm_convolve
>     clm_spectrum
>     fill_locsig
>
>3.  I had to add the file clm.c to the makefile.  I wasn't sure if this was
>correct but it made the link errors go away.
>
>Here is the config.h that I created:
>
>/* config.h.  Generated by configure.  */
>#ifndef CONFIG_H_LOADED
>#define CONFIG_H_LOADED
>
>/* #undef const */
>
>/* #undef CLOSEDIR_VOID */
>#define RETSIGTYPE void
>
>/* Define to `int' or something if <sys/types.h> doesn't define.  */
>#define mode_t    long            /* not defined with MPW - akozar */
>#define pid_t long                /* not defined with MPW - akozar */
>/* #undef size_t */
>/* #undef off_t */
>
>#define WORDS_BIGENDIAN 1
>
>/* #define HAVE_GETCWD 1    /\* not with MPW - akozar */
>#define HAVE_STRFTIME 1
>#define HAVE_STRERROR 1
>#define HAVE_VPRINTF 1
>/* #define HAVE_READLINK 1    /\* not with MPW - akozar */
>#define HAVE_SETLOCALE 1
>/* #define HAVE_SLEEP 1        /\* not with MPW - akozar */
>/* #define HAVE_ACCESS 1    /\* not with MPW - akozar */
>/* #define HAVE_OPENDIR 1    /\* not with MPW - akozar */
>#define HAVE_SIGNAL 1
>/* #define HAVE_FINITE 1    /\* not with MPW - akozar */
>#define HAVE_ISNAN 1
>/* #define HAVE_FSTATFS 1    /\* not with MPW - akozar */
>#define HAVE_CLOCK 1
>/* #define HAVE_VSNPRINTF 1    /\* not with MPW - akozar */
>/* #define HAVE_SNPRINTF 1    /\* not with MPW - akozar */
>#define HAVE_MEMMOVE 1
>/* #define HAVE_STRDUP 1    /\* not with MPW - akozar */
>#define HAVE_FILENO 1    /* see stdio.h for how to define this - akozar */
>/* #define HAVE_LSTAT 1        /\* not with MPW - akozar */
>/* #undef HAVE_COMPLEX_TRIG */
>
>#define STDC_HEADERS 1
>/* #undef TM_IN_SYS_TIME */
>/* #define HAVE_SYS_MOUNT_H 1    /\* not with MPW - akozar */
>/* #define HAVE_DIRENT_H 1        /\* not with MPW - akozar */
>/* #undef HAVE_NDIR_H */
>/* #undef HAVE_SYS_DIR_H */
>/* #undef HAVE_SYS_NDIR_H */
>#define HAVE_FCNTL_H 1
>#define HAVE_LIMITS_H 1
>#define HAVE_STRING_H 1
>/* #define HAVE_UNISTD_H 1        /\* not with MPW - akozar */
>/* #define HAVE_STDBOOL_H 1        /\* not with MPW - akozar */
>/* #undef HAVE_SYS_TIME_H */
>/* #undef HAVE_DLFCN_H */
>/* #undef HAVE_SOUNDCARD_H */
>/* #undef HAVE_SYS_SOUNDCARD_H */
>/* #undef HAVE_MACHINE_SOUNDCARD_H */
>/* #undef HAVE_SYS_MIXER_H */
>/* #undef USR_LIB_OSS */
>/* #undef USR_LOCAL_LIB_OSS */
>/* #undef OPT_OSS */
>/* #undef VAR_LIB_OSS */
>/* #define HAVE_LIBC_H 1        /\* not with MPW - akozar */
>/* #undef HAVE_SYS_VFS_H */
>/* #undef HAVE_SYS_STATFS_H */
>/* #undef HAVE_FPU_CONTROL_H */
>#define HAVE_SETJMP_H 1
>/* #define TIME_WITH_SYS_TIME 1        /\* not with MPW - akozar */
>/* #undef HAVE_GNU_LIBC_VERSION_H */
>/* #define HAVE_PWD_H 1        /\* not with MPW - akozar */
>#define HAVE_LOCALE_H 1
>/* #undef HAVE_SYS_FPU_H */
>/* #define HAVE_SYS_PARAM_H 1        /\* not with MPW - akozar */
>/* #undef HAVE_ALSA_ASOUNDLIB_H */
>/* #undef HAVE_BYTESWAP_H */
>
>#define SIZEOF_INT 4
>#define SIZEOF_CHAR 1
>#define SIZEOF_LONG 4
>#define SIZEOF_SHORT 2
>#define SIZEOF_INT_P 4
>#define SIZEOF_FLOAT 4
>#define SIZEOF_VOID_P 4
>#define SIZEOF_OFF_T 4            /* off_t is long with MPW - akozar */
>
>/* #undef LINUX */
>/* #undef SGI */
>/* #undef ALPHA */
>/* #undef HPUX */
>/* #undef SUN */
>/* #undef SOLARIS */
>/* #undef SCO5 */
>/* #undef OPENBSD */
>/* #undef WINDOZE */
>/* #undef HAVE_OSS */
>/* #undef HAVE_ALSA */
>/* #undef HAVE_JACK */
>/* #undef HAVE_SAM_9407 */
>/* #define MAC_OSX 1 */
>/* #undef ESD */
>/* #undef BSDI */
>
>#define HAVE_EXTENSION_LANGUAGE 0
>/* #undef SND_CONFIG_GET_ID_ARGS */
>#define Float double
>/* #undef HAVE_GSL */
>/* #undef HAVE_GSL_DHT_NEW */
>/* #undef GSL_VERSION */
>/* #undef SNDLIB_USE_FLOATS */
>/* #undef MUS_SAMPLE_BITS */
>/* #undef ESD_VERSION */
>/* #undef AUDIOFILE_VERSION */
>/* #undef WITH_MODULES */
>#define HAVE_KAUDIODEVICEPROPERTYTRANSPORTTYPE 1
>#define HAVE_KLINEARPCMFORMATFLAGISNONINTERLEAVED 1
>
>#define USE_SND 0
>#define CLM 1
>#endif
>
>
>_______________________________________________
>Cmdist mailing list
>Cmdist@ccrma.stanford.edu
>http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist