[CM] openmcl CLM load problem

Bret Battey bbattey@u.washington.edu
Tue, 16 Mar 2004 18:13:18 -0800


Just downloaded the latest CLM tarball (looks like it was posted 
today), and tried on a new OSX setup with openmcl 0.14. X11 and the 
Developer Tools have been installed on this machine. Got an error as 
follows when compiling sc.c re: a call to X11 code (??)

-=Bret
---------

? (load "/Applications/unix/clm-2-040316/all.lisp")
; Compiling "/Applications/unix/clm-2-040316/io.c"
; Compiling "/Applications/unix/clm-2-040316/headers.c"
; Compiling "/Applications/unix/clm-2-040316/audio.c"
; Compiling "/Applications/unix/clm-2-040316/sound.c"
; Compiling "/Applications/unix/clm-2-040316/lispcall.c"
; Compiling "/Applications/unix/clm-2-040316/sc.c"
/Applications/unix/clm-2-040316/sc.c:9:22: X11/Xlib.h: No such file or 
directory
/Applications/unix/clm-2-040316/sc.c:10:23: X11/Xutil.h: No such file 
or directory
/Applications/unix/clm-2-040316/sc.c:11:23: X11/Xatom.h: No such file 
or directory
/Applications/unix/clm-2-040316/sc.c:13: error: parse error before 
"compare_window"
/Applications/unix/clm-2-040316/sc.c:13: error: parse error before '*' 
token
/Applications/unix/clm-2-040316/sc.c: In function `compare_window':
/Applications/unix/clm-2-040316/sc.c:15: error: `Atom' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:15: error: (Each undeclared 
identifier is reported only once
/Applications/unix/clm-2-040316/sc.c:15: error: for each function it 
appears in.)
/Applications/unix/clm-2-040316/sc.c:15: error: parse error before 
"type"
/Applications/unix/clm-2-040316/sc.c:19: error: `Window' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:19: error: parse error before 
"found"
/Applications/unix/clm-2-040316/sc.c:20: error: `display' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:20: error: `window' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:20: error: `id' undeclared (first 
use in this function)
/Applications/unix/clm-2-040316/sc.c:20: error: `False' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:21: error: `XA_STRING' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:21: error: `type' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:22: error: `Success' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:23: error: `None' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:25: error: `found' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c: At top level:
/Applications/unix/clm-2-040316/sc.c:31: error: parse error before 
"find_window"
/Applications/unix/clm-2-040316/sc.c:31: error: parse error before '*' 
token
/Applications/unix/clm-2-040316/sc.c:31: error: parse error before ')' 
token
/Applications/unix/clm-2-040316/sc.c:36: error: parse error before '*' 
token
/Applications/unix/clm-2-040316/sc.c:36: warning: data definition has 
no type or storage class
/Applications/unix/clm-2-040316/sc.c:37: error: parse error before 
"window"
/Applications/unix/clm-2-040316/sc.c:37: error: `window' used prior to 
declaration
/Applications/unix/clm-2-040316/sc.c:37: error: `compare_func' 
undeclared here (not in a function)
/Applications/unix/clm-2-040316/sc.c:37: error: `display' undeclared 
here (not in a function)
/Applications/unix/clm-2-040316/sc.c:37: error: `starting_window' 
undeclared here (not in a function)
/Applications/unix/clm-2-040316/sc.c:37: error: `id' undeclared here 
(not in a function)
/Applications/unix/clm-2-040316/sc.c:37: warning: data definition has 
no type or storage class
/Applications/unix/clm-2-040316/sc.c:38: error: parse error before "if"
/Applications/unix/clm-2-040316/sc.c:46: error: parse error before 
"snd_v"
/Applications/unix/clm-2-040316/sc.c:46: warning: data definition has 
no type or storage class
/Applications/unix/clm-2-040316/sc.c:47: error: parse error before '*' 
token
/Applications/unix/clm-2-040316/sc.c:47: warning: data definition has 
no type or storage class
/Applications/unix/clm-2-040316/sc.c:48: error: parse error before "wn"
/Applications/unix/clm-2-040316/sc.c:48: warning: data definition has 
no type or storage class
/Applications/unix/clm-2-040316/sc.c: In function `clm_init_x':
/Applications/unix/clm-2-040316/sc.c:65: warning: assignment makes 
pointer from integer without a cast
/Applications/unix/clm-2-040316/sc.c:66: error: `CopyFromParent' 
undeclared (first use in this function)
/Applications/unix/clm-2-040316/sc.c:71: error: `XA_STRING' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:71: error: `PropModeReplace' 
undeclared (first use in this function)
/Applications/unix/clm-2-040316/sc.c: In function `clm_send_snd':
/Applications/unix/clm-2-040316/sc.c:78: error: `Window' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:78: error: parse error before 
"window"
/Applications/unix/clm-2-040316/sc.c:82: error: `XA_STRING' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:82: error: `PropModeReplace' 
undeclared (first use in this function)
/Applications/unix/clm-2-040316/sc.c: In function `clm_receive_snd':
/Applications/unix/clm-2-040316/sc.c:95: error: `Atom' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:95: error: parse error before 
"type"
/Applications/unix/clm-2-040316/sc.c:99: error: `False' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:100: error: `XA_STRING' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:100: error: `type' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:101: error: `Success' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:102: error: `None' undeclared 
(first use in this function)
/Applications/unix/clm-2-040316/sc.c:109: error: `PropModeReplace' 
undeclared (first use in this function)
; Compiling "/Applications/unix/clm-2-040316/cmus.c"
; Creating "/Applications/unix/clm-2-040316/libclm.dylib"
;;cc  -dynamiclib -o /Applications/unix/clm-2-040316/libclm.dylib 
/Applications/unix/clm-2-040316/lispcall.o 
/Applications/unix/clm-2-040316/headers.o 
/Applications/unix/clm-2-040316/audio.o 
/Applications/unix/clm-2-040316/io.o 
/Applications/unix/clm-2-040316/sound.o 
/Applications/unix/clm-2-040316/cmus.o 
/Applications/unix/clm-2-040316/sc.o  -L/usr/X11R6/lib -lX11  -lm -lc 
-framework CoreAudio
cc: /Applications/unix/clm-2-040316/sc.o: No such file or directory
;Compiling "/Applications/unix/clm-2-040316/walk.lisp"...
;Loading #P"/Applications/unix/clm-2-040316/walk.dfsl"...
;Compiling "/Applications/unix/clm-2-040316/clm-package.lisp"...
;Loading #P"/Applications/unix/clm-2-040316/clm-package.dfsl"...
;Compiling "/Applications/unix/clm-2-040316/initmus.lisp"...
;Loading #P"/Applications/unix/clm-2-040316/initmus.dfsl"...
 > Error in process listener(1): Error opening shared library 
"/Applications/unix/clm-2-040316/libclm.dylib": dyld: 
/Applications/unix/ccl/dppccl can't open library: 
/Applications/unix/clm-2-040316/libclm.dylib  (No such file or 
directory, errno = 2)