Hi all,
I am trying to build 0.9.8g on HP-UX 11.23 ia64 using GCC 3.4.3 for 64-bit code
size. So to configure the sources I ran:
./Configure --prefix=/opt/custom --shared hpux64-ia64-gcc
Build runs OK up to the point when first shared library should be built
(libcrypto.so.0.9.8) and then fails with this (make output slightly modified to
be more verbose):
[EMAIL PROTECTED]:~/storage/build/openssl-0.9.8g$ /usr/local/bin/gmake
libcrypto.so.0.9.8
gmake[1]: Entering directory `/mnt/disk-1/user/tvrtko/build/openssl-0.9.8g'
set -e
libs='-L. '
for i in crypto; do \
if [ "crypto" = "ssl" -a -n "" ]; then \
libs=" $libs"; \
fi; \
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}; \
/usr/local/bin/gmake -f Makefile.shared -e
PLATFORM='hpux64-ia64-gcc' PROCESSOR='' CC='gcc' CFLAG='-fpic -DOPENSSL_PIC
-DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -mlp64 -O3 -DB_ENDIAN
-D_REENTRANT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM' AS='gcc'
ASFLAG='-fpic -DOPENSSL_PIC -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H
-mlp64 -O3 -DB_ENDIAN -D_REENTRANT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
-DAES_ASM -c' AR='ar r' PERL='/usr/bin/perl' RANLIB='/usr/local/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='/opt/custom/lib' INSTALL_PREFIX='' INSTALLTOP='/opt/custom'
OPENSSLDIR='/opt/custom/ssl' MAKEDEPEND='$${TOP}/util/domd $${TOP} -MD gcc'
DEPFLAG='-DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_GMP
-DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SEED
-DOPENSSL_NO_TLSEXT ' MAKEDEPPROG='gcc' SHARED_LDFLAGS='-mlp64 -shared'
KRB5_INCLUDES='' LIBKRB5='' EXE_EXT='' SHARED_LIBS='libcrypto.so.0.9.8
libssl.so.0.9.8' SHLIB_EXT='.so.0.9.8' SHLIB_TARGET='hpux-shared' PEX_LIBS=''
EX_LIBS='-ldl' CPUID_OBJ='' BN_ASM='bn-ia64.o' DES_ENC='des_enc.o fcrypt_b.o'
AES_ASM_OBJ='aes_core.o aes_cbc.o aes-ia64.o' BF_ENC='bf_enc.o'
CAST_ENC='c_enc.o' RC4_ENC='rc4-ia64.o' RC5_ENC='rc5_enc.o'
SHA1_ASM_OBJ='sha1-ia64.o sha256-ia64.o sha512-ia64.o' MD5_ASM_OBJ=''
RMD160_ASM_OBJ='' THIS=${THIS:-do_hpux-shared} MAKEFILE=Makefile MAKEOVERRIDES=
LIBNAME=$i LIBVERSION=0.9.8 LIBCOMPATVERSIONS="" LIBDEPS="$libs -ldl"
link_a.hpux-shared; libs="-l$i $libs"; \
done
gmake[2]: Entering directory `/mnt/disk-1/user/tvrtko/build/openssl-0.9.8g'
ld: Duplicate symbol "__divxf3" in files
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[__divxf3.o] and
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[__divxf3.o]
ld: Duplicate symbol "__divtf3" in files
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[__divxf3.o] and
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[__divxf3.o]
ld: Duplicate symbol "__divdf3" in files
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[__divdf3.o] and
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[__divdf3.o]
ld: Duplicate symbol "__divsf3" in files
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[__divsf3.o] and
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[__divsf3.o]
ld: Duplicate symbol "__divdi3" in files
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[__divdi3.o] and
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[__divdi3.o]
[...a lot more duplicate symbols...]
ld: Duplicate symbol "_U_Qfneg" in files
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[quadlib.o] and
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[quadlib.o]
ld: Duplicate symbol "__U_Qfcnvfxt_quad_to_sgl" in files
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[quadlib.o] and
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[quadlib.o]
ld: Duplicate symbol "_U_Qfcnvfxt_quad_to_usgl" in files
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[quadlib.o] and
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[quadlib.o]
ld: Duplicate symbol "_U_Qfcnvfxt_quad_to_udbl" in files
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[quadlib.o] and
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[quadlib.o]
ld: Duplicate symbol "__eprintf" in files
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[_eprintf.o] and
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[_eprintf.o]
ld: Duplicate symbol "__gcc_bcmp" in files
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[__gcc_bcmp.o] and
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a[__gcc_bcmp.o]
81 errors.
collect2: ld returned 1 exit status
chmod: libcrypto.so.0.9.8: No such file or directory
gmake[2]: *** [link_a.hpux] Error 1
gmake[2]: Leaving directory `/mnt/disk-1/user/tvrtko/build/openssl-0.9.8g'
gmake[2]: Entering directory `/mnt/disk-1/user/tvrtko/build/openssl-0.9.8g'
gmake[2]: Leaving directory `/mnt/disk-1/user/tvrtko/build/openssl-0.9.8g'
gmake[1]: Leaving directory `/mnt/disk-1/user/tvrtko/build/openssl-0.9.8g'
I will continue battling with this myself but if someone has any ideas it would
be appreciated.
TIA,
Tvrtko
Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon,
OX14 3YP, United Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]