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

SourceForge.net noreply at sourceforge.net
Wed Nov 19 05:39:11 EST 2003


Bugs item #845037, was opened at 2003-11-19 10:27
Message generated for change (Comment added) made by charlet
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=845037&group_id=5470

Category: Windows
Group: Python 2.3
>Status: Closed
>Resolution: Duplicate
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

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

>Comment By: Arnaud Charlet (charlet)
Date: 2003-11-19 10:39

Message:
Logged In: YES 
user_id=912669

Sorry for the duplicate (of 845025), it was not intended.

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

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



More information about the Python-bugs-list mailing list