[CM] CM>CLM conflict

Rick Taube taube@uiuc.edu
Sun, 31 Oct 2004 10:05:51 -0600


There is a symbol confilct between cm:play and clm:play. The solution 
is to add the keyword :PLAY to the list of shadowed symbols in cm's 
defpackage in pkg.lisp. once youve saved your edits use bin/cm.sh to 
recompile the outdated file.


I havent tried building cm with clm-3 ( im still using clm-2) but ill 
try to this in the next week or so.



On Oct 30, 2004, at 10:57 AM, Ken wrote:

> Compiling Cm-2.4.2 & Clm-3 in Linux Mandrake 10, CmuCL, I get the 
> following conflict.  Any hints?  Thanks,
> Ken
>
> Error in function USE-PACKAGE:
>   Use'ing package CLM results in name conflicts for these symbols:
> (CM::PLAY)
>   [Condition of type SIMPLE-ERROR]
>
> Restarts:
>  0: [CONTINUE] Unintern the conflicting symbols in the CM package.
>  1: [CONTINUE] Return NIL from load of "/lisp/clm-3/all.lisp".
>  2: [CONTINUE] Return NIL from load of "/lisp/muzac2.lisp".
>  3: [ABORT] Abort handling SLIME request.
>  4: [ABORT] Return to Top-Level.
>
> Backtrace:
>  0: (USE-PACKAGE :CLM #<The CM package, 2903/3150 internal, 0/2 
> external>)
>  1: (LISP::SLOLOAD #<Stream for file "/lisp/clm-3/all.lisp">)
>  2: (LISP::INTERNAL-LOAD #p"/lisp/clm-3/all.lisp" 
> #p"/lisp/clm-3/all.lisp" :ERROR :SOURCE)
>  3: (LISP::INTERNAL-LOAD #p"/lisp/clm-3/all.lisp" 
> #p"/lisp/clm-3/all.lisp" :ERROR NIL)
>  4: (LOAD "/lisp/clm-3/all.lisp" :VERBOSE NIL :PRINT ...)
>  5: (LISP::SLOLOAD #<Stream for file "/lisp/muzac2.lisp">)
>  6: (LISP::INTERNAL-LOAD #p"/lisp/muzac2.lisp" #p"/lisp/muzac2.lisp" 
> :ERROR :SOURCE)
>  7: (LISP::INTERNAL-LOAD #p"/lisp/muzac2.lisp" #p"/lisp/muzac2.lisp" 
> :ERROR NIL)
>  8: (LOAD "/lisp/muzac2.lisp" :VERBOSE NIL :PRINT ...)
>  9: (SWANK::EVAL-REGION "(load \"/lisp/muzac2.lisp\")
> " T)
>  10: ("DEFSLIMEFUN LISTENER-EVAL")
>  11: (SWANK:LISTENER-EVAL "(load \"/lisp/muzac2.lisp\")
> ")
>  12: (SWANK::EVAL-FOR-EMACS (SWANK:LISTENER-EVAL "(load 
> \"/lisp/muzac2.lisp\")
> ") "COMMON-LISP-USER" 2)
>  13: ("DEFUN HANDLE-REQUEST")
>  14: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {585DCBFD}> 
> #<Function "DEFUN HANDLE-REQUEST" {58493A31}>)
>  15: (SWANK::HANDLE-REQUEST #<SWANK::CONNECTION {585DCBFD}>)
>  16: (SWANK::PROCESS-AVAILABLE-INPUT #<Stream for descriptor 6> 
> #<Closure Over Function "DEFUN INSTALL-SIGIO-HANDLER" {58652F41}>)
>  17: ((FLET SWANK::HANDLER SWANK::INSTALL-SIGIO-HANDLER))
>  18: (SWANK-BACKEND::SIGIO-HANDLER #<#1=unused-arg> #<#1#> #<#1#>)
>  19: ("call_into_lisp+#x8C [#x80546CC] /usr/bin/lisp")
>  20: ("funcall3+#x29 [#x80544DC] /usr/bin/lisp")
>  21: ("interrupt_handle_now+#xEE [#x80501CF] /usr/bin/lisp")
>  22: ("NIL+#x80505EF [#x80505EF] /usr/bin/lisp")
>  23: ("NIL+#x4007B718 [#x4007B718] /lib/tls/libc.so.6")
>  24: (SYSTEM:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL)
>  25: (LISP::DO-INPUT #<Stream for Standard Input>)
>  26: (LISP::INPUT-CHARACTER #<Stream for Standard Input> NIL 
> (LISP::*EOF*))
>  27: (LISP::SYNONYM-IN #<Synonym Stream to SYSTEM:*STDIN*> NIL 
> (LISP::*EOF*))
>  28: (LISP::TWO-WAY-IN #<Two-Way Stream, Input = #<Synonym Stream to 
> SYSTEM:*STDIN*>, Output = #<Synonym Stream to SYSTEM:*STDOUT*>> NIL 
> (LISP::*EOF*))
>  29: (LISP::SYNONYM-IN #<Synonym Stream to 
> SWANK::*CURRENT-STANDARD-INPUT*> NIL (LISP::*EOF*))
>  30: (READ-CHAR #<Synonym Stream to SWANK::*CURRENT-STANDARD-INPUT*> 
> NIL (LISP::*EOF*) NIL)
>  31: (LISP::READ-PRESERVING-WHITESPACE-INTERNAL #<Synonym Stream to 
> SWANK::*CURRENT-STANDARD-INPUT*> NIL (:EOF) T)
>  32: (LISP::READ-PRESERVING-WHITESPACE-INTERNAL #<Synonym Stream to 
> SWANK::*CURRENT-STANDARD-INPUT*> NIL (:EOF) NIL)
>  33: (LISP::READ-PRESERVING-WHITESPACE-INTERNAL 4 #<Synonym Stream to 
> SWANK::*CURRENT-STANDARD-INPUT*> NIL (:EOF) ...)[:EXTERNAL]
>  34: (LISP::READ-INTERNAL #<Synonym Stream to 
> SWANK::*CURRENT-STANDARD-INPUT*> NIL (:EOF) NIL)
>  35: (READ #<Synonym Stream to SWANK::*CURRENT-STANDARD-INPUT*> NIL 
> (:EOF) NIL)
>  36: (LISP::%TOP-LEVEL)
>  37: ((LABELS LISP::RESTART-LISP SAVE-LISP))
>
> _______________________________________________
> Cmdist mailing list
> Cmdist@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist