[PD] darwin ann makefile

david casal D.Casal at uea.ac.uk
Wed Feb 5 13:47:47 CET 2003


Hello there,

Just tried to tweak the makefile.linux in ann's CVS directory, to no
avail...followed Adam's advice with regards to cflags and ld flags, but
methinks I'm simply not there yet:

ld: Undefined symbols:
dyld_stub_binding_helper

If I then go get chaos's darwin part of its makefile and stick it in
makefile.linux (after tweaking targets, etc.) I get this (sorry for
flood):

[musswlap2:externals/ann/src] dc% make -f makefile.linux pd_darwin
cc -DPD -DMAXLIB -DUNIX -DMACOSX -O2 -Wall -W -Wshadow -Wstrict-prototypes
-Wno-unused -Wno-parentheses -Wno-switch -I../../../src -I../../../obj -c
*.c
ann.c:34: warning: function declaration isn't a prototype
In file included from /usr/include/math.h:24,
                 from ann_som.c:10:
/usr/include/architecture/ppc/math.h:228: warning: declaration of `exp'
shadows a global declaration
/usr/include/architecture/ppc/math.h:214: warning: shadowed declaration is
here
/usr/include/architecture/ppc/math.h:229: warning: declaration of `exp'
shadows a global declaration
/usr/include/architecture/ppc/math.h:214: warning: shadowed declaration is
here
ann_som.c: In function `som_makedist':
ann_som.c:108: warning: declaration of `y1' shadows a global declaration
/usr/include/architecture/ppc/math.h:421: warning: shadowed declaration is
here
ann_som.c: In function `som_list':
ann_som.c:217: warning: declaration of `s' shadows a parameter
ann_som.c:182: warning: shadowed declaration is here
ann_som.c:229: warning: declaration of `s' shadows a parameter
ann_som.c:182: warning: shadowed declaration is here
ann_som.c:241: warning: declaration of `s' shadows a parameter
ann_som.c:182: warning: shadowed declaration is here
ann_som.c: In function `som_read':
ann_som.c:433: warning: implicit declaration of function `close'
cc -bundle -undefined suppress -flat_namespace -o ann.pd_darwin ann.o
ann.o ann_som.o
ld: multiple definitions of symbol _ann_new
ann.o definition of _ann_new in section (__TEXT,__text)
ann.o definition of _ann_new in section (__TEXT,__text)
ld: multiple definitions of symbol _ann_setup
ann.o definition of _ann_setup in section (__TEXT,__text)
ann.o definition of _ann_setup in section (__TEXT,__text)
make: *** [ann.pd_darwin] Error 1

Which is where I get lost.

has anyone managed to compile ann for darwin yet?

d

david casal                   --0+
    ---
d.casal at uea.ac.uk             --9+
    ---
ecdc.dyndns.org/dc	      --)+





More information about the Pd-list mailing list