[PD-dev] building DesireData with scons on OSX

Kyle Klipowicz kyleklip at gmail.com
Fri Sep 16 03:56:07 CEST 2005


Hello all~

I was trying to figure this out with matju on #dataflow, but he had to
go.  So I will document it here, since it might be a problem for other
OSX users wanting to try DesireData and drool a little.

here is the error message scons gives me:

Hunab-Ku:~/pd kyleklipowicz$ sudo scons desire=1 debug=1 wall=1
scons: Reading SConscript files ...
Checking for dlopen() in C library dl... yes
Checking for sin() in C library m... yes
Checking for pthread_create() in C library pthread... yes
Checking for main() in C library fftw3f... no
scons: done reading SConscript files.
scons: Building targets ...
scons: `bin/pdsend' is up to date.
scons: `bin/pdreceive' is up to date.
scons: `bin/libpdtcl.dylib' is up to date.
gcc -g -faltivec -maltivec -DDL_OPEN -DNEWHASH -DLOCKFREE -DDESIRE
-DUNISTD -DPA_BIG_ENDIAN -DPA_USE_COREAUDIO -DMACOSX
-DUSEAPI_PORTAUDIO -DPA19 -DDEBUG -DHAVE_ALLOCA
-I/Library/Frameworks/Tk.framework/Headers
-I/Library/Frameworks/Tcl.framework/Headers -Isrc -Iportmidi_osx
-Iportaudio/pa_common -Iportaudio/pablio -c -o src/desire.o
src/desire.c
src/desire.c:1202: error: static declaration of 'iemgui_new' follows
non-static declaration
src/desire.c:118: error: previous declaration of 'iemgui_new' was here
src/desire.c:1221: error: static declaration of 'iemgui_propertiesfn'
follows non-static declaration
src/desire.c:119: error: previous declaration of 'iemgui_propertiesfn' was here
src/desire.c:1227: error: static declaration of 'iemgui_constrain'
follows non-static declaration
src/desire.c:121: error: previous declaration of 'iemgui_constrain' was here
src/desire.c:1233: error: static declaration of 'iemgui_init' follows
non-static declaration
src/desire.c:124: error: previous declaration of 'iemgui_init' was here
src/desire.c:1235: error: static declaration of 'binbuf_update'
follows non-static declaration
src/desire.c:125: error: previous declaration of 'binbuf_update' was here
src/desire.c:1245: error: static declaration of 'iemgui_loadbang'
follows non-static declaration
src/desire.c:126: error: previous declaration of 'iemgui_loadbang' was here
src/desire.c:1250: error: static declaration of 'iemgui_forward'
follows non-static declaration
src/desire.c:127: error: previous declaration of 'iemgui_forward' was here
scons: *** [src/desire.o] Error 1
scons: building terminated because of errors.

----------------------------------------------------------------------------

This is all with the latest devel cvs on :pserver: and the first line
of desire.c says this:

/* $Id: desire.c,v 1.1.2.11 2005/09/14 17:36:44 matju Exp $

Also, since matju requested it, I have the first line of ChangeLog:

$Id: ChangeLog,v 1.1.4.2 2005/09/11 23:37:33 matju Exp $

And finally, here is the version of gcc I am using:

Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5026.obj~19/src/configure
--disable-checking --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/gcc/darwin/4.0/c++
--build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8
--target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.0 (Apple Computer, Inc. build 5026)

I hope that we can fix this!  (By "we" I mean the real coders.  I'm
just a beta tester.)

~Kyle

-- 
http://perhapsidid.blogspot.com
(((())))(()()((((((((()())))()(((((((())()()())())))
(())))))(()))))))))))))(((((((((((()()))))))))((())))
))(((((((((((())))())))))))))))))))__________
_____())))))(((((((((((((()))))))))))_______
((((((())))))))))))((((((((000)))oOOOOOO




More information about the Pd-dev mailing list