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

2005-11-26 Thread 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.cIn 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 '}' 
tokenIn 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 1make: Fatal error: Command failed for target 
`randfile.o'Current working directory 
/home/kiyoshi/tmp/openssl-0.9.8a/crypto/rand*** Error code 1The 
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 
1The 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; fimake: Fatal error: Command failed for 
target `build_crypto'

--

I would very appreciate if you could give 
meany work around.


+Kiyoshi
Kiyoshi 
Watanabe


Installation problem with OpenSSL

2003-03-28 Thread Anand Raghavan

Folks,
I am newbie in this forum and I am trying to install OpenSSL
(openssl-0.9.7a) on a Unixbox running SCO-Unixware 2.1.2

I have followed all the directions listed in the files for installation.

1.) Untarred the compressed file
2.) ./config -prefix=/home -openssldir=/home/openssl   (since I dont have a
/usr/local in my filesystem)
3.) make  (this is where my make fails)

-
if [  = hpux-shared -o  = darwin-shared ] ; then \
  cc -o
openssl -DMONOLITH -I.. -I../include  -DOPENSSL_THREADS -Kthread -DOPENSSL_N
O_KRB5 -prefix=/home -openssldir=/home/openssl -O -DFILIO_H openssl.o
verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o
errstr.o  ca.o pkcs7.o crl2p7.o crl.o  rsa.o rsautl.o dsa.o dsaparam.o
x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o  s_time.o apps.o
s_cb.o s_socket.o app_rand.o version.o sess_id.o  ciphers.o nseq.o pkcs12.o
pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o  ../libssl.a
 ../libcrypto.a -lsocket -lnsl -lresolv -lx ; \
else \
  cc -o
openssl -DMONOLITH -I.. -I../include  -DOPENSSL_THREADS -Kthread -DOPENSSL_N
O_KRB5 -prefix=/home -openssldir=/home/openssl -O -DFILIO_H openssl.o
verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o
errstr.o  ca.o pkcs7.o crl2p7.o crl.o  rsa.o rsautl.o dsa.o dsaparam.o
x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o  s_time.o apps.o
s_cb.o s_socket.o app_rand.o version.o sess_id.o  ciphers.o nseq.o pkcs12.o
pkcs8.o spkac.o smime.o rand.o engine.o
ocsp.o  -L.. -lssl  -L.. -lcrypto -lsocket -lnsl -lresolv -lx ; \
fi
UX:ld: ERROR:  fatal error: library not found: -lsocket
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.



Any info/help would be appreciated.

Thanks,
Anand

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


RE: Installation problem with OpenSSL

2003-03-28 Thread Anand Raghavan

Thanks!
I did that and it worked thanks.  But now it complains about

ld:ERROR: fatal error: library not found: -lthread

Thanks,
Anand

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Saju Paul
Sent: Friday, March 28, 2003 10:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Installation problem with OpenSSL


Try to locate the socket library on your system.  Define the path with
the -L switch.
Hope this helps.

Saju
- Original Message -
From: Anand Raghavan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 9:46 AM
Subject: Installation problem with OpenSSL



 Folks,
 I am newbie in this forum and I am trying to install OpenSSL
 (openssl-0.9.7a) on a Unixbox running SCO-Unixware 2.1.2

 I have followed all the directions listed in the files for installation.

 1.) Untarred the compressed file
 2.) ./config -prefix=/home -openssldir=/home/openssl   (since I dont have
a
 /usr/local in my filesystem)
 3.) make  (this is where my make fails)
 --
--
 -
 if [  = hpux-shared -o  = darwin-shared ] ; then \
   cc -o

openssl -DMONOLITH -I.. -I../include  -DOPENSSL_THREADS -Kthread -DOPENSSL_N
 O_KRB5 -prefix=/home -openssldir=/home/openssl -O -DFILIO_H openssl.o
 verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o
 errstr.o  ca.o pkcs7.o crl2p7.o crl.o  rsa.o rsautl.o dsa.o dsaparam.o
 x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o  s_time.o apps.o
 s_cb.o s_socket.o app_rand.o version.o sess_id.o  ciphers.o nseq.o
pkcs12.o
 pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o  ../libssl.a
  ../libcrypto.a -lsocket -lnsl -lresolv -lx ; \
 else \
   cc -o

openssl -DMONOLITH -I.. -I../include  -DOPENSSL_THREADS -Kthread -DOPENSSL_N
 O_KRB5 -prefix=/home -openssldir=/home/openssl -O -DFILIO_H openssl.o
 verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o
 errstr.o  ca.o pkcs7.o crl2p7.o crl.o  rsa.o rsautl.o dsa.o dsaparam.o
 x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o  s_time.o apps.o
 s_cb.o s_socket.o app_rand.o version.o sess_id.o  ciphers.o nseq.o
pkcs12.o
 pkcs8.o spkac.o smime.o rand.o engine.o
 ocsp.o  -L.. -lssl  -L.. -lcrypto -lsocket -lnsl -lresolv -lx ; \
 fi
 UX:ld: ERROR:  fatal error: library not found: -lsocket
 *** Error code 1 (bu21)
 UX:make: ERROR: fatal error.
 *** Error code 1 (bu21)
 UX:make: ERROR: fatal error.
 --
--
 

 Any info/help would be appreciated.

 Thanks,
 Anand

 __
 OpenSSL Project http://www.openssl.org
 User Support Mailing List[EMAIL PROTECTED]
 Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


RE: Installation problem with OpenSSL

2003-03-28 Thread Richard Koenning
At 10:54 28.03.2003 -0500, you wrote:

Thanks!
I did that and it worked thanks.  But now it complains about

ld:ERROR: fatal error: library not found: -lthread

Replace in Saju's answer socket with thread and repeat the procedure.
Ciao,
Richard
-- 
Dr. Richard W. Könning
Fujitsu Siemens Computers GmbH, EP LP COM 5
Phone/Fax: +49-89-636-47852 / 47655
E-Mail: [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


RE: Installation problem with OpenSSL

2003-03-28 Thread Anand Raghavan
I did a find on my system for thread* and found that the files libthread.so
and libthread.so.1 reside in /usr/lib

I included this line in the Makefile:
-L/usr/lib/lthread

and still I get the error message:
UX:ld: ERROR:  fatal error: library not found: -lthread

-Anand

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Richard Koenning
Sent: Friday, March 28, 2003 11:05 AM
To: [EMAIL PROTECTED]
Subject: RE: Installation problem with OpenSSL


At 10:54 28.03.2003 -0500, you wrote:

Thanks!
I did that and it worked thanks.  But now it complains about

ld:ERROR: fatal error: library not found: -lthread

Replace in Saju's answer socket with thread and repeat the procedure.
Ciao,
Richard
--
Dr. Richard W. Könning
Fujitsu Siemens Computers GmbH, EP LP COM 5
Phone/Fax: +49-89-636-47852 / 47655
E-Mail: [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


Re: Installation problem with OpenSSL

2003-03-28 Thread Saju Paul
- a '.so' is a shared object I think what you need to find is .a file

Saju
- Original Message -
From: Anand Raghavan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 11:41 AM
Subject: RE: Installation problem with OpenSSL


 I did a find on my system for thread* and found that the files
libthread.so
 and libthread.so.1 reside in /usr/lib

 I included this line in the Makefile:
 -L/usr/lib/lthread

 and still I get the error message:
 UX:ld: ERROR:  fatal error: library not found: -lthread

 -Anand

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Richard Koenning
 Sent: Friday, March 28, 2003 11:05 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Installation problem with OpenSSL


 At 10:54 28.03.2003 -0500, you wrote:
 
 Thanks!
 I did that and it worked thanks.  But now it complains about
 
 ld:ERROR: fatal error: library not found: -lthread

 Replace in Saju's answer socket with thread and repeat the procedure.
 Ciao,
 Richard
 --
 Dr. Richard W. Könning
 Fujitsu Siemens Computers GmbH, EP LP COM 5
 Phone/Fax: +49-89-636-47852 / 47655
 E-Mail: [EMAIL PROTECTED]

 __
 OpenSSL Project http://www.openssl.org
 User Support Mailing List[EMAIL PROTECTED]
 Automated List Manager   [EMAIL PROTECTED]

 __
 OpenSSL Project http://www.openssl.org
 User Support Mailing List[EMAIL PROTECTED]
 Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


Installation problem with OpenSSL..

2001-11-21 Thread Sujatha Mukunthan


Dear OpenSSL team,
 I am a user of "OpenSSH" and when I try to self-compile openssh
for my PowerPC, it needs also the OpenSSL libraries. So, due to the above
reasons, I had to also get OpenSSL installed on my powerPC inorder to get
a running version of openSSL.
 But during the installation (at "make") of openSSL, I have a
problem. I have just pasted down the output which appeared after the make
process on my PowerPC. Please do suggest me with some solutions.
PS: I had mounted the sources required for the OpenSSL for my PowerPC
from a PC, where already a pre-complied version of openSSH and OpenSSL
were existing.
Your's sincerely,
Suja.
Output:
File in wrong format: failed to merge target specific data of
file ../libcrypto.a(rc5_skey.o)
sh: syntax error near unexpected token `../libcrypto.a(r'
root:/openssh-2.9p1 > /usr/powerpc-hardhat-linux/bin/ld: r586-elf.o:
compiled for a little endian system and target is big endian
sh: /usr/powerpc-hardhat-linux/bin/ld:: No such file or directory
root:/openssh-2.9p1 > File in wrong format: failed to merge target
specific data of file ../libcrypto.a(r586-elf.o)

--
Sujatha Mukunthan
SW-Technology(PTT)
++41 (0)1 / 922 - 69 42 (Tel)
Siemens Building Technology AG
++41 (0)1 / 922 - 69 69 (Fax)
CH-8708, Switzerland.
mailto: [EMAIL PROTECTED]



Re: Installation problem with OpenSSL..

2001-11-21 Thread Erich Titl

Hi

At 10:08 21.11.2001 +0100, you wrote:

PS: I had mounted the sources required for the OpenSSL for my PowerPC from 
a PC, where already a pre-complied version of openSSH and OpenSSL were 
existing.

Your's sincerely,
Suja.

Output:
  File in wrong format: failed to merge target specific data of file 
 ../libcrypto.a(rc5_skey.o)
sh: syntax error near unexpected token `../libcrypto.a(r'
root:/openssh-2.9p1  /usr/powerpc-hardhat-linux/bin/ld: r586-elf.o: 
compiled for a little endian system and target is big endian
sh: /usr/powerpc-hardhat-linux/bin/ld:: No such file or directory
root:/openssh-2.9p1  File in wrong format: failed to merge target 
specific data of file ../libcrypto.a(r586-elf.o)

make clean may help

regards

Erich Titl


__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: Installation problem with OpenSSL..

2001-11-21 Thread Keary Suska

If I would offer my best guess, I would say that your openssl libs were
compiled for a CISC architecture (such as Intel), the key words 586 and
little endian giving clue. I can't imagine how if you compiled the openssl
libs yourself, but it could happen if you installed an RPM built for CISC.
Another possibility is that the configure script couldn't correctly guess
your architecture (isn't hardhat for embedded systems?), and made a bad
guess, though I am surprised the compile would have succeeded. I would
recommend to recompile openssl with linux-ppc as the target, and see if
you get better results.

Keary Suska
Esoteritech, Inc.
Leveraging Open Source for a better Internet

From: Sujatha Mukunthan [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: Wed, 21 Nov 2001 10:08:23 +0100
To: [EMAIL PROTECTED]
Subject: Installation problem with OpenSSL..


Dear OpenSSL team, 
  I am a user of OpenSSH and when I try to self-compile openssh for my
PowerPC, it needs also the OpenSSL libraries. So, due to the above reasons,
I had to also get OpenSSL installed on my powerPC inorder to get a running
version of openSSL.
  But during the installation (at make) of openSSL, I have a problem. I
have just pasted down the output which appeared after the make process on my
PowerPC. Please do suggest me with some solutions.

PS: I had mounted the sources required for the OpenSSL for my PowerPC from a
PC, where already a pre-complied version of openSSH and OpenSSL were
existing. 

Your's sincerely, 
Suja. 

Output: 
 File in wrong format: failed to merge target specific data of file
../libcrypto.a(rc5_skey.o)
sh: syntax error near unexpected token `../libcrypto.a(r'
root:/openssh-2.9p1  /usr/powerpc-hardhat-linux/bin/ld: r586-elf.o:
compiled for a little endian system and target is big endian
sh: /usr/powerpc-hardhat-linux/bin/ld:: No such file or directory
root:/openssh-2.9p1  File in wrong format: failed to merge target specific
data of file ../libcrypto.a(r586-elf.o)
 

-- 
Sujatha Mukunthan  SW-Technology(PTT)
++41 (0)1 / 922 - 69 42 (Tel)  Siemens Building Technology AG
++41 (0)1 / 922 - 69 69 (Fax)  CH-8708, Switzerland.
mailto: [EMAIL PROTECTED]
 


__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



installation problem with openSSL - please help (part 2)

1999-06-11 Thread Kelley Hu

We forgot to attach the httpsd.conf with our previous message.  Here we go
again:


Dear Fellow Netizens and OpenSSL Users,

We have been trying to migrate from mod_ssl to openSSL for our latest Apache
installation, and are encountering a number of problems which we'd be grateful
for helpful comments from established users:

1) When we run "[...]/apache/src/make certificate" the process does not ask
   for a secret pass phrase as mod_ssl used to do.  Is this normal behavior?

2) We can not get the configuration to support making just specified parts of
   our document tree subject to secure transmission -- it's all or nothing.
 
   For example, if we have the following in the Apache configuration file
   [...]/apache/conf/httpsd.conf:

  [...]
  Port 80
  Listen 80
  Listen 443

  SSLEnable

  Directory /site/subsys/www/apache_1.3.6/htdocs/manual
  SSLRequireSSL
  /Directory
  [...]

   The entire htdoc tree requires SSL, not just the htdocs/manual.
   By this we mean that if we access a file using "http://..." the brower
   reports that the document contains no data, whereas if we access the
   same file via "https://..." the document is fully accessible.

   In contrast, if the file contains:

  SSLDisable

   then no documents require the use of SSL, and all are accessible via the
   "http://..." URL convention.

If someone would be willing to make some rapid interations on this with us by
email or phone (our call) we would be highy grateful.

Thanks in advance for any help...

Cheerio, 
   Rick Rodgers ([EMAIL PROTECTED])
   Kelley Hu Kelley Hu ([EMAIL PROTECTED])

 U.S. National Library of Medicine, Computer Science Branch
 Bethesda, MD
 (301) 435-3205  [EMAIL PROTECTED]
 httpsd.conf