Hi, I'm trying to compile a debug-version of OpenSSL (0.9.8d) on HP-UX PA-RISC2 with 64bit. I duplicated the configuration line 'hpux64-parisc2-cc' to 'debug-hpux64-parisc2-cc' in Configure and replaced the optimizer flags (+O3 +Optrs_strongly_typed) by -g. Everything compiles until I finally have the libcrypto.a. Then the linker fails to build a shared library:
/usr/ccs/bin/ld: libcrypto.a: Not a valid library (invalid magic number). Possibly a 64-bit PA archive library (Mismatched ABI). If I unpack the object-files from libcrypto.a and link with those, it works. As soon as the linker should use them from the archive file, it complains. The release version is ok. My call to Configure is: ./Configure threads -D_REENTRANT -D_POSIX_C_SOURCE=199506 no-idea no-rc5 debug-hpux64-parisc2-cc shared --prefix=/production/OPENSSL/DEBUG64/openssl HP-UX hostname B.11.11 U 9000/800 583617951 aCC: HP ANSI C++ B3910B A.03.45 /usr/ccs/bin/ld: 92453-07 linker linker ld B.11.18 000922 ar is taken from /usr/ccs/bin/ Does anybody have an idea why 'ld' doesn't like this stupid magic number of libcrypto.o if it contains objects that were compiled with -g ??? Robert "debug-hpux64-parisc2-cc","cc:+DD64 -g -Ae +ESlit -DB_ENDIAN -DMD32_XARRAY -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT::pa-risc2W.o::::::::::dlfcn:hpux-shared:+Z:+DD64 -b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", ________________________________________________________ Robert Lill Engineering Archive + Storage Security Consultant IXOS, an OpenText Company Werner-von-Siemens-Ring 20 85630 Grasbrunn GERMANY Phone: +49-89-4629-1526 Telefax: +49-89-4629-33-1526 eMail: mailto:[EMAIL PROTECTED] Internet: http://www.opentext.com
