[CM] SND-7 build errors on OSX

cristopher pierson ewing cewing@u.washington.edu
Fri, 18 Jun 2004 14:10:59 -0700 (PDT)


Hi all,

Trying to get SND built on OS X, 10.3 on a G5.  I've installed guile and
opemotif3 and fftw via fink.  I'm following the instructions in README.snd
and going the path of running ./configure and then hacking the makefile to
point to the correct guile and motif libs.  When I run make, I get the
following error (this is only the last 30-40 lines of the output, more
available if needed).

Any ideas what is going wrong here?

C

***************output from make follows***************
snd-xutils.c: At top level:
snd-xutils.c:461: error: conflicting types for `set_sensitive'
snd-nogui1.h:217: error: previous declaration of `set_sensitive'
snd-xutils.c:462: error: conflicting types for `set_toggle_button'
snd-nogui1.h:218: error: previous declaration of `set_toggle_button'
snd-xutils.c:465: error: conflicting types for `widget_height'
snd-nogui1.h:219: error: previous declaration of `widget_height'
snd-xutils.c:472: error: conflicting types for `widget_width'
snd-nogui1.h:220: error: previous declaration of `widget_width'
snd-xutils.c:489: error: conflicting types for `set_widget_size'
snd-nogui1.h:221: error: previous declaration of `set_widget_size'
snd-xutils.c:494: error: conflicting types for `widget_x'
snd-nogui1.h:222: error: previous declaration of `widget_x'
snd-xutils.c:501: error: conflicting types for `widget_y'
snd-nogui1.h:223: error: previous declaration of `widget_y'
snd-xutils.c:508: error: conflicting types for `set_widget_x'
snd-nogui1.h:224: error: previous declaration of `set_widget_x'
snd-xutils.c:513: error: conflicting types for `set_widget_y'
snd-nogui1.h:225: error: previous declaration of `set_widget_y'
snd-xutils.c: In function `fixup_axis_context':
snd-xutils.c:524: error: structure has no member named `dp'
snd-xutils.c:526: warning: assignment makes integer from pointer without a
cast
snd-xutils.c: In function `make_pixmap':
snd-xutils.c:535: warning: passing arg 1 of `XCreateBitmapFromData' makes
pointer from integer without a cast
snd-xutils.c:538: warning: passing arg 1 of `XCreatePixmap' makes pointer
from integer without a cast
snd-xutils.c:539: warning: passing arg 1 of `XCopyPlane' makes pointer
from integer without a cast
snd-xutils.c:540: warning: passing arg 1 of `XFreePixmap' makes pointer
from integer without a cast
snd-xutils.c: In function `add_work_proc':
snd-xutils.c:548: warning: passing arg 1 of `XtAppAddWorkProc' makes
pointer from integer without a cast
make: *** [snd-xutils.o] Error 1
[trurl:/usr/local/snd-7] admin%
***************end output from make*******************

********************************
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@u.washington.edu
*******************************