Patrick Pagano bigswift@ufl.edu
Sat, 10 Jan 2004 17:33:38 -0500

in your makefile specify that Xm file explicitly


it will complian about weak links but should build


On Friday, January 9, 2004, at 05:13  PM, Mitchell Turner wrote:

> I'm still having a problem compiling SND.  I got the following error:
> gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H  -I. -g 
> -O2 -I/sw/include -I/usr/X11R6/include -I/sw/include -I/sw/include  
> xm.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 xm.o  -o snd  -L/sw/lib -lguile -lm   -L/usr/X11R6/lib  
> -lSM -lICE -L/sw/lib -lXm -lXt -lXp -lX11  -lXext -lXpm -framework 
> CoreAudio -framework CoreFoundation -framework CoreMIDI  -L/sw/lib 
> -lgsl -lgslcblas -lm -lm
> ld: warning multiple definitions of symbol _XauDisposeAuth
> /usr/X11R6/lib/libXp.dylib(AuDispose.o) definition of _XauDisposeAuth
> /usr/X11R6/lib/libX11.dylib(AuDispose.o) definition of _XauDisposeAuth
> ld: warning multiple definitions of symbol _XauReadAuth
> /usr/X11R6/lib/libXp.dylib(AuRead.o) definition of _XauReadAuth
> /usr/X11R6/lib/libX11.dylib(AuRead.o) definition of _XauReadAuth
> I used ./configure --with-motif-prefix=/sw --with-guile 
> --with-static-xm
> I used the libXm.a from ccrma and edited the config.h, setting the 
> macro HAVE_XmToolTipGetLabel to 0.
> Am not sure what to try next? Thanks for your help.
> Mitch
> _______________________________________________
> Cmdist mailing list
> Cmdist@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
Patrick Pagano,B.S. M.F.A candidate