#2 Can not buid with OpenSSL 0.9.8n

open
nobody
None
5
6 days ago
2010-03-26
Anonymous
No

When building SSLScan against the OpenSSL version 0.9.8n I get the following errors:
/tmp/ccspbH3I.o: In function `populateCipherList':
sslscan.c:(.text+0x1c): undefined reference to `SSL_CTX_new'
sslscan.c:(.text+0x4f): undefined reference to `SSL_CTX_set_cipher_list'
sslscan.c:(.text+0x60): undefined reference to `SSL_new'
sslscan.c:(.text+0x78): undefined reference to `SSL_get_ciphers'
sslscan.c:(.text+0x13c): undefined reference to `sk_value'
sslscan.c:(.text+0x144): undefined reference to `SSL_CIPHER_get_name'
sslscan.c:(.text+0x15b): undefined reference to `sk_value'
sslscan.c:(.text+0x163): undefined reference to `SSL_CIPHER_get_version'
sslscan.c:(.text+0x181): undefined reference to `sk_value'
sslscan.c:(.text+0x195): undefined reference to `SSL_CIPHER_description'
sslscan.c:(.text+0x1a7): undefined reference to `sk_value'
sslscan.c:(.text+0x1b6): undefined reference to `SSL_CIPHER_get_bits'
sslscan.c:(.text+0x1cb): undefined reference to `sk_num'
sslscan.c:(.text+0x1df): undefined reference to `SSL_free'
sslscan.c:(.text+0x21a): undefined reference to `SSL_CTX_free'
/tmp/ccspbH3I.o: In function `loadCerts':
sslscan.c:(.text+0x791): undefined reference to `SSL_CTX_set_default_passwd_cb_userdata'
sslscan.c:(.text+0x7aa): undefined reference to `SSL_CTX_set_default_passwd_cb'
sslscan.c:(.text+0x7f2): undefined reference to `SSL_CTX_use_certificate_file'
sslscan.c:(.text+0x81c): undefined reference to `SSL_CTX_use_certificate_file'
sslscan.c:(.text+0x83e): undefined reference to `SSL_CTX_use_certificate_chain_file'
sslscan.c:(.text+0x89a): undefined reference to `SSL_CTX_use_PrivateKey_file'
sslscan.c:(.text+0x8c8): undefined reference to `SSL_CTX_use_PrivateKey_file'
sslscan.c:(.text+0x8f6): undefined reference to `SSL_CTX_use_RSAPrivateKey_file'
sslscan.c:(.text+0x924): undefined reference to `SSL_CTX_use_RSAPrivateKey_file'
sslscan.c:(.text+0x9a4): undefined reference to `d2i_PKCS12_fp'
sslscan.c:(.text+0xa07): undefined reference to `PKCS12_parse'
sslscan.c:(.text+0xa50): undefined reference to `SSL_CTX_use_certificate'
sslscan.c:(.text+0xa94): undefined reference to `SSL_CTX_use_PrivateKey'
sslscan.c:(.text+0xacb): undefined reference to `PKCS12_free'
sslscan.c:(.text+0xb26): undefined reference to `SSL_CTX_check_private_key'
/tmp/ccspbH3I.o: In function `testCipher':
sslscan.c:(.text+0xc41): undefined reference to `SSL_CTX_set_cipher_list'
sslscan.c:(.text+0xc5d): undefined reference to `SSL_new'
sslscan.c:(.text+0xc86): undefined reference to `BIO_new_socket'
sslscan.c:(.text+0xcae): undefined reference to `SSL_set_bio'
sslscan.c:(.text+0xcbc): undefined reference to `SSL_connect'
sslscan.c:(.text+0xdae): undefined reference to `BIO_s_file'
sslscan.c:(.text+0xdb6): undefined reference to `BIO_new'
sslscan.c:(.text+0xde3): undefined reference to `BIO_ctrl'
sslscan.c:(.text+0xe03): undefined reference to `SSL_write'
sslscan.c:(.text+0xe3b): undefined reference to `SSL_read'
sslscan.c:(.text+0x1157): undefined reference to `SSLv2_client_method'
sslscan.c:(.text+0x11de): undefined reference to `SSLv3_client_method'
sslscan.c:(.text+0x13f4): undefined reference to `SSL_shutdown'
sslscan.c:(.text+0x1402): undefined reference to `SSL_free'
/tmp/ccspbH3I.o: In function `defaultCipher':
sslscan.c:(.text+0x14e1): undefined reference to `SSL_CTX_new'
sslscan.c:(.text+0x1514): undefined reference to `SSL_CTX_set_cipher_list'
sslscan.c:(.text+0x155f): undefined reference to `SSL_new'
sslscan.c:(.text+0x157f): undefined reference to `BIO_new_socket'
sslscan.c:(.text+0x159b): undefined reference to `SSL_set_bio'
sslscan.c:(.text+0x15a6): undefined reference to `SSL_connect'
sslscan.c:(.text+0x15b8): undefined reference to `SSLv2_client_method'
sslscan.c:(.text+0x162b): undefined reference to `SSLv3_client_method'
sslscan.c:(.text+0x16ff): undefined reference to `SSL_get_current_cipher'
sslscan.c:(.text+0x170e): undefined reference to `SSL_CIPHER_get_bits'
sslscan.c:(.text+0x1727): undefined reference to `SSL_get_current_cipher'
sslscan.c:(.text+0x1736): undefined reference to `SSL_CIPHER_get_bits'
sslscan.c:(.text+0x1764): undefined reference to `SSL_get_current_cipher'
sslscan.c:(.text+0x1773): undefined reference to `SSL_CIPHER_get_bits'
sslscan.c:(.text+0x1791): undefined reference to `SSL_get_current_cipher'
sslscan.c:(.text+0x17a0): undefined reference to `SSL_CIPHER_get_bits'
sslscan.c:(.text+0x17e1): undefined reference to `SSL_get_current_cipher'
sslscan.c:(.text+0x17e9): undefined reference to `SSL_CIPHER_get_name'
sslscan.c:(.text+0x17f6): undefined reference to `SSL_get_current_cipher'
sslscan.c:(.text+0x1805): undefined reference to `SSL_CIPHER_get_bits'
sslscan.c:(.text+0x1840): undefined reference to `SSL_get_current_cipher'
sslscan.c:(.text+0x1848): undefined reference to `SSL_CIPHER_get_name'
sslscan.c:(.text+0x1866): undefined reference to `SSL_get_current_cipher'
sslscan.c:(.text+0x186e): undefined reference to `SSL_CIPHER_get_name'
sslscan.c:(.text+0x1881): undefined reference to `SSL_shutdown'
sslscan.c:(.text+0x188c): undefined reference to `SSL_free'
sslscan.c:(.text+0x18f4): undefined reference to `SSL_CTX_free'
/tmp/ccspbH3I.o: In function `getCertificate':
sslscan.c:(.text+0x1a1e): undefined reference to `SSLv23_method'
sslscan.c:(.text+0x1a32): undefined reference to `SSL_CTX_new'
sslscan.c:(.text+0x1a6e): undefined reference to `SSL_CTX_set_cipher_list'
sslscan.c:(.text+0x1acb): undefined reference to `SSL_new'
sslscan.c:(.text+0x1af4): undefined reference to `BIO_new_socket'
sslscan.c:(.text+0x1b1c): undefined reference to `SSL_set_bio'
sslscan.c:(.text+0x1b2a): undefined reference to `SSL_connect'
sslscan.c:(.text+0x1b42): undefined reference to `BIO_s_file'
sslscan.c:(.text+0x1b4a): undefined reference to `BIO_new'
sslscan.c:(.text+0x1b77): undefined reference to `BIO_ctrl'
sslscan.c:(.text+0x1b8c): undefined reference to `BIO_s_file'
sslscan.c:(.text+0x1b94): undefined reference to `BIO_new'
sslscan.c:(.text+0x1bc8): undefined reference to `BIO_ctrl'
sslscan.c:(.text+0x1c34): undefined reference to `SSL_get_peer_certificate'
sslscan.c:(.text+0x1c59): undefined reference to `ASN1_INTEGER_get'
sslscan.c:(.text+0x1cbb): undefined reference to `X509_get_serialNumber'
sslscan.c:(.text+0x1cc3): undefined reference to `ASN1_INTEGER_get'
sslscan.c:(.text+0x1d9f): undefined reference to `i2a_ASN1_OBJECT'
sslscan.c:(.text+0x1e07): undefined reference to `i2a_ASN1_OBJECT'
sslscan.c:(.text+0x1e42): undefined reference to `X509_get_issuer_name'
sslscan.c:(.text+0x1e5c): undefined reference to `X509_NAME_oneline'
sslscan.c:(.text+0x1ed6): undefined reference to `ASN1_TIME_print'
sslscan.c:(.text+0x1f32): undefined reference to `ASN1_TIME_print'
sslscan.c:(.text+0x1f8c): undefined reference to `ASN1_TIME_print'
sslscan.c:(.text+0x1ff5): undefined reference to `ASN1_TIME_print'
sslscan.c:(.text+0x2030): undefined reference to `X509_get_subject_name'
sslscan.c:(.text+0x204a): undefined reference to `X509_NAME_oneline'
sslscan.c:(.text+0x20c6): undefined reference to `i2a_ASN1_OBJECT'
sslscan.c:(.text+0x2130): undefined reference to `i2a_ASN1_OBJECT'
sslscan.c:(.text+0x216b): undefined reference to `X509_get_pubkey'
sslscan.c:(.text+0x2205): undefined reference to `BN_num_bits'
sslscan.c:(.text+0x223a): undefined reference to `BN_num_bits'
sslscan.c:(.text+0x227e): undefined reference to `RSA_print'
sslscan.c:(.text+0x22b5): undefined reference to `RSA_print'
sslscan.c:(.text+0x2353): undefined reference to `DSA_print'
sslscan.c:(.text+0x238a): undefined reference to `DSA_print'
sslscan.c:(.text+0x2428): undefined reference to `EC_KEY_print'
sslscan.c:(.text+0x245f): undefined reference to `EC_KEY_print'
sslscan.c:(.text+0x24ee): undefined reference to `EVP_PKEY_free'
sslscan.c:(.text+0x2504): undefined reference to `sk_num'
sslscan.c:(.text+0x2581): undefined reference to `sk_value'
sslscan.c:(.text+0x25a2): undefined reference to `X509_EXTENSION_get_object'
sslscan.c:(.text+0x25c0): undefined reference to `i2a_ASN1_OBJECT'
sslscan.c:(.text+0x25ce): undefined reference to `X509_EXTENSION_get_critical'
sslscan.c:(.text+0x2603): undefined reference to `BIO_printf'
sslscan.c:(.text+0x2658): undefined reference to `i2a_ASN1_OBJECT'
sslscan.c:(.text+0x2687): undefined reference to `BIO_printf'
sslscan.c:(.text+0x26af): undefined reference to `X509V3_EXT_print'
sslscan.c:(.text+0x26db): undefined reference to `ASN1_STRING_print'
sslscan.c:(.text+0x2713): undefined reference to `X509V3_EXT_print'
sslscan.c:(.text+0x2732): undefined reference to `ASN1_STRING_print'
sslscan.c:(.text+0x2785): undefined reference to `sk_num'
sslscan.c:(.text+0x27e8): undefined reference to `SSL_get_verify_result'
sslscan.c:(.text+0x2813): undefined reference to `X509_verify_cert_error_string'
sslscan.c:(.text+0x2832): undefined reference to `X509_free'
sslscan.c:(.text+0x287d): undefined reference to `BIO_free'
sslscan.c:(.text+0x289b): undefined reference to `BIO_free'
sslscan.c:(.text+0x28a9): undefined reference to `SSL_shutdown'
sslscan.c:(.text+0x28b7): undefined reference to `SSL_free'
sslscan.c:(.text+0x2928): undefined reference to `SSL_CTX_free'
/tmp/ccspbH3I.o: In function `testHost':
sslscan.c:(.text+0x2b4c): undefined reference to `SSL_CTX_new'
sslscan.c:(.text+0x2b9c): undefined reference to `SSL_CTX_ctrl'
sslscan.c:(.text+0x2bc7): undefined reference to `SSL_CTX_ctrl'
sslscan.c:(.text+0x2c1b): undefined reference to `SSL_CTX_free'
sslscan.c:(.text+0x2cda): undefined reference to `SSLv2_client_method'
sslscan.c:(.text+0x2cf7): undefined reference to `SSLv3_client_method'
sslscan.c:(.text+0x2d14): undefined reference to `TLSv1_client_method'
sslscan.c:(.text+0x2d2d): undefined reference to `SSLv2_client_method'
sslscan.c:(.text+0x2d46): undefined reference to `SSLv3_client_method'
sslscan.c:(.text+0x2d5f): undefined reference to `TLSv1_client_method'
/tmp/ccspbH3I.o: In function `main':
sslscan.c:(.text+0x2e77): undefined reference to `SSL_library_init'
sslscan.c:(.text+0x378d): undefined reference to `OPENSSL_add_all_algorithms_noconf'
sslscan.c:(.text+0x3792): undefined reference to `ERR_load_crypto_strings'
sslscan.c:(.text+0x37c4): undefined reference to `SSLv2_client_method'
sslscan.c:(.text+0x37dc): undefined reference to `SSLv3_client_method'
sslscan.c:(.text+0x37f4): undefined reference to `TLSv1_client_method'
sslscan.c:(.text+0x380e): undefined reference to `SSLv2_client_method'
sslscan.c:(.text+0x3828): undefined reference to `SSLv3_client_method'
sslscan.c:(.text+0x3842): undefined reference to `TLSv1_client_method'
collect2: ld returned 1 exit status

Discussion