[Patches] [ python-Patches-1197150 ] _ssl.mak Makefile patch (Win32)

SourceForge.net noreply at sourceforge.net
Sat Apr 15 10:48:27 CEST 2006


Patches item #1197150, was opened at 2005-05-07 11:47
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1197150&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: Modules
Group: Python 2.4
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Joachim Kessel (counter)
Assigned to: Nobody/Anonymous (nobody)
Summary: _ssl.mak Makefile patch (Win32)

Initial Comment:
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 at 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.

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

>Comment By: Martin v. Löwis (loewis)
Date: 2006-04-15 10:48

Message:
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.

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

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


More information about the Patches mailing list