[CM] CLM under windows - building with CLISP+MINGW

frantisek stafek f.stafek@volny.cz
Wed, 9 Jul 2003 23:19:42 +0200


> I use the cygnus gcc.  I'd actually be very interested to
> find out what Borland C says about the sndlib/clm code.

I've downloaded mingw distribution of gnu tools along with gcc,
and trying to build CLM with clisp. I've uncomented
(pushnew :no-ffi *features*) line,
also changed line with several defvars to point to compiler:

(defvar *ld* #+windoze "c:/programy/mingw/bin/ld" #+openmcl "cc" #-(or
opencml windoze) "ld")
(defvar *cc* #+windoze "c:/programy/mingw/bin/gcc" #-windoze "cc")

, also changed line with clisp-shell defun to work properly with win2000
shell:
#+(and clisp ansi-cl) (defun clisp-shell (arg) (ext:shell (format nil "cmd
/c ~A" arg)))

but somehow I'm still not able to finish the build process. Any hint, how to
continue?
It hangs with following:

[5]> (load "c:/programy/clm/clm-2/all.lisp")
;; Loading file C:\programy\clm\clm-2\all.lisp ...
;;  Loading file C:\programy\clm\clm-2\clm-loop.fas ...
;;  Loading of file C:\programy\clm\clm-2\clm-loop.fas is finished.
; Compiling "C:\\programy\\clm\\clm-2\\nio.c"
; Compiling "C:\\programy\\clm\\clm-2\\nheaders.c"
; Compiling "C:\\programy\\clm\\clm-2\\naudio.c"
C:/programy/clm/clm-2/naudio.c:7062:19: mmreg.h: No such file or directory
C:/programy/clm/clm-2/naudio.c: In function `mfg':
C:/programy/clm/clm-2/naudio.c:7399: `MM_MICROSOFT' undeclared (first use in
thi
s function)
C:/programy/clm/clm-2/naudio.c:7399: (Each undeclared identifier is reported
onl
y once
C:/programy/clm/clm-2/naudio.c:7399: for each function it appears in.)
C:/programy/clm/clm-2/naudio.c:7399: `MM_CREATIVE' undeclared (first use in
this
 function)
C:/programy/clm/clm-2/naudio.c:7400: `MM_MEDIAVISION' undeclared (first use
in t
his function)
C:/programy/clm/clm-2/naudio.c:7400: `MM_FUJITSU' undeclared (first use in
this
function)
C:/programy/clm/clm-2/naudio.c:7401: `MM_ARTISOFT' undeclared (first use in
this
 function)
C:/programy/clm/clm-2/naudio.c:7401: `MM_TURTLE_BEACH' undeclared (first use
in
this function)
C:/programy/clm/clm-2/naudio.c:7402: `MM_IBM' undeclared (first use in this
func
tion)
C:/programy/clm/clm-2/naudio.c:7402: `MM_VOCALTEC' undeclared (first use in
this
 function)
C:/programy/clm/clm-2/naudio.c:7403: `MM_ROLAND' undeclared (first use in
this f
unction)
C:/programy/clm/clm-2/naudio.c:7403: `MM_DSP_SOLUTIONS' undeclared (first
use in
 this function)
C:/programy/clm/clm-2/naudio.c:7404: `MM_NEC' undeclared (first use in this
func
tion)
C:/programy/clm/clm-2/naudio.c:7404: `MM_ATI' undeclared (first use in this
func
tion)
C:/programy/clm/clm-2/naudio.c:7405: `MM_WANGLABS' undeclared (first use in
this
 function)
C:/programy/clm/clm-2/naudio.c:7405: `MM_TANDY' undeclared (first use in
this fu
nction)
C:/programy/clm/clm-2/naudio.c:7406: `MM_VOYETRA' undeclared (first use in
this
function)
C:/programy/clm/clm-2/naudio.c:7406: `MM_ANTEX' undeclared (first use in
this fu
nction)
C:/programy/clm/clm-2/naudio.c:7407: `MM_ICL_PS' undeclared (first use in
this f
unction)
C:/programy/clm/clm-2/naudio.c:7407: `MM_INTEL' undeclared (first use in
this fu
nction)
C:/programy/clm/clm-2/naudio.c:7408: `MM_GRAVIS' undeclared (first use in
this f
unction)
C:/programy/clm/clm-2/naudio.c:7408: `MM_VAL' undeclared (first use in this
func
tion)
C:/programy/clm/clm-2/naudio.c:7409: `MM_INTERACTIVE' undeclared (first use
in t
his function)
C:/programy/clm/clm-2/naudio.c:7409: `MM_YAMAHA' undeclared (first use in
this f
unction)
C:/programy/clm/clm-2/naudio.c:7410: `MM_EVEREX' undeclared (first use in
this f
unction)
C:/programy/clm/clm-2/naudio.c:7410: `MM_ECHO' undeclared (first use in this
fun
ction)
C:/programy/clm/clm-2/naudio.c:7411: `MM_SIERRA' undeclared (first use in
this f
unction)
C:/programy/clm/clm-2/naudio.c:7411: `MM_CAT' undeclared (first use in this
func
tion)
C:/programy/clm/clm-2/naudio.c:7412: `MM_APPS' undeclared (first use in this
fun
ction)
C:/programy/clm/clm-2/naudio.c:7412: `MM_DSP_GROUP' undeclared (first use in
thi
s function)
C:/programy/clm/clm-2/naudio.c:7413: `MM_MELABS' undeclared (first use in
this f
unction)
C:/programy/clm/clm-2/naudio.c:7413: `MM_COMPUTER_FRIENDS' undeclared (first
use
 in this function)
C:/programy/clm/clm-2/naudio.c:7414: `MM_ESS' undeclared (first use in this
func
tion)
C:/programy/clm/clm-2/naudio.c:7414: `MM_AUDIOFILE' undeclared (first use in
thi
s function)
C:/programy/clm/clm-2/naudio.c:7415: `MM_MOTOROLA' undeclared (first use in
this
 function)
C:/programy/clm/clm-2/naudio.c:7415: `MM_CANOPUS' undeclared (first use in
this
function)
C:/programy/clm/clm-2/naudio.c:7416: `MM_EPSON' undeclared (first use in
this fu
nction)
C:/programy/clm/clm-2/naudio.c:7416: `MM_TRUEVISION' undeclared (first use
in th
is function)
C:/programy/clm/clm-2/naudio.c:7417: `MM_AZTECH' undeclared (first use in
this f
unction)
C:/programy/clm/clm-2/naudio.c:7417: `MM_VIDEOLOGIC' undeclared (first use
in th
is function)
C:/programy/clm/clm-2/naudio.c:7418: `MM_SCALACS' undeclared (first use in
this
function)
C:/programy/clm/clm-2/naudio.c:7418: `MM_KORG' undeclared (first use in this
fun
ction)
C:/programy/clm/clm-2/naudio.c:7419: `MM_APT' undeclared (first use in this
func
tion)
C:/programy/clm/clm-2/naudio.c:7419: `MM_ICS' undeclared (first use in this
func
tion)
C:/programy/clm/clm-2/naudio.c:7420: `MM_ITERATEDSYS' undeclared (first use
in t
his function)
C:/programy/clm/clm-2/naudio.c:7420: `MM_METHEUS' undeclared (first use in
this
function)
C:/programy/clm/clm-2/naudio.c:7421: `MM_LOGITECH' undeclared (first use in
this
 function)
C:/programy/clm/clm-2/naudio.c:7421: `MM_WINNOV' undeclared (first use in
this f
unction)
C:/programy/clm/clm-2/naudio.c:7422: `MM_NCR' undeclared (first use in this
func
tion)
C:/programy/clm/clm-2/naudio.c:7422: `MM_EXAN' undeclared (first use in this
fun
ction)
C:/programy/clm/clm-2/naudio.c:7423: `MM_AST' undeclared (first use in this
func
tion)
C:/programy/clm/clm-2/naudio.c:7423: `MM_WILLOWPOND' undeclared (first use
in th
is function)
C:/programy/clm/clm-2/naudio.c:7424: `MM_SONICFOUNDRY' undeclared (first use
in
this function)
C:/programy/clm/clm-2/naudio.c:7424: `MM_VITEC' undeclared (first use in
this fu
nction)
C:/programy/clm/clm-2/naudio.c:7425: `MM_MOSCOM' undeclared (first use in
this f
unction)
C:/programy/clm/clm-2/naudio.c:7425: `MM_SILICONSOFT' undeclared (first use
in t
his function)
C:/programy/clm/clm-2/naudio.c:7426: `MM_SUPERMAC' undeclared (first use in
this
 function)
C:/programy/clm/clm-2/naudio.c:7426: `MM_AUDIOPT' undeclared (first use in
this
function)
C:/programy/clm/clm-2/naudio.c:7427: `MM_SPEECHCOMP' undeclared (first use
in th
is function)
C:/programy/clm/clm-2/naudio.c:7427: `MM_DOLBY' undeclared (first use in
this fu
nction)
C:/programy/clm/clm-2/naudio.c:7428: `MM_OKI' undeclared (first use in this
func
tion)
C:/programy/clm/clm-2/naudio.c:7428: `MM_AURAVISION' undeclared (first use
in th
is function)
C:/programy/clm/clm-2/naudio.c:7429: `MM_OLIVETTI' undeclared (first use in
this
 function)
C:/programy/clm/clm-2/naudio.c:7429: `MM_IOMAGIC' undeclared (first use in
this
function)
C:/programy/clm/clm-2/naudio.c:7430: `MM_MATSUSHITA' undeclared (first use
in th
is function)
C:/programy/clm/clm-2/naudio.c:7430: `MM_CONTROLRES' undeclared (first use
in th
is function)
C:/programy/clm/clm-2/naudio.c:7431: `MM_XEBEC' undeclared (first use in
this fu
nction)
C:/programy/clm/clm-2/naudio.c:7431: `MM_NEWMEDIA' undeclared (first use in
this
 function)
C:/programy/clm/clm-2/naudio.c:7432: `MM_NMS' undeclared (first use in this
func
tion)
C:/programy/clm/clm-2/naudio.c:7432: `MM_LYRRUS' undeclared (first use in
this f
unction)
C:/programy/clm/clm-2/naudio.c:7433: `MM_COMPUSIC' undeclared (first use in
this
 function)
C:/programy/clm/clm-2/naudio.c:7433: `MM_OPTI' undeclared (first use in this
fun
ction)
C:/programy/clm/clm-2/naudio.c:7434: `MM_DIALOGIC' undeclared (first use in
this
 function)
C:/programy/clm/clm-2/naudio.c: In function `describe_audio_state_1':
C:/programy/clm/clm-2/naudio.c:7709: warning: passing arg 1 of
`mixerGetLineInfo
A' from incompatible pointer type
C:/programy/clm/clm-2/naudio.c:7715: warning: passing arg 1 of
`mixerGetLineInfo
A' from incompatible pointer type
C:/programy/clm/clm-2/naudio.c:7750: warning: passing arg 1 of
`mixerGetLineCont
rolsA' from incompatible pointer type
C:/programy/clm/clm-2/naudio.c:7779: warning: passing arg 1 of
`mixerGetControlD
etailsA' from incompatible pointer type
C:/programy/clm/clm-2/naudio.c:7814: warning: passing arg 1 of
`mixerGetControlD
etailsA' from incompatible pointer type
; Compiling "C:\\programy\\clm\\clm-2\\nsound.c"
; Compiling "C:\\programy\\clm\\clm-2\\lispcall.c"
; Compiling "C:\\programy\\clm\\clm-2\\ncmus.c"
;;  Loading file C:\programy\clm\clm-2\walk.fas ...
;;  Loading of file C:\programy\clm\clm-2\walk.fas is finished.
;;  Loading file C:\programy\clm\clm-2\special-form-for-cmu.cl ...
;;  Loading of file C:\programy\clm\clm-2\special-form-for-cmu.cl is
finished.
;;  Loading file C:\programy\clm\clm-2\clm-package.fas ...
;;  Loading of file C:\programy\clm\clm-2\clm-package.fas is finished.
;;  Loading file C:\programy\clm\clm-2\initmus.fas ...
*** - READ: input stream
#<INPUT BUFFERED FILE-STREAM CHARACTER
  #P"C:\\programy\\clm\\clm-2\\initmus.fas" @427> ends within an object.
Last op
ening parenthesis probably in line 424.
1. Break CLM[6]>

Thanks for any remark,
    Frantisek Stafek