Steve: Here 'tis: ------------------------------------------------------------------------------- Makefile ------------------------------------------------------------------------------- FIPSPROD = openssl-fips-1.1.2.tar FIPSDIR = openssl-fips-1.1.2
all: fips-build $(FIPSDIR): $(FIPSPROD) tar xf $(FIPSPROD) fips-build: $(FIPSDIR) export PATH=/usr/local/bin:$$PATH; \ cd $(FIPSDIR); \ ./config fips > x.config-fips 2>&1 ; \ make > x.make 2>&1 ------------------------------------------------------------------------------- x.config-fips (head -31 x.config-fips) ------------------------------------------------------------------------------- Operating system: 9000/785-hp-hpux1x WARNING! If you wish to build 64-bit library then you have to invoke './Configure hpux64-parisc2-cc' *manually*. Configuring for hpux-parisc2-cc Configuring for hpux-parisc2-cc IsWindows=0 CC =cc CFLAG =-DOPENSSL_THREADS -D_REENTRANT -DDSO_DL -DOPENSSL_NO_KRB5 -D_REENTRANT +DA2.0 +DS2.0 +O 3 +Optrs_strongly_typed -Ae +ESlit -DB_ENDIAN -DMD32_XARRAY EX_LIBS =-Wl,+cdp,../:,+cdp,./:,+s,+b,$(INSTALLTOP)/lib -ldld BN_ASM =asm/pa-risc2.o DES_ENC =des_enc.o fcrypt_b.o BF_ENC =bf_enc.o CAST_ENC =c_enc.o RC4_ENC =rc4_enc.o RC5_ENC =rc5_enc.o MD5_OBJ_ASM = SHA1_OBJ_ASM = RMD160_OBJ_ASM= PROCESSOR = RANLIB =/usr/bin/ranlib ARFLAGS = PERL =/usr/local/bin/perl SIXTY_FOUR_BIT mode DES_RISC1 used DES_UNROLL used DES_INT used RC4 uses uchar RC4_INDEX mode RC4_CHUNK is undefined MD2 uses uchar created directory `include/openssl' ... ------------------------------------------------------------------------------- x.make (tail -51 x.make) Notes 1. Re: "cc: warning 422: Unknown option "-nostdlib" ignored." Looks like the fips-1.0/Makefile is configured to use gcc since it includes the gcc "-nostdlib" option in "set -x; $(CC) $(CFLAGS) -r -nostdlib -o $@ $$objs ; \. The HP-C compiler (not bundled one) doesn't have the -nostdlib option. ------------------------------------------------------------------------------- ... cc: warning 422: Unknown option "-nostdlib" ignored. /usr/ccs/bin/ld: (Warning) Shared library /usr/lib/libc.sl referenced during relocatable link - ignore d sha/fips_standalone_sha1 fipscanister.o > fipscanister.o.sha1 exdel=""; \ for i in ../crypto/aes/aes_cbc.o ../crypto/aes/aes_cfb.o ../crypto/aes/aes_ecb.o ../crypto/ aes/aes_ofb.o ../crypto/asn1/a_bitstr.o ../crypto/asn1/a_bytes.o ../crypto/asn1/a_dup.o ../crypto/ asn1/a_int.o ../crypto/asn1/a_object.o ../crypto/asn1/asn1_err.o ../crypto/asn1/asn1_lib.o ../cryp to/asn1/a_type.o ../crypto/asn1/evp_asn1.o ../crypto/asn1/tasn_dec.o ../crypto/asn1/tasn_enc.o ../ crypto/asn1/tasn_fre.o ../crypto/asn1/tasn_new.o ../crypto/asn1/tasn_typ.o ../crypto/asn1/tasn_utl. o ../crypto/asn1/t_pkey.o ../crypto/asn1/x_algor.o ../crypto/asn1/x_bignum.o ../crypto/asn1/x_long .o ../crypto/asn1/x_sig.o ../crypto/bio/bio_err.o ../crypto/bio/bio_lib.o ../crypto/bio/b_print.o ../crypto/bio/bss_file.o ../crypto/bn/bn_add.o ../crypto/bn/bn_blind.o ../crypto/bn/bn_ctx.o ../c rypto/bn/bn_div.o ../crypto/bn/bn_err.o ../crypto/bn/bn_exp2.o ../crypto/bn/bn_exp.o ../crypto/bn/ bn_gcd.o ../crypto/bn/bn_lib.o ../crypto/bn/bn_mod.o ../crypto/bn/bn_mont.o ../crypto/bn/bn_mul.o ../crypto/bn/bn_prime.o ../crypto/bn/bn_print.o ../crypto/bn/bn_rand.o ../crypto/bn/bn_recp.o ../ crypto/bn/bn_shift.o ../crypto/bn/bn_sqr.o ../crypto/bn/bn_word.o ../crypto/bn/bn_x931p.o ../crypt o/buffer/buf_err.o ../crypto/buffer/buffer.o ../crypto/conf/conf_err.o ../crypto/cpt_err.o ../cryp to/cryptlib.o ../crypto/des/cfb64ede.o ../crypto/des/cfb64enc.o ../crypto/des/cfb_enc.o ../crypto/ des/des_enc.o ../crypto/des/ecb3_enc.o ../crypto/des/ecb_enc.o ../crypto/des/ofb64ede.o ../crypto/ des/ofb64enc.o ../crypto/dh/dh_err.o ../crypto/dh/dh_lib.o ../crypto/dsa/dsa_asn1.o ../crypto/dsa/ dsa_err.o ../crypto/dsa/dsa_lib.o ../crypto/dsa/dsa_sign.o ../crypto/dsa/dsa_vrf.o ../crypto/dso/d so_err.o ../crypto/ec/ec_err.o ../crypto/engine/eng_err.o ../crypto/engine/eng_init.o ../crypto/en gine/eng_lib.o ../crypto/engine/eng_list.o ../crypto/engine/eng_table.o ../crypto/engine/tb_cipher. o ../crypto/engine/tb_dh.o ../crypto/engine/tb_digest.o ../crypto/engine/tb_dsa.o ../crypto/engine /tb_rand.o ../crypto/engine/tb_rsa.o ../crypto/err/err_all.o ../crypto/err/err.o ../crypto/err/err _prn.o ../crypto/evp/digest.o ../crypto/evp/e_aes.o ../crypto/evp/e_des3.o ../crypto/evp/e_des.o ../crypto/evp/evp_enc.o ../crypto/evp/evp_err.o ../crypto/evp/evp_lib.o ../crypto/evp/m_sha1.o ../ crypto/evp/p_lib.o ../crypto/evp/p_sign.o ../crypto/evp/p_verify.o ../crypto/ex_data.o ../crypto/l hash/lhash.o ../crypto/mem_clr.o ../crypto/mem_dbg.o ../crypto/mem.o ../crypto/objects/obj_dat.o ../crypto/objects/obj_err.o ../crypto/objects/obj_lib.o ../crypto/ocsp/ocsp_err.o ../crypto/pem/pem _err.o ../crypto/pkcs12/pk12err.o ../crypto/pkcs7/pkcs7err.o ../crypto/rand/md_rand.o ../crypto/ra nd/rand_egd.o ../crypto/rand/rand_err.o ../crypto/rand/randfile.o ../crypto/rand/rand_lib.o ../cry pto/rand/rand_os2.o ../crypto/rand/rand_unix.o ../crypto/rand/rand_win.o ../crypto/rsa/rsa_err.o . ./crypto/rsa/rsa_lib.o ../crypto/rsa/rsa_none.o ../crypto/rsa/rsa_oaep.o ../crypto/rsa/rsa_pk1.o . ./crypto/rsa/rsa_pss.o ../crypto/rsa/rsa_sign.o ../crypto/rsa/rsa_ssl.o ../crypto/rsa/rsa_x931.o . ./crypto/stack/stack.o ../crypto/uid.o ../crypto/ui/ui_err.o ../crypto/x509v3/v3err.o ../crypto/x5 09v3/v3_hex.o ../crypto/x509/x509_err.o asm/pa-risc2.o;\ do \ exdel="$exdel "`basename $i`""; \ done ; \ ar d ../libcrypto.a $exdel ar r ../libcrypto.a fipscanister.o /usr/bin/ranlib ../libcrypto.a || echo Never mind. cc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DL -DOPENSSL_NO_KRB5 -D_REENTRAN T +DA2.0 +DS2.0 +O3 +Optrs_strongly_typed -Ae +ESlit -DB_ENDIAN -DMD32_XARRAY -DHMAC_EXT=\"${HMAC_EXT: -sha1}\" -DFINGERPRINT_PREMAIN_DSO_LOAD -o fips_premain_dso fips_premain.c \ ../libcrypto.a -Wl,+cdp,../:,+cdp,./:,+s,+b,/usr/local/ssl/lib -ldld /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (fips_premain.o) was detected. The linked o utput may not run on a PA 1.x system. /usr/ccs/bin/ld: Duplicate symbol "$global$" in files /opt/langtools/lib/crt0.o and ../libcrypto.a(fip scanister.o) /usr/ccs/bin/ld: Duplicate symbol "$START$" in files /opt/langtools/lib/crt0.o and ../libcrypto.a(fips canister.o) /usr/ccs/bin/ld: Duplicate symbol "$ARGV" in files /opt/langtools/lib/crt0.o and ../libcrypto.a(fipsca nister.o) /usr/ccs/bin/ld: Duplicate symbol "_environ" in files /opt/langtools/lib/crt0.o and ../libcrypto.a(fip scanister.o) /usr/ccs/bin/ld: Duplicate symbol "_CPU_REVISION" in files /opt/langtools/lib/crt0.o and ../libcrypto. a(fipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "_CPU_KEYBITS_1" in files /opt/langtools/lib/crt0.o and ../libcrypto .a(fipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "_FPU_MODEL" in files /opt/langtools/lib/crt0.o and ../libcrypto.a(f ipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "_mcount" in files /opt/langtools/lib/crt0.o and ../libcrypto.a(fips canister.o) /usr/ccs/bin/ld: Duplicate symbol "_clear_counters" in files /opt/langtools/lib/crt0.o and ../libcrypt o.a(fipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "_sr4export" in files /opt/langtools/lib/crt0.o and ../libcrypto.a(f ipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "__d_trap" in files /opt/langtools/lib/crt0.o and ../libcrypto.a(fip scanister.o) /usr/ccs/bin/ld: Duplicate symbol "$UNWIND_START" in files /opt/langtools/lib/crt0.o and ../libcrypto. a(fipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "$UNWIND_END" in files /opt/langtools/lib/crt0.o and ../libcrypto.a( fipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "$RECOVER_START" in files /opt/langtools/lib/crt0.o and ../libcrypto .a(fipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "$RECOVER_END" in files /opt/langtools/lib/crt0.o and ../libcrypto.a (fipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "__dld_flags" in files /opt/langtools/lib/crt0.o and ../libcrypto.a( fipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "__dld_hook" in files /opt/langtools/lib/crt0.o and ../libcrypto.a(f ipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "__dld_list" in files /opt/langtools/lib/crt0.o and ../libcrypto.a(f ipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "_SYSTEM_ID" in files /opt/langtools/lib/crt0.o and ../libcrypto.a(f ipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "_FPU_REVISION" in files /opt/langtools/lib/crt0.o and ../libcrypto. a(fipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "__d_trap_fptr" in files /opt/langtools/lib/crt0.o and ../libcrypto. a(fipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "$PFA_C_START" in files /opt/langtools/lib/crt0.o and ../libcrypto.a (fipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "$PFA_C_END" in files /opt/langtools/lib/crt0.o and ../libcrypto.a(f ipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "___init_start" in files /opt/langtools/lib/crt0.o and ../libcrypto. a(fipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "___fini_start" in files /opt/langtools/lib/crt0.o and ../libcrypto. a(fipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "___init_len" in files /opt/langtools/lib/crt0.o and ../libcrypto.a( fipscanister.o) /usr/ccs/bin/ld: Duplicate symbol "___fini_len" in files /opt/langtools/lib/crt0.o and ../libcrypto.a( fipscanister.o) /usr/ccs/bin/ld: Found 27 duplicate symbol(s) *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop.