[ python-Bugs-845025 ] Symbols not exported in windows python23 dll

SourceForge.net noreply at sourceforge.net
Wed Nov 19 04:59:14 EST 2003


Bugs item #845025, was opened at 2003-11-19 09:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=845025&group_id=5470

Category: Windows
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Arnaud Charlet (charlet)
Assigned to: Thomas Heller (theller)
Summary: Symbols not exported in windows python23 dll

Initial Comment:
When trying to link with python23.lib to use python23.dll
under Windows, I am getting undefined symbols:

undefined reference to `_imp__PyString_Type'
undefined reference to `_imp__PyInt_Type'
undefined reference to `_imp__PyFunction_Type'
etc...

This is apparently due to the fact that these global
symbols are properly marked as dllexport/import in
the header file (stringobject.h), but are not marked as
such in the C file (stringobject.c), therefore these
variables are not exported in the DLL under Windows,
due to the special handling of global variables in DLLs.

Arno

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=845025&group_id=5470



More information about the Python-bugs-list mailing list