[Starkit] Re: [MACTCL] Tclkit-darwin-univ-aqua on 10.3.9?

Joey Mukherjee joey at swri.edu
Thu Jun 1 15:24:36 CEST 2006


On May 31, 2006, at 2:15 PM, Jeff Hobbs wrote:

> Joey Mukherjee wrote:
>> The TclKit binary that I am wanting to use is tclkit-darwin-univ-
>> aqua; however, when I try to use this program on a 10.3.9 system, I
>> get the following error:
>>
>> ./tclkit-darwin-uniq-aqua undefined reference to _OSSpinLockLock
>> expected to be defined in /usr/lib/libSystem.B/dylib .
>>
>> Is there an easy solution to this problem?  I'm hoping I can update
>> something on the 10.3.9, or another version of the tclkit binary.
>
> There is a problem in building the universal binaries in that the  
> configure
> script does the check for the OSSpinLockLock function, and finds it  
> because
> you need to build on a 10.4 system.  You have to specifically undef
> HAVE_OSSPINLOCKLOCK to make sure it won't be used for at least the  
> ppc side.
>
I have tried everything to remove this from the tclkit and had no  
luck whatsoever.  I could swear that I hacked each of the makefiles  
and genkit to say "HAVE_OSSPINLOCKLOCK=0", but no dice.  I still get  
the error.

Does anyone have an idea how to find out which module might be the  
culprit?

BTW, is there an easier way to build the universal binary of tclkit  
without hacking the Makefiles?

Thanks,
Joey


More information about the Starkit mailing list