[PD] OSX compile problem

Joshua McFadden josh at mindsound.org
Fri Sep 27 22:34:47 CEST 2002

Hello, all!  After a bit of a dormant period, I'm trying to get pd to 
compile on my OSX box (10.2, all recent updates as far as I know).  I 
get this problem when I try to compile:

cc -DPD -DUNIX  -Wall -W -Wstrict-prototypes  -Werror -Wno-unused 
-Wno-parentheses -Wno-switch -O2  -DMACOSX -I/usr/X11R6/include 
-I../portaudio/pa_common         -I../portaudio/pablio 
-I../portaudio/portmidi-macosx -Wno-error 
-DINSTALL_PREFIX=\"/usr/local\" -I. -c -o ../obj/g_text.o g_text.c
/usr/include/architecture/ppc/math.h:440: too many args (1) to macro 
'cabs' (0 expected)
cpp-precomp: warning: errors during smart preprocessing, retrying in 
basic mode
make: *** [g_text.o] Error 1

I'm totally baffled about that header file - the complex abs macro 
'cabs' _does_ take an argument:

[lasa:~/runtemp/pd-0.35-0/src] josh% grep cabs 
extern double cabs ( _complex z );

Is there something else that's wrong?  The only caveat I can find for 
OSX is that I need to have Tcl installed - I have it in two different 
places.  :)  Anybody have a suggestion?

Joshua McFadden

More information about the Pd-list mailing list