<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I checked out and compiled the pd vanilla 0.43 below:<div><br></div><div>Last Changed Rev: 12962<div>Last Changed Date: 2010-01-11 18:23:55 -0500 (Mon, 11 Jan 2010)</div><div><br></div><div><br></div><div>While pd compiled and ran fine, I was not able to compile/link/run the "extras", such as "expr" etc..</div><div><br></div><div>Has anyone had success with the externs in "extras" ??</div><div><br></div><div>thanks</div><div><br></div><div>Zack</div><div><br></div><div><br></div><div>------------------------------------------</div><div>my lame attempt: </div><div><br></div><div><br></div><div>I commented out the <span class="Apple-style-span" style="color: rgb(40, 127, 56); font-family: Monaco; font-size: 16px; ">OPT_CFLAGS which reduced the compilation errors, but </span></div><div>I wasn't able to get the "extras" to link properly and run. I tried the CFLAG -m32 and -m64, but with no success.</div><div><br></div><div><br></div><div><br></div><div>For example, with "expr~" </div><div><br></div><div>I tried:</div><div><br></div><div>cc -DPD -I../src -Wall -W -g -fPIC -arch i386 -mmacosx-version-min=10.4 -m64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -o "expr~/vexp_fun.o" -c "expr~/vexp_fun.c"</div><div><br></div><div>and:</div><div><br></div><div><div>cc -bundle -undefined dynamic_lookup -arch i386 -mmacosx-version-min=10.4 -o expr~/expr~.pd_darwin expr~/vexp.o expr~/vexp_fun.o expr~/vexp_if.o -lc </div><div>ld: warning: in expr~/vexp.o, file is not of required architecture</div><div><br></div></div><div><div><div><br></div><div>and it fails in runtime with:</div><div><br></div><div>/Users/zack/svn/0.43/extra/expr~/expr.pd_darwin: dlopen(/Users/zack/svn/0.43/extra/expr~/expr.pd_darwin, 10): no suitable image found. Did find:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>/Users/zack/svn/0.43/extra/expr~/expr.pd_darwin: mach-o, but wrong architecture</div><div><br></div><div><br></div><div> </div></div></div></div></body></html>