Problems importing _sre w/VC7-compiled Python 2.1
Robin Becker
robin at jessikat.fsnet.co.uk
Sun May 19 08:47:40 EDT 2002
In article <597ee21d.0205190433.59938215 at posting.google.com>, David
Aldridge <daldridge at austin.rr.com> writes
>Anyway, your suggestions were spot on (and so obvious that I should
>slap myself...) Using dumpbin showed that all of the modules I
>compiled contained *NO* exports. Adding an /EXPORT:<blah> setting to
>the linker line "fixed" the problem, but that shouldn't be necessary,
>as the appropriate functions are __declspec(dllexport). Bizarro...
>*sigh* Guess it's time to spend a year figuring out how/why exports
>are broken. Bah, Microsoft. Bah.
>
>David
Perhaps the pre-processor conditional code defining DL_EXPORT in
pyconfig.h broke for some reason. Perhaps one of the standard defines is
absent/different.
--
Robin Becker
More information about the Python-list
mailing list