Error with openssl-0.9.8za compilation.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error with openssl-0.9.8za compilation.

Teli, Sunil

HI,

 

I am trying to compile openssl-0.9.8za but it is giving the below compilation errors. I could not find the definition for the INT_MAX.

 

Machine used for compilation “SunOS sparc”.

 

 

cc: Warning: -xarch=v8plus is deprecated, use -m32 -xarch=sparc instead

"s3_pkt.c", line 536: undefined symbol: INT_MAX

cc: acomp failed for s3_pkt.c

*** Error code 2

make: Fatal error: Command failed for target `s3_pkt.o'

Current working directory /home/steli/ACE/OpenSSL_Versions/openssl-0.9.8za/ssl

*** Error code 1

The following command caused the error:

dir=ssl; target=all; if echo " crypto ssl engines apps test tools " | grep " $dir " >/dev/null 2>/dev/null; then  if [ -d "$dir" ]; then  (     [ $target != all -a -z "" ] && FIPSCANLIB=/dev/null;  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='debug-solaris-sparcv9-cc' PROCESSOR=''  CC='cc' CFLAG='-KPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG_ALL -xtarget=ultra -xarch=v8plus -g -O -xstrconst -Xa -DB_ENDIAN -DBN_DIV2W'                          AS='cc' ASFLAG='-KPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG_ALL -xtarget=ultra -xarch=v8plus -g -O -xstrconst -Xa -DB_ENDIAN -DBN_DIV2W -c'                   AR='ar  r' PERL='/usr/local/bin/perl5' 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/lib'        INSTALL_PREFIX=''               INSTALLTOP='/usr/local/ssl' OPENSSLDIR='/usr/local/ssl'         LIBDIR='lib'  MAKEDEPEND='$${TOP}/util/domd $${TOP} -MD makedepend'  DEPFLAG='-DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_CAPIENG -DOPENSSL_NO_CMS -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SEED'    MAKEDEPPROG='makedepend'                        SHARED_LDFLAGS='-G -dy -z text'                 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=''     BN_ASM='sparcv8plus.o' DES_ENC='des_enc.o fcrypt_b.o'    AES_ASM_OBJ='aes_core.o aes_cbc.o'                      BF_ENC='bf_enc.o' CAST_ENC='c_enc.o'    RC4_ENC='rc4_enc.o rc4_skey.o' RC5_ENC='rc5_enc.o'        SHA1_ASM_OBJ=''                         MD5_ASM_OBJ=''                  RMD160_ASM_OBJ=''               FIPSLIBDIR='/usr/local/ssl/fips-1.0/lib/' FIPSCANLIB="${FIPSCANLIB:-}"    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_ssl} MAKEFILE=Makefile MAKEOVERRIDES= TOP=.. DIR=$dir $target  ) || exit 1;  fi;  fi

make: Fatal error: Command failed for target `build_ssl'

 

Thank You

Regards,

 

Sunil T

 

Reply | Threaded
Open this post in threaded view
|

RE: Error with openssl-0.9.8za compilation.

Scott Neugroschl-2
Sunil wrote:
> I am trying to compile openssl-0.9.8za but it is giving the below compilation errors. I could not find the definition for the INT_MAX.

It's listed as a known issue in the 0.9.8za release notes.   You need to #include <limits.h>.   It's fixed in the dev branch for 0.9.8zb.



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [hidden email]
Automated List Manager                           [hidden email]