Hello
    I am a novice at this so I am looking for some assistance. I am trying
to build the fips-1.2 module on a SUN x86 server running Solaris 10 64-bit.
I tried the standard config program but got the following msg. from make.

# ./config fips
Operating system: i86pc-whatever-solaris2
Configuring for solaris64-x86_64-gcc
Configuring for solaris64-x86_64-gcc
    no-camellia     [default]  OPENSSL_NO_CAMELLIA (skip dir).
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
    no-mdc2         [default]  OPENSSL_NO_MDC2 (skip dir)
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir))
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
    no-seed         [default]  OPENSSL_NO_SEED (skip dir)
    no-zlib         [default]
    no-zlib-dynamic [default]
.....
generating dummy tests (if needed)...

Configured for solaris64-x86_64-gcc..
## make
if [ -n "libcrypto" ]; then \
...
cryptlib.c:1: sorry, unimplemented: 64-bit mode not compiled in
*** Error code 1
make: Fatal error: Command failed for target `cryptlib.o'
Current working directory /usr/local/openssl-fips-1.2/crypto
*** Error code 1
make: Fatal error: Command failed for target `build_crypto'
#

Next I tried the generic platform and it failed also , but did run a good
bit longer. I edited out a lot of the output and only kept the error msgs.

# ./Configure solaris-x86-gcc fips
Configuring for solaris-x86-gcc
...
generating dummy tests (if needed)...

Configured for solaris-x86-gcc.
#
#make
...
making all in fips...
make: Fatal error: Don't know how to make target
`/usr/local/ssl/lib/fips-1.0/fipscanister.o'
Current working directory /usr/local/openssl-fips-1.2/fips
*** Error code 1
The following command caused the error:
if [ -z "/usr/local/ssl/lib/fips-1.0/" ]; then \
        make -e subdirs lib fips_premain_dso; \
else \
        make -e lib fips_premain_dso fips_standalone_sha1; \
fi
make: Fatal error: Command failed for target `all'
Current working directory /usr/local/openssl-fips-1.2/fips
*** Error code 1
The following command caused the error:
dir=fips; target=all; [ -z "libcrypto" ] || if echo " crypto fips ssl
engines apps test tools " | grep " $dir " >/dev/null 2>/dev/null; then  if
[ -d "$dir" ]; then  (  cd $dir && echo "making $target in $dir..." &&
TOP= && unset TOP ${LIB+LIB} ${LIBS+LIBS ${INCLUDE+INCLUDE} ${INCLUDES
+INCLUDES}  ${DIR+DIR} ${DIRS+DIRS} ${SRC+SRC}              ${LIBSRC
+LIBSRC} ${LIBOBJ+LIBOBJ} ${ALL+ALL}     ${EXHEADER+EXHEADER} ${HEADER
+HEADER}           ${GENERAL+GENERAL} ${CFLAGS+CFLAGS}             $
{ASFLAGS+ASFLAGS} ${AFLAGS+AFLAGS}              ${LDCMD+LDCMD} ${LDFLAGS
+LDFLAGS}               ${SHAREDCMD+SHAREDCMD} ${SHAREDFLAGS+SHAREDFLAGS} $
{SHARED_LIB+SHARED_LIB} ${LIBEXTRAS+LIBEXTRAS} && make -e
PLATFORM='solaris-x86-gcc' PROCESSOR=''  CC='gcc' CFLAG='-fPIC
-DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3
-fomit-frame-pointer -march=pentium -Wall -DL_ENDIAN
-DOPENSSL_NO_INLINE_ASM -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2
-DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM'
AS='gcc' ASFLAG='-fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -march=pentium -Wall
-DL_ENDIAN -DOPENSSL_NO_INLINE_ASM -DOPENSSL_BN_ASM_PART_WORDS
-DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
-DAES_ASM -c'                     AR='ar  r' PERL='/usr/bin/perl'
RANLIB='/usr/ccs/bin/ranlib'     SDIRS='objects  md2 md4 md5 sha hmac
ripemd  des aes rc2 rc4 idea bf cast  bn ec rsa dsa ecdsa dh ecdh dso
engine  buffer bio stack lhash rand err  evp asn1 pem x509 x509v3 conf
txt_db pkcs7 pkcs12 comp ocsp ui krb5  store pqueue'
LIBRPATH='/usr/local/ssl/fips-1.0/lib'     INSTALL_PREFIX=''
INSTALLTOP='/usr/local/ssl/fips-1.0' OPENSSLDIR='/usr/local/ssl/fips-1.0'
MAKEDEPEND='$${TOP}/util/domd $${TOP} -MD gcc'
DEPFLAG='-DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_GMP
-DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SEED'
MAKEDEPPROG='gcc' SHARED_LDFLAGS='-shared'                 KRB5_INCLUDES=''
LIBKRB5=''     EXE_EXT='' SHARED_LIBS=' libcrypto.so.0.9.8 libssl.so.0.9.8'
SHLIB_EXT='.so.0.9.8' SHLIB_TARGET='solaris-shared'     PEX_LIBS=''
EX_LIBS='-lsocket -lnsl -ldl'       CPUID_OBJ='x86cpuid-elf.o'
BN_ASM='bn86-elf.o co86-elf.o mo86-elf.o' DES_ENC='dx86-elf.o yx86-elf.o'
AES_ASM_OBJ='ax86-elf.o'                         BF_ENC='bx86-elf.o'
CAST_ENC='c_enc.o'  RC4_ENC='rx86-elf.o' RC5_ENC='r586-elf.o'
SHA1_ASM_OBJ='sx86-elf.o s512sse2-elf.o'
MD5_ASM_OBJ='mx86-elf.o'                        RMD160_ASM_OBJ='rm86-elf.o'
FIPSLIBDIR='/usr/local/ssl/lib/fips-1.0/' FIPSCANLIB='libcrypto'
FIPSCANISTERINTERNAL='n'
FIPS_EX_OBJ='../crypto/aes/aes_cfb.o  ../crypto/aes/aes_ecb.o  
../crypto/aes/aes_ofb.o  ../crypto/bn/bn_add.o  ../crypto/bn/bn_blind.o  
../crypto/bn/bn_ctx.o  ../crypto/bn/bn_div.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_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  ../crypto/buffer/buf_str.o  ../crypto/cryptlib.o  
../crypto/des/cfb64ede.o  ../crypto/des/cfb64enc.o  ../crypto/des/cfb_enc.o  
../crypto/des/ecb3_enc.o  ../crypto/des/ecb_enc.o  ../crypto/des/ofb64ede.o  
../crypto/des/ofb64enc.o  ../crypto/des/fcrypt.o  ../crypto/des/set_key.o  
../crypto/dsa/dsa_utl.o  ../crypto/dsa/dsa_sign.o  ../crypto/dsa/dsa_vrf.o  
../crypto/err/err.o  ../crypto/evp/digest.o  ../crypto/evp/enc_min.o  
../crypto/evp/e_aes.o  ../crypto/evp/e_des3.o  ../
 crypto/evp/p_sign.o  ../crypto/evp/p_verify.o  ../crypto/mem_clr.o  
../crypto/mem.o  ../crypto/rand/md_rand.o  ../crypto/rand/rand_egd.o  
../crypto/rand/randfile.o  ../crypto/rand/rand_lib.o  ../crypto/rand/rand_os2.o 
 ../crypto/rand/rand_unix.o  ../crypto/rand/rand_win.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_ssl.o  ../crypto/rsa/rsa_x931.o  
../crypto/sha/sha1dgst.o  ../crypto/sha/sha256.o  ../crypto/sha/sha512.o  
../crypto/uid.o'
        THIS=${THIS:-build_fips} MAKEFILE=Makefile MAKEOVERRIDES= TOP=..
DIR=$dir $target  ) || exit 1;  fi;  fi
make: Fatal error: Command failed for target `build_fips'

If more information is required please let me know.
Any help would be greatly appreciated.

Thanks
Stan



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

Reply via email to