[openssl-users] Help compiling on HPUX
Dan Freed
dfreed at epic.com
Wed Nov 8 00:13:58 UTC 2017
I see that there are a few posts about compiling openssl on HP-UX, so I’m hopeful that someone can help me out.
I’m having issues getting things to completely finish the compilation process. There is an issue that some folks on Git-hub helped me resolve that was caused by some incompatibilities with HP’s make utility, but I have that resolved now (https://github.com/openssl/openssl/issues/4689).
Now I'm seeing an issue with what I think is the final link step that I cannot find a solution to, and those people on Git-Hub were unable to help with. The issue changed - and of course I cannot figure out why, but the current scenario is below.
Any help would be much appreciated.
I'm using all HP utilities, which mean their make and the aCC compiler to build the package.
I'm configuring with:
HP-UX : B.11.31 ia64
CFLAGS=+DD64
LDOPTS=+b /usr/local/epic/Epic2018/lib -L/usr/local/epic/Epic2018/lib
PERL=/usr/local/epic/Epic2018/bin/perl
./config no-ssl3 no-zlib no-zlib-dynamic --prefix=/usr/local/epic/Epic2018/ --libdir=lib -D_FORTIFY_SOURCE=2
Make errors out with the following (this is just the last bits of the output):
cc -I. -Iinclude -Iapps -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM
-D_FORTIFY_SOURCE=2 -D_REENTRANT -DOPENSSLDIR="\"/usr/local/epic/Epic2018/ssl\"" -DENGINESDIR="\"/usr/local/epic/Epic2018/lib/engines-1.1\"" -Ae +DD64 +Olit=all -z -DB_ENDIAN +O3 -D_REENTRANT -c -o apps/x509.o apps/x509.c
rm -f apps/openssl
make -f ./Makefile.shared -e \
PERL="/usr/local/epic/Epic2018/bin/perl" SRCDIR=. \
APPNAME=apps/openssl OBJECTS="apps/app_rand.o apps/apps.o apps/asn1pars.o apps/ca.o apps/ciphers.o apps/cms.o apps/crl.o apps/crl2p7.o apps/dgst.o apps/dhparam.o apps/dsa.o apps/dsaparam.o apps/ec.o apps/ecparam.o apps/enc.o apps/engine.o apps/errstr.o apps/gendsa.o apps/genpkey.o apps/genrsa.o apps/nseq.o apps/ocsp.o apps/openssl.o apps/opt.o apps/passwd.o apps/pkcs12.o apps/pkcs7.o apps/pkcs8.o apps/pkey.o apps/pkeyparam.o apps/pkeyutl.o apps/prime.o apps/rand.o apps/rehash.o apps/req.o apps/rsa.o apps/rsautl.o apps/s_cb.o apps/s_client.o apps/s_server.o apps/s_socket.o apps/s_time.o apps/sess_id.o apps/smime.o apps/speed.o apps/spkac.o apps/srp.o apps/ts.o apps/verify.o apps/version.o apps/x509.o" \
LIBDEPS=' '" -L. -lssl -L. -lcrypto"' -ldl -lpthread ' \
CC='cc' CFLAGS='-DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM
-D_FORTIFY_SOURCE=2 -D_REENTRANT -DOPENSSLDIR="\"/usr/local/epic/Epic2018/ssl\"" -DENGINESDIR="\"/usr/local/epic/Epic2018/lib/engines-1.1\"" -Ae +DD64 +Olit=all -z -DB_ENDIAN +O3 -D_REENTRANT ' \
LDFLAGS='' \
link_app.hpux-shared
LD_LIBRARY_PATH=.: cc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -D_FORTIFY
_SOURCE=2 -D_REENTRANT -DOPENSSLDIR="/usr/local/epic/Epic2018/ssl" -DENGINESDIR="/usr/local/epic/Epic2018/lib/engines-1.1" -Ae +DD64 +Olit=all -z -DB_ENDIAN +O3 -D_REENTRANT -Wl,+s,+cdp,../:,+cdp,./: -o apps/openssl apps/app_ran
d.o apps/apps.o apps/asn1pars.o apps/ca.o apps/ciphers.o apps/cms.o apps/crl.o apps/crl2p7.o apps/dgst.o apps/dhparam.o apps/dsa.o apps/dsaparam.o apps/ec.o apps/ecparam.o apps/enc.o apps/engine.o apps/errstr.o apps/gendsa.o app
s/genpkey.o apps/genrsa.o apps/nseq.o apps/ocsp.o apps/openssl.o apps/opt.o apps/passwd.o apps/pkcs12.o apps/pkcs7.o apps/pkcs8.o apps/pkey.o apps/pkeyparam.o apps/pkeyutl.o apps/prime.o apps/rand.o apps/rehash.o apps/req.o apps
/rsa.o apps/rsautl.o apps/s_cb.o apps/s_client.o apps/s_server.o apps/s_socket.o apps/s_time.o apps/sess_id.o apps/smime.o apps/speed.o apps/spkac.o apps/srp.o apps/ts.o apps/verify.o apps/version.o apps/x509.o -L. -lssl -L. -lc
rypto -ldl -lpthread
ld: (Warning) Unsatisfied symbol "bn_mul_comba4" in file ./libcrypto.so.1.1
ld: (Warning) Unsatisfied symbol "bn_mul_comba8" in file ./libcrypto.so.1.1
ld: (Warning) Unsatisfied symbol "bn_sqr_comba4" in file ./libcrypto.so.1.1
ld: (Warning) Unsatisfied symbol "bn_sqr_comba8" in file ./libcrypto.so.1.1
ld: (Warning) Unsatisfied symbol "OPENSSL_cpuid_setup" in file ./libcrypto.so.1.1
ld: (Warning) Unsatisfied symbol "bn_sub_words" in file ./libcrypto.so.1.1
ld: (Warning) Unsatisfied symbol "bn_sqr_words" in file ./libcrypto.so.1.1
ld: (Warning) Unsatisfied symbol "bn_mul_words" in file ./libcrypto.so.1.1
ld: (Warning) Unsatisfied symbol "bn_add_words" in file ./libcrypto.so.1.1
ld: (Warning) Unsatisfied symbol "bn_div_words" in file ./libcrypto.so.1.1
ld: (Warning) Unsatisfied symbol "CRYPTO_memcmp" in file ./libssl.so
ld: (Warning) Unsatisfied symbol "bn_mul_add_words" in file ./libcrypto.so.1.1
ld: (Warning) Unsatisfied symbol "AES_decrypt" in file ./libcrypto.so.1.1
ld: Unsatisfied symbol "AES_encrypt" in file apps/speed.o
ld: Unsatisfied symbol "OPENSSL_cleanse" in file apps/apps.o
13 warnings.
2 errors.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Get Outlook for iOS<https://aka.ms/o0ukef>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20171108/f13157be/attachment-0001.html>
More information about the openssl-users
mailing list