This is a suggested configuration. -D stands for preprocessor "define".
/home/sambuild/OpenSSL> ./config -h Usage: config [options] -d Add a debug- prefix to machine choice. -t Test mode, do not run the Configure perl script. -h This help. Any other text will be passed to the Configure perl script. See INSTALL for instructions. Operating system: 9000/800-hp-hpux1x WARNING! If you wish to build 64-bit library then you have to invoke './Configure hpux64-parisc2-cc' *manually*. Configuring for hpux-parisc2-cc /usr/bin/perl ./Configure hpux-parisc2-cc -D_REENTRANT /home/sambuild/OpenSSL> uname -a HP-UX rndhp11i B.11.11 U 9000/800 192242760 unlimited-user license /home/sambuild/OpenSSL> -----Original Message----- From: William A. Rowe Jr. [mailto:wr...@rowe-clan.net] Sent: Wednesday, June 02, 2010 4:32 PM To: openssl-users@openssl.org Cc: Alona Rossen Subject: Re: unable to build dynamic library on HP-UX RISC and Itanium On 6/2/2010 11:08 AM, Alona Rossen wrote: > > Building dynamic library on HP-UX fails despite I explicitly specify > ‘shared’ as Configure argument: > > ./Configure hpux64-ia64-cc -D_REENTRANT shared Why are you adding -D for _REENTRANT? I did a very similar build last week, no such problems, would you care to be more specific about which OpenSSL package you are configuring?