Subject: Open SSL questions
To: Port-Alpha <port-alpha@netbsd.org>
From: bob smith <sfmc68@bellatlantic.net>
List: port-alpha
Date: 09/08/2003 12:39:45
using openssl...7b, on alpha 164lx, 1.6,1, trying to d oa compile I get 
two strange things -
1. it says configuring for sparc.
during the configure effort it says operating system 
alpha-whatever-netbsd.  Then it says configuring for sparc twice.  Hmmm.

2. it fails with error 1 and two reports after the config is complete. 
I issue a simple make and get error 1 ...here is the log:
./config --prefix=/usr/local/ssl
Operating system: alpha-whatever-netbsd
Configuring for NetBSD-sparc
Configuring for NetBSD-sparc
IsWindows=0
CC            =gcc
CFLAG         =-DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DTERMIOS 
-O3 -fomit
-frame-pointer -mv8 -Wall -DB_ENDIAN
EX_LIBS       =
BN_ASM        =bn_asm.o
DES_ENC       =des_enc.o fcrypt_b.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4_enc.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =
SHA1_OBJ_ASM  =
RMD160_OBJ_ASM=
PROCESSOR     =
RANLIB        =/usr/bin/ranlib
ARFLAGS       =
PERL          =/usr/pkg/bin/perl
THIRTY_TWO_BIT mode
DES_UNROLL used
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined
MD2 uses uchar
Makefile => Makefile.ssl
e_os2.h => include/openssl/e_os2.h [File exists]
making links in crypto...
Makefile => Makefile.ssl
crypto.h => ../include/openssl/crypto.h [File exists]
tmdiff.h => ../include/openssl/tmdiff.h [File exists]
opensslv.h => ../include/openssl/opensslv.h [File exists]
opensslconf.h => ../include/openssl/opensslconf.h [File exists]
ebcdic.h => ../include/openssl/ebcdic.h [File exists]
symhacks.h => ../include/openssl/symhacks.h [File exists]
ossl_typ.h => ../include/openssl/ossl_typ.h [File exists]
Makefile => Makefile.ssl
making links in crypto/md2...
Makefile => Makefile.ssl
md2.h => ../../include/openssl/md2.h [File exists]
md2test.c => ../../test/md2test.c [File exists]
making links in crypto/md4...
Makefile => Makefile.ssl
md4.h => ../../include/openssl/md4.h [File exists]
md4test.c => ../../test/md4test.c [File exists]
md4.c => ../../apps/md4.c [File exists]
making links in crypto/md5...
Makefile => Makefile.ssl
md5.h => ../../include/openssl/md5.h [File exists]
md5test.c => ../../test/md5test.c [File exists]
making links in crypto/sha...
Makefile => Makefile.ssl
sha.h => ../../include/openssl/sha.h [File exists]
shatest.c => ../../test/shatest.c [File exists]
sha1test.c => ../../test/sha1test.c [File exists]
making links in crypto/mdc2...
Makefile => Makefile.ssl
mdc2.h => ../../include/openssl/mdc2.h [File exists]
mdc2test.c => ../../test/mdc2test.c [File exists]
making links in crypto/hmac...
Makefile => Makefile.ssl
hmac.h => ../../include/openssl/hmac.h [File exists]
hmactest.c => ../../test/hmactest.c [File exists]
making links in crypto/ripemd...
Makefile => Makefile.ssl
ripemd.h => ../../include/openssl/ripemd.h [File exists]
rmdtest.c => ../../test/rmdtest.c [File exists]
making links in crypto/des...
Makefile => Makefile.ssl
des.h => ../../include/openssl/des.h [File exists]
des_old.h => ../../include/openssl/des_old.h [File exists]
destest.c => ../../test/destest.c [File exists]
making links in crypto/rc2...
Makefile => Makefile.ssl
rc2.h => ../../include/openssl/rc2.h [File exists]
rc2test.c => ../../test/rc2test.c [File exists]
making links in crypto/rc4...
Makefile => Makefile.ssl
rc4.h => ../../include/openssl/rc4.h [File exists]
rc4test.c => ../../test/rc4test.c [File exists]
making links in crypto/rc5...
Makefile => Makefile.ssl
rc5.h => ../../include/openssl/rc5.h [File exists]
rc5test.c => ../../test/rc5test.c [File exists]
making links in crypto/idea...
Makefile => Makefile.ssl
idea.h => ../../include/openssl/idea.h [File exists]
ideatest.c => ../../test/ideatest.c [File exists]
making links in crypto/bf...
Makefile => Makefile.ssl
blowfish.h => ../../include/openssl/blowfish.h [File exists]
bftest.c => ../../test/bftest.c [File exists]
making links in crypto/cast...
Makefile => Makefile.ssl
cast.h => ../../include/openssl/cast.h [File exists]
casttest.c => ../../test/casttest.c [File exists]
making links in crypto/bn...
Makefile => Makefile.ssl
bn.h => ../../include/openssl/bn.h [File exists]
bntest.c => ../../test/bntest.c [File exists]
exptest.c => ../../test/exptest.c [File exists]
making links in crypto/ec...
Makefile => Makefile.ssl
ec.h => ../../include/openssl/ec.h [File exists]
ectest.c => ../../test/ectest.c [File exists]
making links in crypto/rsa...
Makefile => Makefile.ssl
rsa.h => ../../include/openssl/rsa.h [File exists]
rsa_test.c => ../../test/rsa_test.c [File exists]
making links in crypto/dsa...
Makefile => Makefile.ssl
dsa.h => ../../include/openssl/dsa.h [File exists]
dsatest.c => ../../test/dsatest.c [File exists]
making links in crypto/dh...
Makefile => Makefile.ssl
dh.h => ../../include/openssl/dh.h [File exists]
dhtest.c => ../../test/dhtest.c [File exists]
making links in crypto/dso...
Makefile => Makefile.ssl
dso.h => ../../include/openssl/dso.h [File exists]
making links in crypto/engine...
Makefile => Makefile.ssl
engine.h => ../../include/openssl/engine.h [File exists]
enginetest.c => ../../test/enginetest.c [File exists]
making links in crypto/aes...
Makefile => Makefile.ssl
aes.h => ../../include/openssl/aes.h [File exists]
making links in crypto/buffer...
Makefile => Makefile.ssl
buffer.h => ../../include/openssl/buffer.h [File exists]
making links in crypto/bio...
Makefile => Makefile.ssl
bio.h => ../../include/openssl/bio.h [File exists]
making links in crypto/stack...
Makefile => Makefile.ssl
stack.h => ../../include/openssl/stack.h [File exists]
safestack.h => ../../include/openssl/safestack.h [File exists]
making links in crypto/lhash...
Makefile => Makefile.ssl
lhash.h => ../../include/openssl/lhash.h [File exists]
making links in crypto/rand...
Makefile => Makefile.ssl
rand.h => ../../include/openssl/rand.h [File exists]
randtest.c => ../../test/randtest.c [File exists]
making links in crypto/err...
Makefile => Makefile.ssl
err.h => ../../include/openssl/err.h [File exists]
making links in crypto/objects...
Makefile => Makefile.ssl
objects.h => ../../include/openssl/objects.h [File exists]
obj_mac.h => ../../include/openssl/obj_mac.h [File exists]
making links in crypto/evp...
Makefile => Makefile.ssl
evp.h => ../../include/openssl/evp.h [File exists]
evp_test.c => ../../test/evp_test.c [File exists]
cp evptests.txt ../../test
making links in crypto/asn1...
Makefile => Makefile.ssl
asn1.h => ../../include/openssl/asn1.h [File exists]
asn1_mac.h => ../../include/openssl/asn1_mac.h [File exists]
asn1t.h => ../../include/openssl/asn1t.h [File exists]
making links in crypto/pem...
Makefile => Makefile.ssl
pem.h => ../../include/openssl/pem.h [File exists]
pem2.h => ../../include/openssl/pem2.h [File exists]
making links in crypto/x509...
Makefile => Makefile.ssl
x509.h => ../../include/openssl/x509.h [File exists]
x509_vfy.h => ../../include/openssl/x509_vfy.h [File exists]
making links in crypto/x509v3...
Makefile => Makefile.ssl
x509v3.h => ../../include/openssl/x509v3.h [File exists]
making links in crypto/conf...
Makefile => Makefile.ssl
conf.h => ../../include/openssl/conf.h [File exists]
conf_api.h => ../../include/openssl/conf_api.h [File exists]
making links in crypto/txt_db...
Makefile => Makefile.ssl
txt_db.h => ../../include/openssl/txt_db.h [File exists]
making links in crypto/pkcs7...
Makefile => Makefile.ssl
pkcs7.h => ../../include/openssl/pkcs7.h [File exists]
making links in crypto/pkcs12...
Makefile => Makefile.ssl
pkcs12.h => ../../include/openssl/pkcs12.h [File exists]
making links in crypto/comp...
Makefile => Makefile.ssl
comp.h => ../../include/openssl/comp.h [File exists]
making links in crypto/ocsp...
Makefile => Makefile.ssl
ocsp.h => ../../include/openssl/ocsp.h [File exists]
making links in crypto/ui...
Makefile => Makefile.ssl
ui.h => ../../include/openssl/ui.h [File exists]
ui_compat.h => ../../include/openssl/ui_compat.h [File exists]
making links in crypto/krb5...
Makefile => Makefile.ssl
krb5_asn.h => ../../include/openssl/krb5_asn.h [File exists]
making links in ssl...
Makefile => Makefile.ssl
ssl.h => ../include/openssl/ssl.h [File exists]
ssl2.h => ../include/openssl/ssl2.h [File exists]
ssl3.h => ../include/openssl/ssl3.h [File exists]
ssl23.h => ../include/openssl/ssl23.h [File exists]
tls1.h => ../include/openssl/tls1.h [File exists]
kssl.h => ../include/openssl/kssl.h [File exists]
ssltest.c => ../test/ssltest.c [File exists]
making links in apps...
Makefile => Makefile.ssl
making links in test...
Makefile => Makefile.ssl
making links in tools...
Makefile => Makefile.ssl
generating dummy tests (if needed)...

Configured for NetBSD-sparc.

The library could not be configured for supporting multi-threaded
applications as the compiler options required on this system are not known.
See file INSTALL for details if you need multi-threading.
amergin# make
making all in crypto...
( echo "#ifndef MK1MF_BUILD";  echo '  /* auto-generated by 
crypto/Makefile.ssl
for crypto/cversion.c */';  echo '  #define CFLAGS "gcc -DDSO_DLFCN 
-DHAVE_DLFCN
_H -DOPENSSL_NO_KRB5 -DTERMIOS -O3 -fomit-frame-pointer -mv8 -Wall 
-DB_ENDIAN"';
   echo '  #define PLATFORM "NetBSD-sparc"';  echo "  #define DATE 
\"`LC_ALL=C LC
_TIME=C date`\"";  echo '#endif' ) >buildinf.h
gcc -I. -I.. -I../include -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 
-DTERMIOS
  -O3 -fomit-frame-pointer -mv8 -Wall -DB_ENDIAN  -c cryptlib.c
cc1: Invalid option `v8'
*** Error code 1

Stop.
make: stopped in /usr/src/openssl-0.9.7b/crypto
*** Error code 1

Stop.
make: stopped in /usr/src/openssl-0.9.7b