This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: _ssl.mak Makefile patch (Win32)
Type: Stage:
Components: Extension Modules Versions: Python 2.4
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: counter, loewis
Priority: normal Keywords: patch

Created on 2005-05-07 09:47 by counter, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
_ssl.mak_patch_2005_05_07 counter, 2005-05-07 09:47 _ssl.mak_patch_2005_05_07
Messages (2)
msg48315 - (view) Author: Joachim Kessel (counter) Date: 2005-05-07 09:47
Hi,

please find attached a small patch for the '_ssl.mak'
Makefile in the 'PCbuild' Directory of Python 2.4.1
('user32.lib' was missing).

Here are the versions that I used
========================
Openssl: openssl-0.9.7-stable-SNAP-20050505
Python: 2.4.1

Error description
============
I was trying to compile Python 2.4.1 with SSL support
using one of the latest snapshots from
openssl, 'openssl-0.9.7-stable-SNAP-20050505'.

While compiling in Visual Studio 2003 I got the
following error:

--- snip ---

cl /nologo ../Modules/_ssl.c
c:\temp\python_build\openssl-0.9.7-stable-SNAP-20050505/out32.dbg/libeay32.lib
c:\temp\python_build\openssl-0.9.7-stable-SNAP-20050505/out32.dbg/ssleay32.lib
/Od /Zi /MDd /LDd /DDEBUG /D_DEBUG
/Fox86-temp-debug/_ssl\_ssl_d.obj -I ../Include -I
../PC -I
c:\temp\python_build\openssl-0.9.7-stable-SNAP-20050505/inc32
/link /out:_ssl_d.pyd gdi32.lib wsock32.lib
/libpath:c:\temp\python_build\openssl-0.9.7-stable-SNAP-20050505/out32.dbg
libeay32.lib ssleay32.lib
_ssl.c
 Creating library _ssl_d.lib and object _ssl_d.exp
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved
external symbol __imp__MessageBoxIndirectA@4 referenced
in function _OPENSSL_showfatal
_ssl_d.pyd : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
[7083 refs]
Project : error PRJ0019: A tool returned an error code
from "Performing Makefile project actions"

--- snap ---

The 'unresolved external symbol' relates to the missing
'user32.lib' in the '_ssl.mak' makefile.
msg48316 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-04-15 08:48
Logged In: YES 
user_id=21627

Thanks for the patch. This has been fixed in the trunk (2.5)
already, so closing it as out-of-date. For 2.4, this is not
an issue, since it will always stay at 0.9.7d.
History
Date User Action Args
2022-04-11 14:56:11adminsetgithub: 41959
2005-05-07 09:47:26countercreate