I've encountered following problem with current CVS state of
Openssl-dev:

When I build OpenSSL with MingW32 cross-compiler on Linux and run
make test on various vversions of Windows, on Win2003 server and WinXP
it works, but on Windows 2000 attempt to run OpenSSL.exe or any of test
programs in test directory bring ups a dialog window telling that DLL
library crypto32 is not found. And crypto32.dll is successfully build and
presents here.

Problem was traced down to .def file generated with util/mkdef.pl

If it lists just library name library its not found.

If it lists name with extension, everything works.
I've thought that problem is with filename case, but uppercasing library
name didn't work.

I wonder how it worked previously with DLLS compiled with mingw.sh.
Or it is binutils incompatibility? I use binutils 2.15.94, quite old.

Patch that fixes this problem follows:
Index: util/mkdef.pl
===================================================================
RCS file: /cvs-openssl/openssl/util/mkdef.pl,v
retrieving revision 1.102
diff -u -r1.102 mkdef.pl
--- util/mkdef.pl       9 Jun 2006 15:44:59 -0000       1.102
+++ util/mkdef.pl       26 Oct 2006 14:43:28 -0000
@@ -1217,7 +1217,7 @@
 ; Definition file for the DLL version of the $name library from OpenSSL
 ;
 
-LIBRARY         $libname       $liboptions
+LIBRARY         "$libname.dll" $liboptions
 
 DESCRIPTION     '$description'


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to