when configure runs without errors, then the problem must be somewhere else.
you wrote:
"XoTclGetClass" declared 'static' but never defined
'CallStackGetFrame' declared....
'XOTcl_DeprecatedCmd' defined but not used
'NSTail' defined but not used....
Please report the first the first error message, you got, and as well the command leading to the error message. there is no function "XoTclGetClass", only a "XOTclGetClass", and this is quite later in the file. seems, as if you picked a few random messages you are seeing.
what os you are working with? which compiler do you use?