I'm having the following error while installing openssl.... Please help me resolve this issue Thanks, Shahzad # make + rm -f libcrypto.so.0 + rm -f libcrypto.so + rm -f libcrypto.so.0.9.6 + rm -f libssl.so.0 + rm -f libssl.so + rm -f libssl.so.0.9.6 making all in crypto... ( echo "#ifndef MK1MF_BUILD"; \ echo " /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */"; \ echo " #define CFLAGS \"gcc -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN\""; \ echo " #define PLATFORM \"debug-solaris-sparcv9-gcc\""; \ echo " #define DATE \"`date`\""; \ echo "#endif" ) >buildinf.h gcc -I. -I../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c cryptlib.c gcc -I. -I../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c mem.c gcc -I. -I../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c mem_dbg.c gcc -I. -I../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c cversion.c gcc -I. -I../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c ex_data.c gcc -I. -I../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c tmdiff.c ar r ../libcrypto.a cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o tmdiff.o cpt_err.o ebcdic.o uid.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../libcrypto.a making all in crypto/md2... gcc -I.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c md2_dgst.c gcc -I.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c md2_one.c ar r ../../libcrypto.a md2_dgst.o md2_one.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../../libcrypto.a making all in crypto/md4... gcc -I.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c md4_dgst.c ar r ../../libcrypto.a md4_dgst.o md4_one.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../../libcrypto.a making all in crypto/md5... gcc -I.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c md5_dgst.c ar r ../../libcrypto.a md5_dgst.o md5_one.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../../libcrypto.a making all in crypto/sha... gcc -I.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c sha_dgst.c gcc -I.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c sha1dgst.c ar r ../../libcrypto.a sha_dgst.o sha1dgst.o sha_one.o sha1_one.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../../libcrypto.a making all in crypto/mdc2... gcc -I.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c mdc2dgst.c gcc -I.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c mdc2_one.c ar r ../../libcrypto.a mdc2dgst.o mdc2_one.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../../libcrypto.a making all in crypto/hmac... gcc -I.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c hmac.c ar r ../../libcrypto.a hmac.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../../libcrypto.a making all in crypto/ripemd... gcc -I.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c rmd_dgst.c ar r ../../libcrypto.a rmd_dgst.o rmd_one.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../../libcrypto.a making all in crypto/des... gcc -I.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c set_key.c gcc -I.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c ecb_enc.c gcc -I.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c cbc_enc.c /usr/ccs/bin/as: "/var/tmp/cc0jkpax.s", line 766: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/cc0jkpax.s", line 766: error: statement syntax /usr/ccs/bin/as: "/var/tmp/cc0jkpax.s", line 777: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/cc0jkpax.s", line 777: error: statement syntax /usr/ccs/bin/as: "/var/tmp/cc0jkpax.s", line 778: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/cc0jkpax.s", line 778: error: statement syntax /usr/ccs/bin/as: "/var/tmp/cc0jkpax.s", line 789: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/cc0jkpax.s", line 789: error: statement syntax *** Error code 1 make: Fatal error: Command failed for target `cbc_enc.o' Current working directory /tmp/openssl/openssl-0.9.6b/crypto/des *** Error code 1 make: Fatal error: Command failed for target `subdirs' Current working directory /tmp/openssl/openssl-0.9.6b/crypto *** Error code 1 make: Fatal error: Command failed for target `sub_all' <<testlog.txt>>
OpenSSL self-test report: OpenSSL version: 0.9.6b Last change: Change ssleay_rand_bytes (crypto/rand/md_rand.c)... Options: no-asm OS (uname): SunOS sdbk1 5.8 Generic_108528-10 sun4u sparc SUNW,Ultra-250 OS (config): sun4u-whatever-solaris2 Target (default): solaris-sparcv9-gcc Target: debug-solaris-sparcv9-gcc Compiler: Configured with: ../configure --with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld --enable-libgcj Thread model: posix gcc version 3.0.1 Failure! ----------------------------------------------------------------------------- + rm -f libcrypto.so.0 + rm -f libcrypto.so + rm -f libcrypto.so.0.9.6 + rm -f libssl.so.0 + rm -f libssl.so + rm -f libssl.so.0.9.6 making all in crypto... ar r ../libcrypto.a cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o tmdiff.o cpt_err.o ebcdic.o uid.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../libcrypto.a making all in crypto/md2... ar r ../../libcrypto.a md2_dgst.o md2_one.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../../libcrypto.a making all in crypto/md4... ar r ../../libcrypto.a md4_dgst.o md4_one.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../../libcrypto.a making all in crypto/md5... ar r ../../libcrypto.a md5_dgst.o md5_one.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../../libcrypto.a making all in crypto/sha... ar r ../../libcrypto.a sha_dgst.o sha1dgst.o sha_one.o sha1_one.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../../libcrypto.a making all in crypto/mdc2... ar r ../../libcrypto.a mdc2dgst.o mdc2_one.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../../libcrypto.a making all in crypto/hmac... ar r ../../libcrypto.a hmac.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../../libcrypto.a making all in crypto/ripemd... ar r ../../libcrypto.a rmd_dgst.o rmd_one.o You may get an error following this line. Please ignore. /usr/ccs/bin/ranlib ../../libcrypto.a making all in crypto/des... gcc -I.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c cbc_enc.c /usr/ccs/bin/as: "/var/tmp/ccWEUyUf.s", line 766: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/ccWEUyUf.s", line 766: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccWEUyUf.s", line 777: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/ccWEUyUf.s", line 777: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccWEUyUf.s", line 778: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/ccWEUyUf.s", line 778: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccWEUyUf.s", line 789: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/ccWEUyUf.s", line 789: error: statement syntax *** Error code 1 make: Fatal error: Command failed for target `cbc_enc.o' Current working directory /tmp/openssl/openssl-0.9.6b/crypto/des *** Error code 1 make: Fatal error: Command failed for target `subdirs' Current working directory /tmp/openssl/openssl-0.9.6b/crypto *** Error code 1 make: Fatal error: Command failed for target `sub_all' Current working directory /tmp/openssl/openssl-0.9.6b ----------------------------------------------------------------------------- testing... gcc -I../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN -c bntest.c gcc -o bntest -I../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_ASM -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN bntest.o -L.. -lcrypto -lsocket -lnsl -ldl Undefined first referenced symbol in file BN_lshift1 bntest.o ERR_error_string bntest.o BN_mod bntest.o BN_mod_mul bntest.o BN_CTX_init bntest.o BN_bin2bn bntest.o BN_RECP_CTX_init bntest.o BN_mul bntest.o BN_new bntest.o BN_exp bntest.o BN_RECP_CTX_set bntest.o ERR_print_errors_fp bntest.o RAND_seed bntest.o BN_add_word bntest.o BN_rshift1 bntest.o BN_lshift bntest.o BN_MONT_CTX_free bntest.o BN_from_montgomery bntest.o BIO_puts bntest.o BIO_ctrl bntest.o BN_mod_mul_montgomery bntest.o BN_CTX_new bntest.o BN_set_word bntest.o BN_MONT_CTX_set bntest.o BIO_s_file bntest.o BN_CTX_free bntest.o BN_set_bit bntest.o BN_sqr bntest.o BN_free bntest.o BN_bntest_rand bntest.o BN_sub bntest.o BN_div bntest.o BN_rshift bntest.o BIO_new bntest.o BN_copy bntest.o BN_div_recp bntest.o BN_print bntest.o BIO_free bntest.o BN_add bntest.o BN_print_fp bntest.o BN_init bntest.o ERR_load_crypto_strings bntest.o BN_MONT_CTX_new bntest.o BN_RECP_CTX_free bntest.o ERR_get_error bntest.o BN_mod_exp bntest.o ld: fatal: Symbol referencing errors. No output written to bntest collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `bntest' Current working directory /tmp/openssl/openssl-0.9.6b/test *** Error code 1 make: Fatal error: Command failed for target `tests' Current working directory /tmp/openssl/openssl-0.9.6b -----------------------------------------------------------------------------