Using Py_InitModule3 -> [Linker Error] Unresolved external '_Py_InitModule4TraceRefs'

Fredrik Lundh fredrik at pythonware.com
Fri Dec 8 12:45:24 EST 2006


iwl wrote:

> I copied the code from the Extending Embedded Python section in the
> Python 2.5 but get an linker Error Unresolved external
> _Py_InitModule4TraceRefs.
> Who knows what's wrong?

you've mixed components compiled with Py_TRACE_REFS with components that 
aren't compiled with Py_TRACE_REFS.  don't do that.

(what is it with you C programmers these days, btw?  have they stopped 
teaching how to how use "grep" and library inspection tools when they 
teach C and C++ ?)

</F>




More information about the Python-list mailing list