<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 &nbsp;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, &nbsp;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" &nbsp;??</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: &nbsp;</div><div><br></div><div><br></div><div>I commented out &nbsp;the&nbsp;<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&nbsp;</span></div><div>I wasn't able to get the "extras" to link properly and run. &nbsp;I tried the &nbsp;CFLAG -m32 and -m64, but with no success.</div><div><br></div><div><br></div><div><br></div><div>For example, &nbsp;with "expr~" &nbsp;</div><div><br></div><div>I tried:</div><div><br></div><div>cc -DPD -I../src -Wall -W -g -fPIC -arch i386 &nbsp;-mmacosx-version-min=10.4 -m64 -isysroot /Developer/SDKs/MacOSX10.6.sdk &nbsp; -o "expr~/vexp_fun.o" -c "expr~/vexp_fun.c"</div><div><br></div><div>and:</div><div><br></div><div><div>cc &nbsp;-bundle -undefined dynamic_lookup -arch i386 &nbsp;-mmacosx-version-min=10.4 -o expr~/expr~.pd_darwin expr~/vexp.o expr~/vexp_fun.o expr~/vexp_if.o &nbsp;-lc&nbsp;</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. &nbsp;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>&nbsp;</div></div></div></div></body></html>