I am trying to build a FIPS 1.1.2 enabled library for VC++. I follow the
instructions for 1.1.1 and get the following error during the nmake:

tmp32\s2_meth.obj tmp32\s2_srvr.obj tmp32\s2_clnt.obj tmp32\s2_lib.obj
tmp32\s2_
enc.obj tmp32\s2_pkt.obj tmp32\s3_meth.obj tmp32\s3_srvr.obj
tmp32\s3_clnt.obj t
mp32\s3_lib.obj tmp32\s3_enc.obj tmp32\s3_pkt.obj tmp32\s3_both.obj
tmp32\s23_me
th.obj tmp32\s23_srvr.obj tmp32\s23_clnt.obj tmp32\s23_lib.obj
tmp32\s23_pkt.obj
tmp32\t1_meth.obj tmp32\t1_srvr.obj tmp32\t1_clnt.obj tmp32\t1_lib.obj
tmp32\t1
_enc.obj tmp32\ssl_lib.obj tmp32\ssl_err2.obj tmp32\ssl_cert.obj
tmp32\ssl_sess.
obj tmp32\ssl_ciph.obj tmp32\ssl_stat.obj tmp32\ssl_rsa.obj
tmp32\ssl_asn1.obj t
mp32\ssl_txt.obj tmp32\ssl_algs.obj tmp32\bio_ssl.obj tmp32\ssl_err.obj
tmp32\ks
sl.obj advapi32.lib
cl /Fotmp32\md2test.obj -Iinc32 -Itmp32 /MD /W3 /WX /Ox /O2 /Ob2
/Gs0 /G
F /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN
-DDSO_WIN
32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE /Fdout32
-DOPENSSL_NO_
KRB5 -DOPENSSL_FIPS -c .\crypto\md2\md2test.c
md2test.c
SET FIPS_LINK=link
SET FIPS_CC=cl
SET FIPS_CC_ARGS=/Fotmp32\fips_premain.obj -Iinc32 -Itmp32 /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
/Fd
out32 -DOPENSSL_NO_KRB5 -DOPENSSL_FIPS -c
SET PREMAIN_DSO_EXE=
SET FIPS_TARGET=out32\md2test.exe
SET FIPS_SHA1_EXE=out32\fips_standalone_sha1.exe
SET FIPSLIB_D=C:\source\OpenSSL\openssl-fips-1.1.2\fipslib
perl util\fipslink.pl /nologo /subsystem:console /machine:I386
/opt:ref
/outut32\md2test.exe @C:\DOCUME~1\jliechty\LOCALS~1\Temp\nm1F92.tmp
Integrity check OK
cl /Fotmp32\fips_premain.obj -Iinc32 -Itmp32 /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 /Fdout32
-DOPENSSL_NO_KRB
5 -DOPENSSL_FIPS -c
C:\source\OpenSSL\openssl-fips-1.1.2\fipslib/fips_premain.
c
fips_premain.c
link /nologo /subsystem:console /machine:I386 /opt:ref
/outut32\md2test.exe @C
:\DOCUME~1\jliechty\LOCALS~1\Temp\nm1F92.tmp
fipscanister.o : error LNK2019: unresolved external symbol ___umoddi3
referenced
in function _fmtint
fipscanister.o : error LNK2019: unresolved external symbol ___udivdi3
referenced
in function _fmtint
out32\md2test.exe : fatal error LNK1120: 2 unresolved externals
First stage Link failure at util\fipslink.pl line 42.
NMAKE : fatal error U1077: 'perl' : return code '0x9'
Stop.
--
View this message in context: http://www.nabble.com/Fips-1.1.2-for...p16452217.html
Sent from the OpenSSL - Dev mailing list archive at Nabble.com.

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org