[ python-Bugs-1292634 ] The _ssl build process for 2.3.5 is broken
SourceForge.net
noreply at sourceforge.net
Sun Sep 25 06:38:12 CEST 2005
Bugs item #1292634, was opened at 2005-09-16 09:27
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1292634&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Windows
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Robert Cheung (robertcheung)
Assigned to: Nobody/Anonymous (nobody)
Summary: The _ssl build process for 2.3.5 is broken
Initial Comment:
I have attempted to build the _ssl library for 2.3.5
and it is broken (see attached output 1). Basically it
is complaining that the _ssl.pyd file could not be
build because several symbols
(GetUserObjectInformation, etc) could not be linked.
Those symbols are suppose to be located in
User32.[lib|dll]. Appending User32.lib to line 15 of
_ssl.mak fixed this problem (see attachment 2).
Hopefully this will be helpful for other people that
also had build problems with the ssl library.
Regards
Robert Cheung
-------- Attached output 1--------------
C:\downloads\python\Python-2.3.5\PCbuild>python
build_ssl.py
Found a working perl at 'C:\Perl\bin\perl.exe'
Found an SSL directory at
'C:\downloads\python\openssl-0.9.8'
Executing nmake over the ssl makefiles...
Building OpenSSL
copy nul+ .\crypto\buildinf.h tmp32\buildinf.h
nul
.\crypto\buildinf.h
1 file(s) copied.
cl /nologo ../Modules/_ssl.c
C:\downloads\python\openssl-0.9.8/out32/libeay32.lib
C:\downloads\python\openssl-0.9.8/out32/ssleay32.lib
/Ox /MD /LD /Fox86-temp-release/_ssl\_ssl.obj -I
../Include -I ../PC -I
C:\downloads\python\openssl-0.9.8/inc32 /link
/out:_ssl.pyd gdi32.lib wsock32.lib /libpath:C:\downloads\p
ython\openssl-0.9.8/out32 libeay32.lib ssleay32.lib _ssl.c
Creating library _ssl.lib and object _ssl.exp
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved
external symbol __imp__GetUserObjectInformationW at 20
referenced in function _OPENSSL_isservice
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved
external symbol __imp__GetProcessWindowStation at 0
referenced in function _OPENSSL_isservice
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved
external symbol __imp__GetDesktopWindow at 0 referenced in
function _OPENSSL_isservice
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved
external symbol __imp__MessageBoxIndirectA at 4 referenced
in function _OPENSSL_showfatal
_ssl.pyd : fatal error LNK1120: 4 unresolved externals
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
------------ Attachment 2 -----------------
_ssl.mak line 15 -
LIBS=gdi32.lib wsock32.lib /libpath:$(SSL_LIB_DIR)
libeay32.lib ssleay32.lib User32.lib
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2005-09-25 06:38
Message:
Logged In: YES
user_id=21627
You are using an unsupported version of OpenSSL. Please try
the version mentioned in PCbuild/readme.txt.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1292634&group_id=5470
More information about the Python-bugs-list
mailing list