000014734 - Error when building crypto samples using Makefile.fips140 in MES 3.2

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000014734
Applies ToRSA BSAFE MES 3.2
IssueBuild samples in the crypto folder with Makefile.fips140 in MES 3.2
The following error is seen when building samples in folder samples/source/crypto using Makefile.fips140,

         link /nologo /subsystem:console /machine:I386 /opt:NOICF /out:r_dgst.exe
 @C:\DOCUME~1\hosurp\LOCALS~1\Temp\nmE0A.tmp
r_dgst.obj : error LNK2001: unresolved external symbol _R_CK_PARA_SHA512
r_dgst.obj : error LNK2001: unresolved external symbol _R_CK_PARA_SHA384
r_dgst.obj : error LNK2001: unresolved external symbol _R_CK_PARA_SHA256
r_dgst.obj : error LNK2001: unresolved external symbol _R_CK_PARA_SHA224
r_dgst.obj : error LNK2001: unresolved external symbol _R_CK_PARA_SHA1
r_dgst.obj : error LNK2001: unresolved external symbol _R_CK_PARA_MD5
r_dgst.obj : error LNK2001: unresolved external symbol _R_CK_PARA_MD2
r_dgst.obj : error LNK2001: unresolved external symbol _r_ck_dgst
r_dgst.exe : fatal error LNK1120: 8 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\l
ink.EXE"' : return code '0x460'
Stop.


Cause-DNO_SOFTWARE_CRYPTO flag is missing in Makefile.fips140 (in CFLAGS)
ResolutionAdd -DNO_SOFTWARE_CRYPTO to CFLAG in Makefile.fips140


Or build the samples using batch file, samples\source\makeall.bat.
Legacy Article IDa49138

Attachments

    Outcomes