[CM] SND on OSX

Michael Scholz scholz-micha@gmx.de
04 Jan 2004 17:05:42 +0100


> gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H
> -I. -g 
> -O2 -I/sw/include -I/usr/X11R6/include -I/sw/include   snd-xxen.c
> (cd po && make)
> make[1]: Nothing to be done for `all'.
> gcc  -I. -g -O2 headers.o audio.o io.o sound.o clm.o xen.o vct.o
> sndlib2xen.o clm2xen.o midi.o snd-io.o snd-utils.o snd-listener.o
> snd-error.o snd-completion.o snd-menu.o snd-axis.o snd-data.o
> snd-fft.o snd-marks.o snd-file.o snd-edits.o snd-chn.o snd-dac.o
> snd-region.o snd-select.o snd-find.o snd-snd.o snd-help.o snd-main.o
> snd-print.o snd-trans.o snd-mix.o snd.o snd-env.o snd-xen.o
> snd-ladspa.o snd-rec.o snd-kbd.o snd-sig.o snd-draw.o snd-run.o
> snd-xutils.o snd-xerror.o snd-xhelp.o snd-xfind.o snd-xmenu.o
> snd-xdraw.o snd-xlistener.o snd-xchn.o snd-xsnd.o snd-xregion.o
> snd-xdrop.o snd-xmain.o snd-xmix.o snd-xrec.o snd-xenv.o snd-gxutils.o
> snd-gxbitmaps.o snd-gxcolormaps.o snd-xfft.o snd-xprint.o snd-xfile.o
> snd-xxen.o  -o snd  -L/sw/lib -lguile -lm   -L/usr/X11R6/lib  -lSM
> -lICE -L/sw/lib -lXm -lXt -lX11  -lXext -lXp -lXpm -framework
> CoreAudio -framework CoreFoundation -framework CoreMIDI
> ld: Undefined symbols:
> _cacos
> _cacosh
> _ccos
> _ccosh
> _SCM_VARIABLE_REF
> make: *** [snd] Error 1

Something like that appeared here too (no mac but pc and bsd).  To get
rid of HAVE_COMPLEX_TRIG I added configure option --with-gsl and all
went well.  If you have gsl, perhaps it helps.

Mike