In order to make a FIPS-validated module, you MUST do:

../config fips

No other command is allowed, and no other command will produce a
fips-validated module.

-Kyle H

On Mon, Apr 28, 2008 at 11:48 AM, Christophe RICARD wrote:
> Hello,
> I am trying to compile openssl-fps-1.1.2 with DJGPP under windows XP Home
> Edition.
> perl Configure no-threads DJGPP is OK.
> But make fail because there is some unresolved dependencies like:
> fips_desmovs.o:fips_desmovs.c.text+0xf4): undefined reference to
> `_EVP_des_ede3_cbc'
> fips_desmovs.o:fips_desmovs.c.text+0x10d): undefined reference to
> `_EVP_CipherInit'
> fips_desmovs.o:fips_desmovs.c.text+0x143): undefined reference to
> `_ERR_print_errors_fp'
> fips_desmovs.o:fips_desmovs.c.text+0x163): undefined reference to
> `_EVP_des_cbc'
> fips_desmovs.o:fips_desmovs.c.text+0x181): undefined reference to
> `_EVP_des_cfb64'
> fips_desmovs.o:fips_desmovs.c.text+0x18b): undefined reference to
> `_EVP_des_ede3_ecb'
> fips_desmovs.o:fips_desmovs.c.text+0x195): undefined reference to
> `_EVP_des_ecb'
> fips_desmovs.o:fips_desmovs.c.text+0x1c1): undefined reference to
> `_EVP_des_ede3_ofb'
> fips_desmovs.o:fips_desmovs.c.text+0x1cb): undefined reference to
> `_EVP_des_ofb'
> fips_desmovs.o:fips_desmovs.c.text+0x1f1): undefined reference to
> `_EVP_des_ede3_cfb1'
> fips_desmovs.o:fips_desmovs.c.text+0x207): undefined reference to
> `_EVP_des_ede3_cfb8'
> fips_desmovs.o:fips_desmovs.c.text+0x211): undefined reference to
> `_EVP_des_cfb8'
> fips_desmovs.o:fips_desmovs.c.text+0x21b): undefined reference to
> `_EVP_des_cfb1'
> fips_desmovs.o:fips_desmovs.c.text+0x225): undefined reference to
> `_EVP_des_ede3_cfb64'
> fips_desmovs.o:fips_desmovs.c.text+0x8ed): undefined reference to
> `_DES_set_odd_parity'
> fips_desmovs.o:fips_desmovs.c.text+0x8f8): undefined reference to
> `_DES_set_odd_parity'
> fips_desmovs.o:fips_desmovs.c.text+0x903): undefined reference to
> `_DES_set_odd_parity'
> fips_desmovs.o:fips_desmovs.c.text+0x19e1): undefined reference to
> `_ERR_load_crypto_strings'.
> I have also the fallowing error messages :
> c:\djgpp\tmp/dj400000: DJGPPbin/ranlib.exe: command not found
> + gcc -o openssl.exe -DMONOLITH -I.. -I../include -DOPENSSL_SYSNAME_MSDOS
> -DOPENSSL_NO_KRB5 -IWATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer
> -O2 -Wall openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o
> passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o
> dsaparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o s_time.o
> apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o
> pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o prime.o ../libssl.a
> ../libcrypto.a -LWATT_ROOT/lib -lwatt
> c:\djgpp\tmp/dj500000: DJGPPbin/perl.exe: command not found
> make.exe[1]: [openssl.exe] Error 127 (ignored)
> + gcc -o bntest.exe -I.. -I../include -DOPENSSL_SYSNAME_MSDOS
> -DOPENSSL_NO_KRB5 -IWATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer
> -O2 -Wall bntest.o ../libssl.a ../libcrypto.a -LWATT_ROOT/lib -lwatt
> + gcc -o ectest.exe -I.. -I../include -DOPENSSL_SYSNAME_MSDOS
> -DOPENSSL_NO_KRB5 -IWATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer
> -O2 -Wall ectest.o ../libssl.a ../libcrypto.a -LWATT_ROOT/lib -lwatt
> + gcc -o ideatest.exe -I.. -I../include -DOPENSSL_SYSNAME_MSDOS
> -DOPENSSL_NO_KRB5 -IWATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer
> -O2 -Wall ideatest.o ../libssl.a ../libcrypto.a -LWATT_ROOT/lib -lwatt
> + gcc -o md2test.exe -I.. -I../include -DOPENSSL_SYSNAME_MSDOS
> -DOPENSSL_NO_KRB5 -IWATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer
> -O2 -Wall md2test.o ../libssl.a ../libcrypto.a -LWATT_ROOT/lib -lwatt
> + gcc -o md4test.exe -I.. -I../include -DOPENSSL_SYSNAME_MSDOS
> -DOPENSSL_NO_KRB5 -IWATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer
> -O2 -Wall md4test.o ../libssl.a ../libcrypto.a -LWATT_ROOT/lib -lwatt
> + gcc -o md5test.exe -I.. -I../include -DOPENSSL_SYSNAME_MSDOS
> -DOPENSSL_NO_KRB5 -IWATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer
> -O2 -Wall md5test.o ../libssl.a ../libcrypto.a -LWATT_ROOT/lib -lwatt
> + gcc -o hmactest.exe -I.. -I../include -DOPENSSL_SYSNAME_MSDOS
> -DOPENSSL_NO_KRB5 -IWATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer
> -O2 -Wall hmactest.o ../libssl.a ../libcrypto.a -LWATT_ROOT/lib -lwatt
> + gcc -o rc2test.exe -I.. -I../include -DOPENSSL_SYSNAME_MSDOS
> -DOPENSSL_NO_KRB5 -IWATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer
> -O2 -Wall rc2test.o ../libssl.a ../libcrypto.a -LWATT_ROOT/lib -lwatt
> + gcc -o rc4test.exe -I.. -I../include -DOPENSSL_SYSNAME_MSDOS
> -DOPENSSL_NO_KRB5 -IWATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer
> -O2 -Wall rc4test.o ../libssl.a ../libcrypto.a -LWATT_ROOT/lib -lwatt
> + gcc -o rc5test.exe -I.. -I../include -DOPENSSL_SYSNAME_MSDOS
> -DOPENSSL_NO_KRB5 -IWATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer
> -O2 -Wall rc5test.o ../libssl.a ../libcrypto.a -LWATT_ROOT/lib -lwatt
> + gcc -o destest.exe -I.. -I../include -DOPENSSL_SYSNAME_MSDOS
> -DOPENSSL_NO_KRB5 -IWATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer
> -O2 -Wall destest.o ../libssl.a ../libcrypto.a -LWATT_ROOT/lib -lwatt
> Can you help me to solve this mistake ?
> Do you have any step by step installation ?
> Thanks in advance for reading and helping
> Regards
> Christophe

__________________________________________________ ____________________
OpenSSL Project
User Support Mailing List
Automated List Manager