[PD-dev] scons, devel_0_39 cvs, osx, and extras?

james tittle tigital at mac.com
Wed Aug 3 18:56:41 CEST 2005


hi,

...just updated cvs and was re-compiling when I noticed it failing  
when compiling bonk~?  Here's the relevent output:

gcc -O3 -faltivec -maltivec -isysroot /Developer/SDKs/ 
MacOSX10.4.0.sdk -fPIC -DNEWHASH -DLOCKFREE -DUNISTD -DPA_BIG_ENDIAN - 
DPA_USE_COREAUDIO -DMACOSX -DUSEAPI_PORTAUDIO -DPA19 -DNDEBUG -DPD -I/ 
Library/Frameworks/Tk.framework/Headers -I/Library/Frameworks/ 
Tcl.framework/Headers -Iextra -Iportmidi_osx -Iportaudio/pa_common - 
Iportaudio/pablio -Isrc -c -o extra/bonk~/bonk~.os extra/bonk~/bonk~.c
gcc -framework CoreAudio -framework AudioUnit -framework AudioToolbox  
-framework Carbon -framework CoreMIDI -Wl,-syslibroot,/Developer/SDKs/ 
MacOSX10.4.0.sdk -O3 -faltivec -maltivec -isysroot /Developer/SDKs/ 
MacOSX10.4.0.sdk -dynamiclib -o extra/bonk~.pd_darwin extra/bonk~/ 
bonk~.os -Lextra -lm -ltcl -ltk -lpthread
ld: Undefined symbols:
_class_addbang
_class_addmethod
_class_new
_clock_delay

...blahblahblah...

...I tried looking at the sconscript to see where the -dynamiclib  
stuff is coming from, but got lost at "extras.append 
(extra_env.SharedLibrary(extra, extra+'/'+extra+'.c'))"

...anyway, the way to do this now would either be "-dynamiclib - 
undefined suppress" or preferably "-bundle -bundle_loader path/to/pd/ 
binary"...

thanx,
jamie

ps:  It also seems as tho x_list.c didn't get upped to devel_0_39?   
or did I just update before the commit was finished?




More information about the Pd-dev mailing list