Following the instructions in the FIPS users guide I can build the FIPS
Object Module just fine. What I can't get to work is the Windows DLL build
of OpenSLL with the FIPS module. I can build that static libraries with FIPS
and the DLL without FIPS. When I try to build the dll with FIPS though I get
the following on both VS 2003 and VS 2005. Is there a particular version of
VS/VC++ I should be using?

.....
        cl /Fotmp32dll\krb5_asn.obj  -Iinc32 -Itmp32dll /MD /W3 /WX /Ox /O2
/Ob2
 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN
-DL_ENDIAN -
DDSO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
/Fdout32dll -D
OPENSSL_NO_KRB5 -DOPENSSL_FIPS -D_WINDLL  -DOPENSSL_BUILD_SHLIBCRYPTO -c
.\crypt
o\krb5\krb5_asn.c
krb5_asn.c
        cl /Fotmp32dll\fips_premain_dso.obj -DFINGERPRINT_PREMAIN_DSO_LOAD
-Iinc
32 -Itmp32dll /MD /W3 /WX /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo
-DOPENSSL_SYSNAME_WI
N32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -D_CRT_SECURE_NO_DEPRECATE
-D_C
RT_NONSTDC_NO_DEPRECATE /Fdout32dll -DOPENSSL_NO_KRB5 -DOPENSSL_FIPS
-D_WINDLL
-c .\fips-1.0\fips_premain.c
fips_premain.c
        link /nologo /subsystem:console /machine:I386 /opt:ref
/out:out32dll\fip
s_premain_dso.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm1BD.tmp
        SET FIPS_LINK=link
        SET FIPS_CC=cl
        SET FIPS_CC_ARGS=/Fotmp32dll\fips_premain.obj -Iinc32 -Itmp32dll /MD
/W3
 /WX /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32
-DWIN32_LEAN_AND_
MEAN -DL_ENDIAN -DDSO_WIN32 -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_DEPRECA
TE /Fdout32dll -DOPENSSL_NO_KRB5 -DOPENSSL_FIPS -D_WINDLL  -c
        SET PREMAIN_DSO_EXE=out32dll\fips_premain_dso.exe
        SET FIPS_SHA1_EXE=out32dll\fips_standalone_sha1.exe
        SET FIPS_TARGET=out32dll\libeay32.dll
        SET FIPSLIB_D=C:\msys\1.0\local\ssl\lib/
        perl util\fipslink.pl /nologo /subsystem:console /machine:I386
/opt:ref
/dll  /base:0xFB00000 /out:out32dll\libeay32.dll /def:ms/LIBEAY32.def
@C:\DOCUME
~1\ADMINI~1\LOCALS~1\Temp\nm1BF.tmp
Integrity check OK
cl /Fotmp32dll\fips_premain.obj -Iinc32 -Itmp32dll /MD /W3 /WX /Ox /O2 /Ob2
/Gs0
 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN
-DDSO_
WIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE /Fdout32dll
-DOPENS
SL_NO_KRB5 -DOPENSSL_FIPS -D_WINDLL  -c
C:\msys\1.0\local\ssl\lib//fips_premain.
c
fips_premain.c
link /nologo /subsystem:console /machine:I386 /opt:ref /dll /base:0xFB00000
/out
:out32dll\libeay32.dll /def:ms/LIBEAY32.def
@C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\
nm1BF.tmp
ms/LIBEAY32.def(7) : warning LNK4017: DESCRIPTION statement not supported
for th
e target platform; ignored
   Creating library out32dll\libeay32.lib and object out32dll\libeay32.exp

LINK : fatal error LNK1000: Internal error during BuildImage

  Version 7.10.6030

  ExceptionCode            = C0000005
  ExceptionFlags           = 00000000
  ExceptionAddress         = 0045ABE5 (00400000) "C:\Program Files\Microsoft
Vis
ual Studio .NET 2003\VC7\BIN\link.exe"
  NumberParameters         = 00000002
  ExceptionInformation[ 0] = 00000000
  ExceptionInformation[ 1] = 00000008

CONTEXT:
  Eax    = 00000006  Esp    = 0012F2D4
  Ebx    = 02DB01C8  Ebp    = 00000000
  Ecx    = 00000006  Esi    = 000EBE6A
  Edx    = 000E8E70  Edi    = 00000000
  Eip    = 0045ABE5  EFlags = 00010206
  SegCs  = 0000001B  SegDs  = 00000023
  SegSs  = 00000023  SegEs  = 00000023
  SegFs  = 0000003B  SegGs  = 00000000
  Dr0    = 0012F2D4  Dr3    = 02DB01C8
  Dr1    = 00000000  Dr6    = 00000006
  Dr2    = 00000000  Dr7    = 00000000
First stage Link failure at util\fipslink.pl line 42.
NMAKE : fatal error U1077: 'perl' : return code '0x9'
Stop.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to