I have been running for months on AIX with OpenSSl. I am porting my software to Linux and I am having trouble linking my application. I have included the make report results as well as my link errors. I suspect I am missing a link option. Any help would be greatly appreciated.
OpenSSL self-test report: OpenSSL version: 0.9.6c Last change: Fix BN_rand_range bug pointed out by Dominikus Scherkl... Options: no-asm no-shared OS (uname): Linux picture 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686 unknown OS (config): i686-whatever-linux2 Target (default): linux-elf Target: linux-elf Compiler: gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) Test skipped. Test report in file testlog /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(t1_enc.o): In function `tls1_P_hash': t1_enc.o(.text+0x35): undefined reference to `HMAC_Init' t1_enc.o(.text+0x46): undefined reference to `HMAC_Update' t1_enc.o(.text+0x63): undefined reference to `HMAC_Final' t1_enc.o(.text+0x78): undefined reference to `HMAC_Init' t1_enc.o(.text+0x9b): undefined reference to `HMAC_Update' t1_enc.o(.text+0xc0): undefined reference to `HMAC_Update' t1_enc.o(.text+0xe6): undefined reference to `HMAC_Final' t1_enc.o(.text+0x137): undefined reference to `HMAC_Final' t1_enc.o(.text+0x15c): undefined reference to `HMAC_cleanup' t1_enc.o(.text+0x16a): undefined reference to `HMAC_cleanup' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(t1_enc.o): In function `tls1_change_cipher_state': t1_enc.o(.text+0x23e): undefined reference to `COMP_CTX_free' t1_enc.o(.text+0x25f): undefined reference to `COMP_CTX_new' t1_enc.o(.text+0x369): undefined reference to `COMP_CTX_free' t1_enc.o(.text+0x389): undefined reference to `COMP_CTX_new' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(t1_enc.o): In function `tls1_mac': t1_enc.o(.text+0x10a7): undefined reference to `HMAC_Init' t1_enc.o(.text+0x10b3): undefined reference to `HMAC_Update' t1_enc.o(.text+0x10c3): undefined reference to `HMAC_Update' t1_enc.o(.text+0x10d4): undefined reference to `HMAC_Update' t1_enc.o(.text+0x10ea): undefined reference to `HMAC_Final' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(ssl_lib.o): In function `SSL_CTX_new': ssl_lib.o(.text+0xac0): undefined reference to `X509_STORE_new' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(ssl_lib.o): In function `SSL_CTX_free': ssl_lib.o(.text+0xcb5): undefined reference to `X509_STORE_free' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(ssl_lib.o): In function `ssl_init_wbio_buffer': ssl_lib.o(.text+0x16ee): undefined reference to `BIO_f_buffer' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(ssl_lib.o): In function `SSL_CTX_set_cert_store': ssl_lib.o(.text+0x18df): undefined reference to `X509_STORE_free' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(ssl_lib.o): In function `SSL_CTX_set_trust': ssl_lib.o(.text+0x22f8): undefined reference to `X509_TRUST_get_by_id' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(ssl_lib.o): In function `SSL_set_trust': ssl_lib.o(.text+0x2368): undefined reference to `X509_TRUST_get_by_id' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(ssl_lib.o): In function `SSL_CTX_set_default_verify_paths': ssl_lib.o(.text+0x2d6c): undefined reference to `X509_STORE_set_default_paths' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(ssl_lib.o): In function `SSL_CTX_load_verify_locations': ssl_lib.o(.text+0x2da4): undefined reference to `X509_STORE_load_locations' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(ssl_lib.o): In function `ssl_clear_cipher_ctx': ssl_lib.o(.text+0x3097): undefined reference to `COMP_CTX_free' ssl_lib.o(.text+0x30b4): undefined reference to `COMP_CTX_free' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(ssl_err2.o): In function `SSL_load_error_strings': ssl_err2.o(.text+0x11): undefined reference to `ERR_load_crypto_strings' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(ssl_cert.o): In function `ssl_verify_cert_chain': ssl_cert.o(.text+0x40d): undefined reference to `X509_STORE_CTX_init' ssl_cert.o(.text+0x450): undefined reference to `X509_STORE_CTX_get_ex_new_index' ssl_cert.o(.text+0x460): undefined reference to `X509_STORE_CTX_set_ex_data' ssl_cert.o(.text+0x47f): undefined reference to `X509_STORE_CTX_purpose_inherit' ssl_cert.o(.text+0x496): undefined reference to `X509_STORE_CTX_set_verify_cb' ssl_cert.o(.text+0x4c5): undefined reference to `X509_verify_cert' ssl_cert.o(.text+0x4e1): undefined reference to `X509_STORE_CTX_cleanup' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(ssl_cert.o): In function `SSL_get_ex_data_X509_STORE_CTX_idx': ssl_cert.o(.text+0xccd): undefined reference to `X509_STORE_CTX_get_ex_new_index' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(ssl_ciph.o): In function `ssl_cipher_get_evp': ssl_ciph.o(.text+0x126): undefined reference to `EVP_enc_null' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(ssl_algs.o): In function `SSL_library_init': ssl_algs.o(.text+0x13): undefined reference to `EVP_des_cbc' ssl_algs.o(.text+0x20): undefined reference to `EVP_des_ede3_cbc' ssl_algs.o(.text+0x2d): undefined reference to `EVP_idea_cbc' ssl_algs.o(.text+0x3a): undefined reference to `EVP_rc4' ssl_algs.o(.text+0x47): undefined reference to `EVP_rc2_cbc' ssl_algs.o(.text+0x54): undefined reference to `EVP_md2' ssl_algs.o(.text+0xe1): undefined reference to `EVP_dss1' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(s3_srvr.o): In function `ssl3_send_server_key_exchange': s3_srvr.o(.text+0x18ed): undefined reference to `EVP_dss1' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(s3_srvr.o): In function `ssl3_get_cert_verify': s3_srvr.o(.text+0x21e8): undefined reference to `X509_certificate_type' s3_srvr.o(.text+0x241a): undefined reference to `DSA_verify' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(s3_clnt.o): In function `ssl3_get_key_exchange': s3_clnt.o(.text+0x1c2d): undefined reference to `EVP_dss1' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(s3_clnt.o): In function `ssl3_check_cert_and_algorithm': s3_clnt.o(.text+0x29df): undefined reference to `X509_certificate_type' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(s3_enc.o): In function `ssl3_change_cipher_state': s3_enc.o(.text+0x283): undefined reference to `COMP_CTX_free' s3_enc.o(.text+0x2a5): undefined reference to `COMP_CTX_new' s3_enc.o(.text+0x3c5): undefined reference to `COMP_CTX_free' s3_enc.o(.text+0x3e6): undefined reference to `COMP_CTX_new' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(s3_pkt.o): In function `do_ssl3_write': s3_pkt.o(.text+0x7cd): undefined reference to `COMP_compress_block' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(s3_pkt.o): In function `do_uncompress': s3_pkt.o(.text+0x1705): undefined reference to `COMP_expand_block' /build/cas/src/contrib/openssl-0.9.6c/dist/lib/libssl.a(s3_both.o): In function `ssl3_output_cert_chain': s3_both.o(.text+0xb3): undefined reference to `X509_STORE_CTX_init' s3_both.o(.text+0xda): undefined reference to `X509_STORE_get_by_subject' s3_both.o(.text+0x197): undefined reference to `X509_STORE_CTX_cleanup' collect2: ld returned 1 exit status make: *** [eifevtmgr] Error 1 Tim ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]