installation problem on openssl 0.9.8a to solaris 10 x86 intel under virtual pc

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

installation problem on openssl 0.9.8a to solaris 10 x86 intel under virtual pc

Kiyoshi Watanabe
Hi team,
 
I got encountered the following error when I installed the openssl 0.9.8a to solaris 10 intel box under virtual pc.
>./Configure solaris-x86-gcc
> make
 
--------------------------
.....
.....
.....
gcc -I.. -I../.. -I../../include -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 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_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 /home/kiyoshi/tmp/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 /home/kiyoshi/tmp/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-x86-gcc' PROCESSOR=''  CC='gcc' CFLAG='-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 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM'                   AS='gcc' ASFLAG='-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 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -c'  AR='ar  r' PERL='/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/lib'  INSTALL_PREFIX=''               INSTALLTOP='/usr/local/ssl' OPENSSLDIR='/usr/local/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='x86cpuid-elf.o'               BN_ASM='bn86-elf.o co86-elf.o' DES_ENC='dx86-elf.o yx86-elf.o'   AES_ASM_OBJ='ax86-elf.o'                 BF_ENC='bx86-elf.o' CAST_ENC='cx86-elf.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'               THIS=${THIS:-build_crypto} MAKEFILE=Makefile MAKEOVERRIDES= TOP=.. DIR=$dir $target  ) || exit 1;  fi
make: Fatal error: Command failed for target `build_crypto'
 
--------------------------------------------------------------
 
I would very appreciate if you could give me any work around.
 
 
+Kiyoshi
Kiyoshi Watanabe