Hi.

I am trying to build openSSL0.9.7m against FIPS object module.

FIPs is installed with standard

./config fips
make
make install.

From openSSL-FIPs-1.1.1.tar.gz.

And I downloaded openSSL0.9.7m, and configured it with

./config fips shared --with-fipslibdir=/usr/local/ssl/lib/ --prefix=/opt/openssl-0.9.7m/

But I couldn't finish the compile with error messages popping out:

+ gcc -o fips_desmovs -I.. -I../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -march=pentium -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM fips_desmovs.o -ldl
fips_desmovs.o: In function `DES_Cipher':
fips_desmovs.c:(.text+0x43f): undefined reference to `DES_ecb3_encrypt'
fips_desmovs.c:(.text+0x475): undefined reference to `DES_ecb_encrypt'
fips_desmovs.c:(.text+0x4ac): undefined reference to `DES_ede3_cbc_encrypt'
fips_desmovs.c:(.text+0x4ec): undefined reference to `DES_ede3_ofb64_encrypt'
fips_desmovs.c:(.text+0x530): undefined reference to `DES_ncbc_encrypt'
fips_desmovs.c:(.text+0x577): undefined reference to `DES_ede3_cfb64_encrypt'
fips_desmovs.c:(.text+0x5b9): undefined reference to `DES_ede3_cfb_encrypt'
fips_desmovs.c:(.text+0x5dd): undefined reference to `DES_ofb64_encrypt'
fips_desmovs.c:(.text+0x607): undefined reference to `DES_cfb64_encrypt'
fips_desmovs.c:(.text+0x62c): undefined reference to `DES_cfb_encrypt'
fips_desmovs.o: In function `DESTest':
fips_desmovs.c:(.text+0x6e0): undefined reference to `DES_set_key_unchecked'
fips_desmovs.c:(.text+0x79c): undefined reference to `DES_set_key_unchecked'
fips_desmovs.c:(.text+0x7b2): undefined reference to `DES_set_key_unchecked'
fips_desmovs.o: In function `do_mct':
fips_desmovs.c:(.text+0xdab): undefined reference to `DES_set_odd_parity'
fips_desmovs.c:(.text+0xdb8): undefined reference to `DES_set_odd_parity'
fips_desmovs.c:(.text+0xdc5): undefined reference to `DES_set_odd_parity'
fips_desmovs.o: In function `main':
fips_desmovs.c:(.text+0x1dee): undefined reference to `FIPS_mode_set'
fips_desmovs.c:(.text+0x1faa): undefined reference to `BIO_new_fp'
fips_desmovs.c:(.text+0x1fb2): undefined reference to `ERR_print_errors'
collect2: ld returned 1 exit status

What is wrong? (And how can I fix this?)

Thanks


Wei

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

Reply via email to