[CM] clm compile errors/osx
Rick Taube
taube@uiuc.edu
Sat, 25 Mar 2006 17:48:32 -0600
compiling the latest clm-3 tarball gives a bunch of errors for sc.c, i
think maybe that file shouldn't be in the makefile for osx?
despite the errors i do get a libclm.dylib, sndplay and v.ins makes its
normal toot.
galen:/tmp hkt$ cd clm-3/
galen:/tmp/clm-3 hkt$ openmcl
Welcome to OpenMCL Version 1.0 (DarwinPPC32)!
? (load "all.lisp")
; running cd /private/tmp/clm-3/ && ./configure --quiet
--with-doubles --with-float-samples
; Compiling "/private/tmp/clm-3/io.c"
; Compiling "/private/tmp/clm-3/headers.c"
; Compiling "/private/tmp/clm-3/audio.c"
; Compiling "/private/tmp/clm-3/sound.c"
; Compiling "/private/tmp/clm-3/clm.c"
; Compiling "/private/tmp/clm-3/sc.c"
/private/tmp/clm-3/sc.c:9:22: X11/Xlib.h: No such file or directory
/private/tmp/clm-3/sc.c:10:23: X11/Xutil.h: No such file or directory
/private/tmp/clm-3/sc.c:11:23: X11/Xatom.h: No such file or directory
/private/tmp/clm-3/sc.c:13: error: parse error before "compare_window"
/private/tmp/clm-3/sc.c:13: error: parse error before '*' token
/private/tmp/clm-3/sc.c: In function `compare_window':
/private/tmp/clm-3/sc.c:15: error: `Atom' undeclared (first use in this
function)
/private/tmp/clm-3/sc.c:15: error: (Each undeclared identifier is
reported only once
/private/tmp/clm-3/sc.c:15: error: for each function it appears in.)
/private/tmp/clm-3/sc.c:15: error: parse error before "type"
/private/tmp/clm-3/sc.c:19: error: `Window' undeclared (first use in
this function)
/private/tmp/clm-3/sc.c:19: error: parse error before "found"
/private/tmp/clm-3/sc.c:20: error: `display' undeclared (first use in
this function)
/private/tmp/clm-3/sc.c:20: error: `window' undeclared (first use in
this function)
/private/tmp/clm-3/sc.c:20: error: `id' undeclared (first use in this
function)
/private/tmp/clm-3/sc.c:20: error: `False' undeclared (first use in
this function)
/private/tmp/clm-3/sc.c:21: error: `XA_STRING' undeclared (first use in
this function)
/private/tmp/clm-3/sc.c:21: error: `type' undeclared (first use in this
function)
/private/tmp/clm-3/sc.c:22: error: `Success' undeclared (first use in
this function)
/private/tmp/clm-3/sc.c:23: error: `None' undeclared (first use in this
function)
/private/tmp/clm-3/sc.c:25: error: `found' undeclared (first use in
this function)
/private/tmp/clm-3/sc.c: At top level:
/private/tmp/clm-3/sc.c:31: error: parse error before "find_window"
/private/tmp/clm-3/sc.c:31: error: parse error before '*' token
/private/tmp/clm-3/sc.c:31: error: parse error before ')' token
/private/tmp/clm-3/sc.c:36: error: parse error before '*' token
/private/tmp/clm-3/sc.c:36: warning: data definition has no type or
storage class
/private/tmp/clm-3/sc.c:37: error: parse error before "window"
/private/tmp/clm-3/sc.c:37: error: `window' used prior to declaration
/private/tmp/clm-3/sc.c:37: error: `compare_func' undeclared here (not
in a function)
/private/tmp/clm-3/sc.c:37: error: `display' undeclared here (not in a
function)
/private/tmp/clm-3/sc.c:37: error: `starting_window' undeclared here
(not in a function)
/private/tmp/clm-3/sc.c:37: error: `id' undeclared here (not in a
function)
/private/tmp/clm-3/sc.c:37: warning: data definition has no type or
storage class
/private/tmp/clm-3/sc.c:38: error: parse error before "if"
/private/tmp/clm-3/sc.c:46: error: parse error before "snd_v"
/private/tmp/clm-3/sc.c:46: warning: data definition has no type or
storage class
/private/tmp/clm-3/sc.c:47: error: parse error before '*' token
/private/tmp/clm-3/sc.c:47: warning: data definition has no type or
storage class
/private/tmp/clm-3/sc.c:48: error: parse error before "wn"
/private/tmp/clm-3/sc.c:48: warning: data definition has no type or
storage class
/private/tmp/clm-3/sc.c: In function `clm_init_x':
/private/tmp/clm-3/sc.c:65: warning: assignment makes pointer from
integer without a cast
/private/tmp/clm-3/sc.c:66: error: `CopyFromParent' undeclared (first
use in this function)
/private/tmp/clm-3/sc.c:71: error: `XA_STRING' undeclared (first use in
this function)
/private/tmp/clm-3/sc.c:71: error: `PropModeReplace' undeclared (first
use in this function)
/private/tmp/clm-3/sc.c: In function `clm_send_snd':
/private/tmp/clm-3/sc.c:78: error: `Window' undeclared (first use in
this function)
/private/tmp/clm-3/sc.c:78: error: parse error before "window"
/private/tmp/clm-3/sc.c:82: error: `XA_STRING' undeclared (first use in
this function)
/private/tmp/clm-3/sc.c:82: error: `PropModeReplace' undeclared (first
use in this function)
/private/tmp/clm-3/sc.c: In function `clm_receive_snd':
/private/tmp/clm-3/sc.c:95: error: `Atom' undeclared (first use in this
function)
/private/tmp/clm-3/sc.c:95: error: parse error before "type"
/private/tmp/clm-3/sc.c:99: error: `False' undeclared (first use in
this function)
/private/tmp/clm-3/sc.c:100: error: `XA_STRING' undeclared (first use
in this function)
/private/tmp/clm-3/sc.c:100: error: `type' undeclared (first use in
this function)
/private/tmp/clm-3/sc.c:101: error: `Success' undeclared (first use in
this function)
/private/tmp/clm-3/sc.c:102: error: `None' undeclared (first use in
this function)
/private/tmp/clm-3/sc.c:109: error: `PropModeReplace' undeclared (first
use in this function)
; Compiling "/private/tmp/clm-3/cmus.c"
; Creating "/private/tmp/clm-3/libclm.dylib"
;;gcc -dynamiclib -o /private/tmp/clm-3/libclm.dylib
/private/tmp/clm-3/headers.o /private/tmp/clm-3/audio.o
/private/tmp/clm-3/io.o /private/tmp/clm-3/sound.o
/private/tmp/clm-3/clm.o /private/tmp/clm-3/cmus.o -lm -lc -framework
CoreAudio
; Building sndplay program: "/private/tmp/clm-3/sndplay"
;Compiler warnings for "/private/tmp/clm-3/ffi.lisp" :
; Unused lexical variable DEV, in SL-DAC-1.
; Unused lexical variable NAME, in SL-DAC-1.
;Compiler warnings for "/private/tmp/clm-3/sound.lisp" :
; Unused lexical variable CALLS, in SOUND-LET.
;Compiler warnings for "/private/tmp/clm-3/env.lisp" :
; Unused lexical variable XX, in ENVELOPE-REPEAT.
;Compiler warnings for "/private/tmp/clm-3/clm-snd.lisp" :
; Unused lexical variable ARGS, in <SEND-SND>.
; Unused lexical variable FSTR, in <SEND-SND>.
; Unused lexical variable RESULT, in <SEND-SND>.
#P"/private/tmp/clm-3/all.lisp"
?