[CM] SND-7 build errors on OSX
todd ingalls
testcase at asu.edu
Mon Jun 21 10:14:47 PDT 2004
Cristopher
I have a similar install as you and it seems that this has to do with
Fink putting stuff in non-standard places. Try the following:
toddingalls$ LDFLAGS="-L/sw/lib"
toddingalls$ export LDFLAGS
toddingalls$ CFLAGS="-I/sw/include"
toddingalls$ export CFLAGS
or put these in your .profile
then run ./configure
I have attached the makefile and config.h that results from this.
PS. I have had to do the same thing you did as far as making symbolic
links as the following in /sw/bin so configure could find guile. This I
believe is caused by an error in the way fink installs guile:
guile -> guile-1.6
guile-config -> guile-1.6-config
guile-snarf -> guile-1.6-snarf
guile-tools -> guile-1.6-tools
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.h
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20040621/2df3e80e/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile
Type: application/octet-stream
Size: 2566 bytes
Desc: not available
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20040621/2df3e80e/attachment.obj>
-------------- next part --------------
good luck
Todd Ingalls
Arts, Media and Engineering Program
Arizona State University
http://ame2.asu.edu/faculty/todd
On Jun 21, 2004, at 9:33 AM, cristopher pierson ewing wrote:
> I just tried to hack config.h to show that I had motif installed. I
> edited makefile, giving the locations of libXm.a etc at the line
> MOTIF-LIBS = blah, blah, blah. Then I rewrote config.h to look like
> this:
>
> #define USE_MOTIF 1
> /* #undef USE_NO_GUI */
> #define HAVE_MOTIF 1
> #define HAVE_XmToolTipGetLabel 1
> #define HAVE_XmCreateMultiList 1
> #define HAVE_XmCreateDataField 1
> #define HAVE_XmCreateButtonBox 1
> #define HAVE_XmCreateTabStack 1
> #define HAVE_XmCreateDropDown 1
> #define HAVE_XmCreateColumn 1
> #define HAVE_XmCreateFontSelector 1
> #define HAVE_XmCreateColorSelector 1
> #define HAVE_XPM_GET_ERROR_STRING 1
> #define HAVE_XPM_CREATE_XPM_IMAGE_FROM_PIXMAP 1
>
> Basically, all these lines are opposite of what they were originally.
> But
> when I run make again, the output, while different from before, still
> hangs. Here's the last bit from make:
>
> gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -g
> -O2
> -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
> -lguile-ltdl -lm -L/usr/X11R6/lib -lSM -lICE /sw/lib/libXm.a
> /usr/X11R6/lib/libXp.a /usr/X11R6/lib/libXt.a -lXext -lXpm -lX11
> -framework CoreAudio -framework CoreFoundation -framework CoreMIDI
> -lm
> ld: Undefined symbols:
> __XEditResGet16
> __XEditResGet32
> __XEditResGet8
> __XEditResGetSigned16
> __XEditResGetString8
> __XEditResGetWidgetInfo
> __XEditResPut16
> __XEditResPut32
> __XEditResPut8
> __XEditResPutString8
> __XEditResPutWidgetInfo
> __XEditResResetStream
> make: *** [snd] Error 1
> [trurl:/usr/local/snd-7] admin%
>
> Are there more locations I need to hack, or am I missing some headers I
> need to find?
>
> Cris
>
> ********************************
> Cris Ewing
> CME and Telehealth Web Services
> University of Washington
> School of Medicine
> Work Phone: (206) 685-9116
> Home Phone: (206) 365-3413
> E-mail: cewing at u.washington.edu
> *******************************
>
>
> On Mon, 21 Jun 2004, Bill Schottstaedt wrote:
>
>> Somehow your config.h is inconsistent -- I guess
>> USE_MOTIF did not get set, so it's picking up the
>> "no GUI" headers, but then for some reason the
>> makefile is trying to include the Motif files.
>> If configure didn't find Motif, you can give
>> it the path with the --with-motif-prefix switch.
>>
>>
>
> _______________________________________________
> Cmdist mailing list
> Cmdist at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
>
More information about the Cmdist
mailing list