[CM] clm compiling problem

Immanuel Litzroth immanuell at enfocus.be
Fri Sep 23 00:32:30 PDT 2005


"marco trevisani" <marco at trevisani.net> writes:

> Hi, 
>
> I decided to upgrade clm-3 ( i havent done this in about one year now)
> and i ran into a compilation problem... (first time in 11 years that
> clm does not compile smoothly out of the box)
>
> Here is what i get (i've made attemps with both cmucl and sbcl. Here
> follows the sbcl output, which is a bit more verbose than cmucl)
>
> [
>  previous steps : 
>   ./configure --with-alsa
>   sbcl --load "all.lisp"
> ]
>
>
> ;   using existing configuration file config.h
> ; Creating "/home/marco/src/clm/old_style/clm-3/libclm.so"
> ;;ld  -shared -whole-archive -o
> ; /home/marco/src/clm/old_style/clm-3/libclm.so
> ; /home/marco/src/clm/old_style/clm-3/headers.o
> ; /home/marco/src/clm/old_style/clm-3/audio.o
> ; /home/marco/src/clm/old_style/clm-3/io.o
> ; /home/marco/src/clm/old_style/clm-3/sound.o
> ; /home/marco/src/clm/old_style/clm-3/clm.o
> ; /home/marco/src/clm/old_style/clm-3/cmus.o
> ; /home/marco/src/clm/old_style/clm-3/sc.o  -L/usr/X11R6/lib -lX11 
>
> ;compiling /home/marco/src/clm/old_style/clm-3/clm-package.lisp
> ;compiling /home/marco/src/clm/old_style/clm-3/initmus.lisp
> debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial thread"
> ;{90034A1}>: 
>   Error during processing of --eval option "(|LOAD| \"all.lisp\")":
>
>   Error opening shared object "/home/marco/src/clm/old_style/clm-3/libclm.so":
>   /home/marco/src/clm/old_style/clm-3/libclm.so: undefined symbol:
>   snd_card_next. 
you need to load the alsa library in your lisp or link libclm.so against it.
The best way is to link libclm to alsa library, because lispworks has problems
with objects that contain undefined references. On CMU and SBCL both ways should
work.
Immanuel




More information about the Cmdist mailing list