On Solaris 8 x86 : $ cd openssl-0.9.8j $ ./Configure solaris-x86-cc --prefix=/opt/csw threads zlib-dynamic shared 386 n o-sse2 Configuring for solaris-x86-cc no-camellia [default] OPENSSL_NO_CAMELLIA (skip dir) no--capieng [default] OPENSSL_NO_CAPIENG (skip dir) no-cms [default] OPENSSL_NO_CMS (skip dir) no-gmp [default] OPENSSL_NO_GMP (skip dir) no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir) no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 no-mdc2 [default] OPENSSL_NO_MDC2 (skip dir) no-montasm [default] no-rc5 [default] OPENSSL_NO_RC5 (skip dir) no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) no-seed [default] OPENSSL_NO_SEED (skip dir) no-sse2 [forced] IsMK1MF=0 CC =cc CFLAG =-KPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REE NTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -fast -O -Xa EX_LIBS =-lsocket -lnsl -ldl CPUID_OBJ = BN_ASM =bn_asm.o DES_ENC =des_enc.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 rc4_skey.o RC5_ENC =rc5_enc.o MD5_OBJ_ASM = SHA1_OBJ_ASM = RMD160_OBJ_ASM= PROCESSOR =386 RANLIB =/usr/ccs/bin/ranlib ARFLAGS = PERL =/opt/csw/bin/perl THIRTY_TWO_BIT mode DES_PTR used DES_UNROLL used BN_LLONG mode RC4 uses uchar RC4_CHUNK is unsigned long BF_PTR used e_os2.h => include/openssl/e_os2.h making links in crypto... crypto.h => ../include/openssl/crypto.h tmdiff.h => ../include/openssl/tmdiff.h opensslv.h => ../include/openssl/opensslv.h opensslconf.h => ../include/openssl/opensslconf.h ebcdic.h => ../include/openssl/ebcdic.h symhacks.h => ../include/openssl/symhacks.h ossl_typ.h => ../include/openssl/ossl_typ.h making links in crypto/objects... objects.h => ../../include/openssl/objects.h obj_mac.h => ../../include/openssl/obj_mac.h making links in crypto/md2... md2.h => ../../include/openssl/md2.h md2test.c => ../../test/md2test.c making links in crypto/md4... md4.h => ../../include/openssl/md4.h md4test.c => ../../test/md4test.c md4.c => ../../apps/md4.c making links in crypto/md5... md5.h => ../../include/openssl/md5.h md5test.c => ../../test/md5test.c making links in crypto/sha... sha.h => ../../include/openssl/sha.h shatest.c => ../../test/shatest.c sha1test.c => ../../test/sha1test.c sha256t.c => ../../test/sha256t.c sha512t.c => ../../test/sha512t.c making links in crypto/hmac... hmac.h => ../../include/openssl/hmac.h hmactest.c => ../../test/hmactest.c making links in crypto/ripemd... ripemd.h => ../../include/openssl/ripemd.h rmdtest.c => ../../test/rmdtest.c making links in crypto/des... des.h => ../../include/openssl/des.h des_old.h => ../../include/openssl/des_old.h destest.c => ../../test/destest.c making links in crypto/aes... aes.h => ../../include/openssl/aes.h making links in crypto/rc2... rc2.h => ../../include/openssl/rc2.h rc2test.c => ../../test/rc2test.c making links in crypto/rc4... rc4.h => ../../include/openssl/rc4.h rc4test.c => ../../test/rc4test.c making links in crypto/idea... idea.h => ../../include/openssl/idea.h ideatest.c => ../../test/ideatest.c making links in crypto/bf... blowfish.h => ../../include/openssl/blowfish.h bftest.c => ../../test/bftest.c making links in crypto/cast... cast.h => ../../include/openssl/cast.h casttest.c => ../../test/casttest.c making links in crypto/bn... bn.h => ../../include/openssl/bn.h bntest.c => ../../test/bntest.c exptest.c => ../../test/exptest.c making links in crypto/ec... ec.h => ../../include/openssl/ec.h ectest.c => ../../test/ectest.c making links in crypto/rsa... rsa.h => ../../include/openssl/rsa.h rsa_test.c => ../../test/rsa_test.c making links in crypto/dsa... dsa.h => ../../include/openssl/dsa.h dsatest.c => ../../test/dsatest.c making links in crypto/ecdsa... ecdsa.h => ../../include/openssl/ecdsa.h ecdsatest.c => ../../test/ecdsatest.c making links in crypto/dh... dh.h => ../../include/openssl/dh.h dhtest.c => ../../test/dhtest.c making links in crypto/ecdh... ecdh.h => ../../include/openssl/ecdh.h ecdhtest.c => ../../test/ecdhtest.c making links in crypto/dso... dso.h => ../../include/openssl/dso.h making links in crypto/engine... engine.h => ../../include/openssl/engine.h enginetest.c => ../../test/enginetest.c making links in crypto/buffer... buffer.h => ../../include/openssl/buffer.h making links in crypto/bio... bio.h => ../../include/openssl/bio.h making links in crypto/stack... stack.h => ../../include/openssl/stack.h safestack.h => ../../include/openssl/safestack.h making links in crypto/lhash... lhash.h => ../../include/openssl/lhash.h making links in crypto/rand... rand.h => ../../include/openssl/rand.h randtest.c => ../../test/randtest.c making links in crypto/err... err.h => ../../include/openssl/err.h making links in crypto/evp... evp.h => ../../include/openssl/evp.h evp_test.c => ../../test/evp_test.c cp evptests.txt ../../test making links in crypto/asn1... asn1.h => ../../include/openssl/asn1.h asn1_mac.h => ../../include/openssl/asn1_mac.h asn1t.h => ../../include/openssl/asn1t.h making links in crypto/pem... pem.h => ../../include/openssl/pem.h pem2.h => ../../include/openssl/pem2.h making links in crypto/x509... x509.h => ../../include/openssl/x509.h x509_vfy.h => ../../include/openssl/x509_vfy.h making links in crypto/x509v3... x509v3.h => ../../include/openssl/x509v3.h making links in crypto/conf... conf.h => ../../include/openssl/conf.h conf_api.h => ../../include/openssl/conf_api.h making links in crypto/txt_db... txt_db.h => ../../include/openssl/txt_db.h making links in crypto/pkcs7... pkcs7.h => ../../include/openssl/pkcs7.h making links in crypto/pkcs12... pkcs12.h => ../../include/openssl/pkcs12.h making links in crypto/comp... comp.h => ../../include/openssl/comp.h making links in crypto/ocsp... ocsp.h => ../../include/openssl/ocsp.h making links in crypto/ui... ui.h => ../../include/openssl/ui.h ui_compat.h => ../../include/openssl/ui_compat.h making links in crypto/krb5... krb5_asn.h => ../../include/openssl/krb5_asn.h making links in crypto/store... store.h => ../../include/openssl/store.h making links in crypto/pqueue... pqueue.h => ../../include/openssl/pqueue.h pq_compat.h => ../../include/openssl/pq_compat.h making links in fips... fips.h => ../include/openssl/fips.h fips_test_suite.c => ../test/fips_test_suite.c making links in fips/sha... fips_shatest.c => ../../test/fips_shatest.c making links in fips/rand... fips_rand.h => ../../include/openssl/fips_rand.h fips_randtest.c => ../../test/fips_randtest.c fips_rngvs.c => ../../test/fips_rngvs.c making links in fips/des... fips_desmovs.c => ../../test/fips_desmovs.c making links in fips/aes... fips_aesavs.c => ../../test/fips_aesavs.c fips_aes_data => ../../test/fips_aes_data making links in fips/dsa... fips_dsatest.c => ../../test/fips_dsatest.c fips_dssvs.c => ../../test/fips_dssvs.c making links in fips/rsa... fips_rsavtest.c => ../../test/fips_rsavtest.c fips_rsastest.c => ../../test/fips_rsastest.c fips_rsagtest.c => ../../test/fips_rsagtest.c making links in fips/dh... making links in fips/hmac... fips_hmactest.c => ../../test/fips_hmactest.c making links in ssl... ssl.h => ../include/openssl/ssl.h ssl2.h => ../include/openssl/ssl2.h ssl3.h => ../include/openssl/ssl3.h ssl23.h => ../include/openssl/ssl23.h tls1.h => ../include/openssl/tls1.h dtls1.h => ../include/openssl/dtls1.h kssl.h => ../include/openssl/kssl.h ssltest.c => ../test/ssltest.c making links in engines... making links in apps... making links in test... making links in tools... generating dummy tests (if needed)...
Configured for solaris-x86-cc. $ make then runs and runs and runs and then cc -DMONOLITH -I.. -I../include -KPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -fast -O -Xa -I/opt/csw/include -c -o ocsp.o ocsp.c cc -DMONOLITH -I.. -I../include -KPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -fast -O -Xa -I/opt/csw/include -c -o prime.o prime.c cc -DMONOLITH -I.. -I../include -KPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -fast -O -Xa -I/opt/csw/include -c -o cms.o cms.c cc -DMONOLITH -I.. -I../include -KPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -fast -O -Xa -I/opt/csw/include -c -o openssl.o openssl.c rm -f openssl shlib_target=; if [ -n "libcrypto.so.0.9.8 libssl.so.0.9.8" ]; then \ shlib_target="solaris-shared"; \ elif [ -n "" ]; then \ FIPSLD_CC=cc; CC=../fips/fipsld; export CC FIPSLD_CC; \ fi; \ LIBRARIES="-L.. -lssl -L.. -lcrypto" ; \ [ "x" = "xlibfips" ] && LIBRARIES="$LIBRARIES -lfips"; \ gmake -f ../Makefile.shared -e \ CC=${CC} APPNAME=openssl OBJECTS="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 ec.o ecparam.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 prime.o cms.o" \ LIBDEPS=" $LIBRARIES -lsocket -lnsl -ldl" \ link_app.${shlib_target} gmake[2]: Entering directory `/export/medusa/dclarke/build/openssl/i386/openssl-0.9.8j/apps' Undefined first referenced symbol in file SSL_CTX_set_client_cert_engine s_client.o SSL_get_servername s_server.o SSL_get_servername_type s_client.o RSA_X931_generate_key_ex genrsa.o OCSP_sendreq_nbio ocsp.o EVP_CIPHER_CTX_set_flags enc.o OCSP_REQ_CTX_free ocsp.o OCSP_sendreq_new ocsp.o X509_get1_ocsp x509.o CRYPTO_malloc_debug_init openssl.o ld: fatal: Symbol referencing errors. No output written to openssl gmake[2]: *** [link_app.solaris] Error 1 gmake[2]: Leaving directory `/export/medusa/dclarke/build/openssl/i386/openssl-0.9.8j/apps' gmake[1]: *** [openssl] Error 2 gmake[1]: Leaving directory `/export/medusa/dclarke/build/openssl/i386/openssl-0.9.8j/apps' gmake: *** [build_apps] Error 1 ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org