You can not use the "shared" option for the fips module (1.1.1)
You are only supposed to use the "fips" option, which will build a single fips canister object file. This object file can then be used to link into your openssl build (eg. 0.9.7m).

For openssl itself, you _should_ be able to use the "shared" option but there is bug and you get the same errors you are seeing below (that's my experience anyway). Basically the build system does not seem to link with the fips canister object file, or something like that.

Cheers, Brendan.


Subramaniam wrote:
Hi,
I am facing problem in compiling openssl-fips-1.1.1
I configured it with
 ./Configure linux-elf-arm -ldl threads shared no-idea no-mdc2 no-rc50
Make depend
and then made make

But make is failing in test folder. Here is the message from make
<--
+ arm-linux-uclibc-cc -o fips_desmovs -I.. -I../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DTERMIO -O3 -fomit-frame-pointer -Wall fips_desmovs.o -ldl -ldl
fips_desmovs.o(.text+0x100): In function `DESTest':
: undefined reference to `EVP_des_ede3_cfb1'
fips_desmovs.o(.text+0x1a0): In function `DESTest':
: undefined reference to `EVP_des_cfb64'
fips_desmovs.o(.text+0x1c0): In function `DESTest':
: undefined reference to `EVP_des_ede3_ofb'
fips_desmovs.o(.text+0x1d4): In function `DESTest':
: undefined reference to `EVP_des_ede3_cfb64'
fips_desmovs.o(.text+0x1f0): In function `DESTest':
: undefined reference to `EVP_CipherInit'
fips_desmovs.o(.text+0x230): In function `DESTest':
: undefined reference to `EVP_des_ede3_cfb8'
fips_desmovs.o(.text+0x238): In function `DESTest':
: undefined reference to `EVP_des_cfb1'
fips_desmovs.o(.text+0x240): In function `DESTest':
: undefined reference to `EVP_des_ecb'
fips_desmovs.o(.text+0x248): In function `DESTest':
: undefined reference to `EVP_des_ede3_cbc'
fips_desmovs.o(.text+0x250): In function `DESTest':
: undefined reference to `EVP_des_cfb8'
fips_desmovs.o(.text+0x258): In function `DESTest':
: undefined reference to `EVP_des_cbc'
fips_desmovs.o(.text+0x260): In function `DESTest':
: undefined reference to `EVP_des_ofb'
fips_desmovs.o(.text+0x268): In function `DESTest':
: undefined reference to `EVP_des_ede3_ecb'
fips_desmovs.o(.text+0x288): In function `DESTest':
: undefined reference to `ERR_print_errors_fp'
fips_desmovs.o(.text+0x988): In function `do_mct':
: undefined reference to `DES_set_odd_parity'
fips_desmovs.o(.text+0x990): In function `do_mct':
: undefined reference to `DES_set_odd_parity'
fips_desmovs.o(.text+0x998): In function `do_mct':
: undefined reference to `DES_set_odd_parity'
fips_desmovs.o(.text+0x18c4): In function `main':
: undefined reference to `ERR_load_crypto_strings'
collect2: ld returned 1 exit status


-->

I searched for the function EVP_des_ede3_cfb.. no such function is defined..

Please help me in resolving this
with regards
Subramanaim


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

Reply via email to