Hi, Richard 

I am trying to compile openssl 0.9.8 on Ultra-SPARC chip. The gcc that I have 
is gcc3.3.2 which I downloaded from Sunfreeware.com web site. Thanks.

Ryan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Stella
Sent: Thursday, July 28, 2005 3:23 PM
To: openssl-users@openssl.org
Subject: Re: Openssl 0.9.8 compilation options


Went thru this last night...

See the PROBLEMS file, as is still happening with Solaris 10 on x86 INTEL.  It 
does not happen on x86 AMD64 though.

Download http://www.openssl.org/~appro/values.c
and then patch your GCC installed with

ksh -f values.c

Then start all over...  BTW, this is with Sun's stock GCC version 3.4.3 (in 
/usr/sfw)

Ruiyuan Jiang wrote:

>Hi, all
>
>I'd like to compile Openssl 0.9.8 on Solaris 10. If I strictly use the 
>default options, whole thing is a success. Now I want to use openssl 
>for mod_ssl and apache. According to mod_ssl's documentation, mod_ssl
>(v2.8.23-1.3.33) recommends to use the following option to compile 
>openssl
>
>./config no-threads -fPIC
>./make
>./make test
>
>I followed mod_ssl's recommendation. The 'config' and 'make' phase 
>passed no problem but 'make test' failed (Note I don't have problems 
>with any version of openssl_0.9.7):
>
># make test
>Doing certs
>argena.pem => cdd7aee7.0
>argeng.pem => aad3d04d.0
>eng1.pem => 7a9820c1.0
>eng2.pem => 56e607f4.0
>eng3.pem => 878cf4c6.0
>eng4.pem => a3c60019.0
>eng5.pem => 843b6c51.0
>RegTP-5R.pem => d4e39186.0
>RegTP-6R.pem => 1e49180d.0
>thawteCb.pem => ddc328ff.0
>thawteCp.pem => c33a80d4.0
>wellsfgo.pem => 6adf0799.0
>vsign1.pem => 2edf7016.0
>vsign3.pem => 7651b327.0
>vsignss.pem => f73e89fd.0
>touch rehash.time
>testing...
>making all in crypto...
>making all in crypto/objects...
>making all in crypto/md2...
>making all in crypto/md4...
>making all in crypto/md5...
>making all in crypto/sha...
>making all in crypto/hmac...
>making all in crypto/ripemd...
>making all in crypto/des...
>making all in crypto/aes...
>making all in crypto/rc2...
>making all in crypto/rc4...
>making all in crypto/idea...
>making all in crypto/bf...
>making all in crypto/cast...
>making all in crypto/bn...
>making all in crypto/ec...
>making all in crypto/rsa...
>making all in crypto/dsa...
>making all in crypto/ecdsa...
>making all in crypto/dh...
>making all in crypto/ecdh...
>making all in crypto/dso...
>making all in crypto/engine...
>making all in crypto/buffer...
>making all in crypto/bio...
>making all in crypto/stack...
>making all in crypto/lhash...
>making all in crypto/rand...
>making all in crypto/err...
>making all in crypto/evp...
>making all in crypto/asn1...
>making all in crypto/pem...
>making all in crypto/x509...
>making all in crypto/x509v3...
>making all in crypto/conf...
>making all in crypto/txt_db...
>making all in crypto/pkcs7...
>making all in crypto/pkcs12...
>making all in crypto/comp...
>making all in crypto/ocsp...
>making all in crypto/ui...
>making all in crypto/krb5...
>making all in crypto/store...
>making all in crypto/pqueue...
>if [ -n "" ]; then \
>        (cd ..; make libcrypto.so.0.9.8); \ fi making all in ssl...
>if [ -n "" ]; then \
>        (cd ..; make libssl.so.0.9.8); \ fi making all in engines...
>making all in apps...
>making all in test...
>making all in tools...
>../util/shlib_wrap.sh ./destest
>Doing cbcm
>*** Signal 11 - core dumped
>make: Fatal error: Command failed for target `test_des'
>Current working directory /export/home/rc6/openssl-0.9.8/test
>*** Error code 1
>The following command caused the error:
>(cd test && echo "testing..." && \
>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-sparcv9-gcc'
>PROCESSOR=''  CC='gcc' CFLAG='-DDSO_DLFCN -DHAVE_DLFCN_H -fPIC -m32 
>-mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W
>-DMD5_ASM'                          AS='gcc' ASFLAG='-DDSO_DLFCN
>-DHAVE_DLFCN_H -fPIC -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer
>-Wall -DB_ENDIAN -DBN_DIV2W -DMD5_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='/opt/openssl/lib'      INSTALL_PREFIX=''
>INSTALLTOP='/opt/openssl' OPENSSLDIR='/opt/openssl/ssl'
>MAKEDEPEND='$${TOP}/util/domd $${TOP} -MD gcc'
>DEPFLAG='-DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_GMP -DOPENSSL_NO_MDC2
>-DOPENSSL_NO_RC5'   MAKEDEPPROG='gcc'
>SHARED_LDFLAGS='-shared'                KRB5_INCLUDES='' LIBKRB5=''
>EXE_EXT='' SHARED_LIBS=''       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-sparc.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' RC5_ENC='rc5_enc.o'         SHA1_ASM_OBJ=''
>MD5_ASM_OBJ='md5-sparcv8plus.o'
>RMD160_ASM_OBJ=''               THIS=${THIS:-tests} MAKEFILE=Makefile
>MAKEOVERRIDES= TOP=.. TESTS='alltests' OPENSSL_DEBUG_MEMORY=on tests );
>make: Fatal error: Command failed for target `tests'
>#
>
>
>Thanks in advance.
>
>Ryan
>______________________________________________________________________
>OpenSSL Project                                 http://www.openssl.org
>User Support Mailing List                    openssl-users@openssl.org
>Automated List Manager                           [EMAIL PROTECTED]
>
>  
>

-- 

°(((=((===°°°(((===========================================

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

Reply via email to