----- Original Message -----
From: "Dr. Stephen Henson" <[EMAIL PROTECTED]>
To: <openssl-users@openssl.org>
Sent: Thursday, April 06, 2006 8:42 AM
Subject: Re: Compilation of OpenSSL-fips-1.0 under Windows
On Thu, Apr 06, 2006, Gianluca Varenni wrote:
I tried to compile 0.9.7i (the latest available on the web) from the
command line, using
perl Configure
VC-WIN32 --with-fipslibdir=c:\cvsroot\openssl_fips_10\openssl\fips-1.0
and it failed:
Usage: Configure [no-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx]
[-Kxxx]
[no-e
ngine] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared]
[[no-]zlib|zlib-dynamic] [
no-asm] [no-dso] [no-krb5] [386] [[no-]fips] [debug] [--prefix=DIR]
[--openssldi
r=OPENSSLDIR] [--with-xxx[=vvv]] [--test-sanity] os/compiler[:flags]
I think "--with-fipslibdir" is not a valid parameter for Configure....
Adding "fips" to the parameters didn't help at all.
What am I missing this time?
You need the latest *snapshot* of OpenSSL 0.9.7. The required features are
not
yet in any official release.
Once they have been tested by a few more people they will appear in 0.9.7j
and
later.
Ok, almost there...
Downloaded the latest 0.9.7 snapshot (20060406), and uncompressed.
perl Configure VC-WIN32 fips --with-fipslibdir=c:\msys\1.0\local\ssl\lib
Runs ok.
ms\do_ms.bat
Runs ok. (FWIW, do_masm.bat runs well too).
Opened a VC2003 command prompt,
nmake -f ms\nt.mak
It compiles every source properly, but it fails while linking b/c of a
missing obj.
....
lib /out:out32\libeayfips32.lib
@C:\DOCUME~1\Gianluca\LOCALS~1\Temp\nm1E
A.tmp
Microsoft (R) Library Manager Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
tmp32\cryptlib.obj tmp32\mem.obj tmp32\mem_clr.obj tmp32\mem_dbg.obj
tmp32\cvers
...bla bla bla other .obj files...
j tmp32\ui_err.obj tmp32\ui_lib.obj tmp32\ui_openssl.obj tmp32\ui_util.obj
tmp32
\ui_compat.obj tmp32\krb5_asn.obj advapi32.lib ms\_chkstk.o
LIB : fatal error LNK1181: cannot open input file 'ms\_chkstk.o'
NMAKE : fatal error U1077: 'lib' : return code '0x49d'
Stop.
What I'm doing wrong this time?
Thanks
GV
Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]