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