openssl 0.9.8a install issue

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

openssl 0.9.8a install issue

Srini Naidu
Hi,

      I am   trying  to  install   openssl 0.9.8.a   on  solaris  10
platform  with  GNugcc 3.3.2  comipler.
I  keep  seeing    "make"  command"  failing.

Any  idea  what  causing  the  issue.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
$ pwd
/opt/ars/dump/openssl-0.9.8a
$ ./config --prefix=/opt/ars/SSL --openssldir=/opt/ars/SSL/openssl
Operating system: sun4us-whatever-solaris2
NOTICE! If you *know* that your GNU C supports 64-bit/V9 ABI
        and wish to build 64-bit library, then you have to
        invoke './Configure solaris64-sparcv9-gcc' *manually*.
         You have about 5 seconds to press Ctrl-C to abort.
Configuring for solaris-sparcv9-gcc
Configuring for solaris-sparcv9-gcc
    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-shared       [default]
    no-zlib         [default]
    no-zlib-dynamic [default]
--
--
making links in engines...
making links in apps...
making links in test...
making links in tools...
generating dummy tests (if needed)...

Configured for solaris-sparcv9-gcc.
$

$make
making all in crypto/bio...
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer
-Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM  -c  bio_lib.c

---
---
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer
-Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM  -c  bf_nbio.c
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer
-Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM  -c  bss_log.c
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer
-Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM  -c  bss_bio.c
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer
-Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM  -c  bss_dgram.c
ar  r ../../libcrypto.a bio_lib.o bio_cb.o bio_err.o  bss_mem.o bss_null.o
bss_fd.o  bss_file.o bss_sock.o bss_conn.o  bf_null.o bf_buff.o b_print.o
b_dump.o  b_sock.o bss_acpt.o bf_nbio.o bss_log.o bss_bio.o  bss_dgram.o
/usr/ccs/bin/ranlib ../../libcrypto.a || echo Never mind.
making all in crypto/stack...
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer
-Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM  -c  stack.c
ar  r ../../libcrypto.a stack.o
/usr/ccs/bin/ranlib ../../libcrypto.a || echo Never mind.
making all in crypto/lhash...
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer
-Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM  -c  lhash.c
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer
-Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM  -c  lh_stats.c
ar  r ../../libcrypto.a lhash.o lh_stats.o
/usr/ccs/bin/ranlib ../../libcrypto.a || echo Never mind.
making all in crypto/rand...
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer
-Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM  -c  md_rand.c



gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer
-Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM  -c  randfile.c
In file included from /usr/include/sys/wait.h:24,
                 from /usr/include/stdlib.h:22,
                 from randfile.c:64:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
In file included from /usr/include/sys/procset.h:24,
                 from /usr/include/sys/wait.h:25,
                 from /usr/include/stdlib.h:22,
                 from randfile.c:64:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from /usr/include/stdlib.h:22,
                 from randfile.c:64:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target `randfile.o'
Current working directory /apps/ars/dump/openssl-0.9.8a/crypto/rand
*** Error code 1
The following command caused the error:
target=all; [ -n "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" ] && for i in 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 ; do  (cd $i && echo
"making $target in crypto/$i..." &&  make -e TOP=../.. DIR=$i
INCLUDES='-I.. -I../.. -I../../include' $target ) || exit 1;  done;
make: Fatal error: Command failed for target `subdirs'
Current working directory /apps/ars/dump/openssl-0.9.8a/crypto
*** Error code 1
The following command caused the error:
dir=crypto; target=all; 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-sparcv9-gcc'
PROCESSOR=''  CC='gcc' CFLAG='-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall
-DB_ENDIAN -DBN_DIV2W -DMD5_ASM'                         AS='gcc'
ASFLAG='-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -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/ars/SSL/lib'      INSTALL_PREFIX=''
INSTALLTOP='/opt/ars/SSL' OPENSSLDIR='/opt/ars/SSL/openssl'
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:-build_crypto} MAKEFILE=Makefile MAKEOVERRIDES=
TOP=.. DIR=$dir $target  ) || exit 1;  fi
make: Fatal error: Command failed for target `build_crypto'
$



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Regards
Srini


--
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: openssl 0.9.8a install issue

Kyle Hamilton
On 1/30/06, Srini Naidu <[hidden email]> wrote:

> Hi,
>
>       I am   trying  to  install   openssl 0.9.8.a   on  solaris  10
> platform  with  GNugcc 3.3.2  comipler.
> I  keep  seeing    "make"  command"  failing.
>
> Any  idea  what  causing  the  issue.
> gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT
> -DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer
> -Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM  -c  randfile.c
> In file included from /usr/include/sys/wait.h:24,
>                  from /usr/include/stdlib.h:22,
>                  from randfile.c:64:
> /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
> /usr/include/sys/siginfo.h:292: error: parse error before '}' token
> /usr/include/sys/siginfo.h:294: error: parse error before '}' token

gcc is misconfigured.  Have your system administrator rebuild it and
(more importantly) remake its system header file fixups.

-Kyle H
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]