From: Kevan H. <ha...@br...> - 2021-05-20 15:20:58
|
Greetings from Boston, I removed all traces of GCC and developer tools from my MacOS10.15.7 machine, including Home Brew versions. I re-installed Command Line Tools. I try to build Tcl 8.6.11 with: export CFLAGS="-arch x86_64" make -C tcl/macosx It fails during the link with undefined symbols. Link error is below. Uwe Kirschner and I were asking for help with this same problem a couple of months ago. If I move to a machine running MacOS 10.12.6, I can compile any version of TclTk I like. But I can compile none of them on my 10.15.7 machine. Is anyone else able to compile TclTk on MacOS 10.15? Best, Kevan Undefined symbols for architecture x86_64: "_TclOOInitializeStubs", referenced from: _Initialize in itclBase.o "_Tcl_InitStubs", referenced from: _Initialize in itclBase.o "_tclIntStubsPtr", referenced from: _Itcl_NRRunCallbacks in itcl2TclOO.o _Tcl_InvokeClassProcedureMethod in itcl2TclOO.o _ItclGetInstanceVar in itclObject.o _ItclSetInstanceVar in itclObject.o __Tcl_GetOriginalCommand in itclTclIntStubsFcn.o __Tcl_CreateProc in itclTclIntStubsFcn.o __Tcl_GetObjInterpProc in itclTclIntStubsFcn.o ... "_tclOOIntStubsPtr", referenced from: _Itcl_PublicObjectCmd in itcl2TclOO.o _Itcl_NewProcClassMethod in itcl2TclOO.o _Itcl_NewProcMethod in itcl2TclOO.o _Itcl_NewForwardClassMethod in itcl2TclOO.o "_tclOOStubsPtr", referenced from: _RootCallProc in itclBase.o _Initialize in itclBase.o _ItclExtendedConfigure in itclBuiltin.o _ItclExtendedCget in itclBuiltin.o _ItclUnknownGuts in itclBuiltin.o _Itcl_BiInstallComponentCmd in itclBuiltin.o _Itcl_BiMyMethodCmd in itclBuiltin.o ... "_tclStubsPtr", referenced from: _Tcl_InvokeClassProcedureMethod in itcl2TclOO.o _Itcl_InvokeEnsembleMethod in itcl2TclOO.o _EnsembleErrorProc in itcl2TclOO.o _FreeProcedureMethod in itcl2TclOO.o _Itcl_PublicObjectCmd in itcl2TclOO.o _Itcl_SelfCmd in itcl2TclOO.o _Itcl_TclOOObjectName in itcl2TclOO.o ... ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[4]: *** [libitcl4.2.1.dylib] Error 1 make[3]: *** [packages] Error 2 make[2]: *** [build-tcl] Error 2 make[1]: *** [tcl] Error 2 make: *** [develop] Error 2 -- Kevan Hashemi, Electrical Engineer Physics Department, Brandeis University http://www.bndhep.net |