From: Hans-Christoph S. <ha...@at...> - 2012-02-05 04:58:34
|
On Jan 30, 2012, at 3:01 PM, Michael Schlenker wrote: > > Am 30.01.2012 um 05:14 schrieb Hans-Christoph Steiner: > >> >> We have an odd error in our app Pd-extended. Its a media programming environment that we recently added the ability to write objects in Tcl. This is done using swig to wrap the Pd C API for Tcl. That's working great, but we have this odd error: >> >> On 32-bit builds, everything works fine, they are currently built on 10.5.8 and seem to run fine on 10.5 - 10.7. For the 64-bit builds, when the 'tclpd' library is loaded, it throws this error: >> >> Symbol not found: _TclFreeObj >> >> The 64-bit builds are built on 10.6.8 and I'm running it on 10.6.8. Both of these apps are using a custom build of plain vanilla Tcl/Tk 8.5.10. > > TclFreeObj() should be an internal symbol from the name, which is only exposed due to the Tcl_DecRefCount macro, but is actually defined in the Stubs Table slot 30, so it should be visible for a stubs enabled build at least. > > Are you using stubs or linking directly? > > Michael I don't quite understand the question. So tclpd.pd_darwin is a bundle/plugin that is linking to the Tcl framework using "-framework Tcl" That Tcl 8.5.10 framework is built using: export CFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 \ -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" make -C tcl/${BUILD_DIR} deploy That Tcl.framework is installed into /Library/Frameworks. .hc ---------------------------------------------------------------------------- You can't steal a gift. Bird gave the world his music, and if you can hear it, you can have it. - Dizzy Gillespie |