PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Proftpd & TLS - Fehler beim kompilieren



Mahrer
24.03.08, 21:55
Hallo Forum

Ich versuche auf einem Heimserver Proftpd mit TLS einzurichten. Leider bricht make jedesmal ab.

System: OpenSUSE 10.3
Proftpd 1.3.1
OpenSSL 0.9.8 (ab CD)

Proftpd hab ich als source von www.proftpd.de. Alles entpackt und
./configure --with-modules=mod_tls ausgeführt, keine Probleme.

Make gibt anscheinend folgendes aus:

mod_tls.c:40:25: error: openssl/ssl.h: No such file or directory
mod_tls.c:41:25: error: openssl/evp.h: No such file or directory
mod_tls.c:42:28: error: openssl/x509v3.h: No such file or directory
mod_tls.c:43:25: error: openssl/err.h: No such file or directory
mod_tls.c:44:26: error: openssl/rand.h: No such file or directory
mod_tls.c:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_tls.c:117: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_tls.c:158: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_tls.c:203: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_tls.c:257: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_tls.c:404: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_tls.c:405: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_tls.c:406: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_tls.c:407: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_tls.c:408: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_tls.c:412: error: expected ‘)’ before ‘*’ token
mod_tls.c:427: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_tls.c:429: error: expected ‘)’ before ‘*’ token
mod_tls.c:430: error: expected declaration specifiers or ‘...’ before ‘X509_STORE_CTX’
mod_tls.c:431: error: expected declaration specifiers or ‘...’ before ‘X509_STORE_CTX’
mod_tls.c:432: error: expected ‘)’ before ‘*’ token
mod_tls.c:434: error: expected ‘)’ before ‘*’ token
mod_tls.c: In function ‘tls_passphrase_cb’:
mod_tls.c:883: warning: implicit declaration of function ‘EVP_read_pw_string’
mod_tls.c:917: warning: implicit declaration of function ‘PEMerr’
mod_tls.c:917: error: ‘PEM_F_DEF_CALLBACK’ undeclared (first use in this function)
mod_tls.c:917: error: (Each undeclared identifier is reported only once
mod_tls.c:917: error: for each function it appears in.)
mod_tls.c:917: error: ‘PEM_R_PROBLEMS_GETTING_PASSWORD’ undeclared (first use in this function)
mod_tls.c: In function ‘tls_get_passphrase’:
mod_tls.c:929: error: ‘EVP_PKEY’ undeclared (first use in this function)
mod_tls.c:929: error: ‘pkey’ undeclared (first use in this function)
mod_tls.c:940: warning: implicit declaration of function ‘SYSerr’
mod_tls.c:940: error: ‘SYS_F_FOPEN’ undeclared (first use in this function)
mod_tls.c:967: warning: implicit declaration of function ‘PEM_read_PrivateKey’
mod_tls.c:972: warning: implicit declaration of function ‘ERR_clear_error’
mod_tls.c:994: warning: implicit declaration of function ‘EVP_PKEY_free’
mod_tls.c: At top level:
mod_tls.c:1156: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_tls.c:1204: error: expected ‘)’ before ‘*’ token
mod_tls.c: In function ‘tls_init_ctxt’:
mod_tls.c:1241: warning: implicit declaration of function ‘SSL_load_error_strings’
mod_tls.c:1242: warning: implicit declaration of function ‘SSL_library_init’
mod_tls.c:1253: error: ‘ssl_ctx’ undeclared (first use in this function)
mod_tls.c:1253: warning: implicit declaration of function ‘SSL_CTX_new’
mod_tls.c:1253: warning: implicit declaration of function ‘SSLv23_server_method’
mod_tls.c:1272: warning: implicit declaration of function ‘SSL_CTX_set_options’
mod_tls.c:1272: error: ‘SSL_OP_ALL’ undeclared (first use in this function)
mod_tls.c:1272: error: ‘SSL_OP_NO_SSLv2’ undeclared (first use in this function)
mod_tls.c:1272: error: ‘SSL_OP_SINGLE_DH_USE’ undeclared (first use in this function)
mod_tls.c:1276: warning: implicit declaration of function ‘SSL_CTX_set_session_cache_mode’
mod_tls.c:1276: error: ‘SSL_SESS_CACHE_SERVER’ undeclared (first use in this function)
mod_tls.c:1277: warning: implicit declaration of function ‘SSL_CTX_set_session_id_context’
mod_tls.c:1279: warning: implicit declaration of function ‘SSL_CTX_set_tmp_dh_callback’
mod_tls.c:1279: error: ‘tls_dh_cb’ undeclared (first use in this function)
mod_tls.c: In function ‘tls_init_server’:
mod_tls.c:1303: warning: implicit declaration of function ‘SSL_CTX_set_ssl_version’
mod_tls.c:1303: error: ‘ssl_ctx’ undeclared (first use in this function)
mod_tls.c:1303: warning: implicit declaration of function ‘SSLv3_server_method’
mod_tls.c:1306: warning: implicit declaration of function ‘TLSv1_server_method’
mod_tls.c:1315: warning: implicit declaration of function ‘SSL_CTX_load_verify_locations’
mod_tls.c:1320: warning: implicit declaration of function ‘ERR_error_string’
mod_tls.c:1320: warning: implicit declaration of function ‘ERR_get_error’
mod_tls.c:1320: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
mod_tls.c:1333: warning: implicit declaration of function ‘SSL_CTX_set_default_verify_paths’
mod_tls.c:1335: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:1339: error: ‘SSL_VERIFY_PEER’ undeclared (first use in this function)
mod_tls.c:1347: error: ‘SSL_VERIFY_FAIL_IF_NO_PEER_CERT’ undeclared (first use in this function)
mod_tls.c:1349: warning: implicit declaration of function ‘SSL_CTX_set_verify’
mod_tls.c:1359: warning: implicit declaration of function ‘SSL_CTX_set_verify_depth’
mod_tls.c:1370: warning: implicit declaration of function ‘SSL_CTX_use_certificate_chain_file’
mod_tls.c:1384: error: ‘X509’ undeclared (first use in this function)
mod_tls.c:1384: error: ‘x509’ undeclared (first use in this function)
mod_tls.c:1384: warning: implicit declaration of function ‘PEM_read_X509’
mod_tls.c:1387: warning: implicit declaration of function ‘SSL_CTX_add_client_CA’
mod_tls.c:1472: warning: implicit declaration of function ‘SSL_CTX_use_certificate_file’
mod_tls.c:1473: error: ‘X509_FILETYPE_PEM’ undeclared (first use in this function)
mod_tls.c:1483: warning: implicit declaration of function ‘SSL_CTX_set_tmp_rsa_callback’
mod_tls.c:1483: error: ‘tls_rsa_cb’ undeclared (first use in this function)
mod_tls.c:1494: warning: implicit declaration of function ‘SSL_CTX_use_PrivateKey_file’
mod_tls.c:1542: error: ‘tls_crl_store’ undeclared (first use in this function)
mod_tls.c:1542: warning: implicit declaration of function ‘X509_STORE_new’
mod_tls.c:1548: warning: implicit declaration of function ‘X509_STORE_load_locations’
mod_tls.c:1567: warning: implicit declaration of function ‘SSL_CTX_set_cipher_list’
mod_tls.c: In function ‘tls_accept’:
mod_tls.c:1667: error: ‘SSL’ undeclared (first use in this function)
mod_tls.c:1667: error: ‘ssl’ undeclared (first use in this function)
mod_tls.c:1669: error: ‘ssl_ctx’ undeclared (first use in this function)
mod_tls.c:1674: warning: implicit declaration of function ‘SSL_new’
mod_tls.c:1677: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:1682: warning: implicit declaration of function ‘SSL_set_fd’
mod_tls.c:1691: warning: implicit declaration of function ‘SSL_accept’
mod_tls.c:1694: warning: implicit declaration of function ‘SSL_get_error’
mod_tls.c:1700: warning: implicit declaration of function ‘tls_end_sess’
mod_tls.c:1706: error: ‘SSL_ERROR_WANT_READ’ undeclared (first use in this function)
mod_tls.c:1707: error: ‘SSL_ERROR_WANT_WRITE’ undeclared (first use in this function)
mod_tls.c:1710: error: ‘SSL_ERROR_ZERO_RETURN’ undeclared (first use in this function)
mod_tls.c:1714: error: ‘SSL_ERROR_WANT_X509_LOOKUP’ undeclared (first use in this function)
mod_tls.c:1718: error: ‘SSL_ERROR_SYSCALL’ undeclared (first use in this function)
mod_tls.c:1742: error: ‘SSL_ERROR_SSL’ undeclared (first use in this function)
mod_tls.c:1757: error: ‘ctrl_ssl’ undeclared (first use in this function)
mod_tls.c:1766: warning: implicit declaration of function ‘SSL_get_cipher_version’
mod_tls.c:1766: warning: implicit declaration of function ‘SSL_get_cipher_name’
mod_tls.c:1767: warning: implicit declaration of function ‘SSL_get_cipher_bits’
mod_tls.c:1767: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:1767: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
mod_tls.c:1782: warning: implicit declaration of function ‘tls_check_client_cert’
mod_tls.c:1787: warning: implicit declaration of function ‘tls_setup_environ’
mod_tls.c:1798: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:1798: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
mod_tls.c: In function ‘tls_cleanup’:
mod_tls.c:1815: error: ‘tls_crl_store’ undeclared (first use in this function)
mod_tls.c:1816: warning: implicit declaration of function ‘X509_STORE_free’
mod_tls.c:1820: error: ‘ssl_ctx’ undeclared (first use in this function)
mod_tls.c:1821: warning: implicit declaration of function ‘SSL_CTX_free’
mod_tls.c:1825: error: ‘tls_tmp_dh’ undeclared (first use in this function)
mod_tls.c:1826: warning: implicit declaration of function ‘DH_free’
mod_tls.c:1830: error: ‘tls_tmp_rsa’ undeclared (first use in this function)
mod_tls.c:1831: warning: implicit declaration of function ‘RSA_free’
mod_tls.c:1836: warning: implicit declaration of function ‘ERR_free_strings’
mod_tls.c:1837: warning: implicit declaration of function ‘ERR_remove_state’
mod_tls.c:1838: warning: implicit declaration of function ‘EVP_cleanup’
mod_tls.c: At top level:
mod_tls.c:1858: error: expected ‘)’ before ‘*’ token
mod_tls.c: In function ‘tls_get_errors’:
mod_tls.c:1955: error: ‘BIO’ undeclared (first use in this function)
mod_tls.c:1955: error: ‘bio’ undeclared (first use in this function)
mod_tls.c:1965: warning: implicit declaration of function ‘BIO_new’
mod_tls.c:1965: warning: implicit declaration of function ‘BIO_s_mem’
mod_tls.c:1969: warning: implicit declaration of function ‘BIO_printf’
mod_tls.c:1973: warning: implicit declaration of function ‘BIO_get_mem_data’
mod_tls.c:1980: warning: implicit declaration of function ‘BIO_free’
mod_tls.c: In function ‘tls_get_subj_name’:
mod_tls.c:2022: error: ‘X509’ undeclared (first use in this function)
mod_tls.c:2022: error: ‘cert’ undeclared (first use in this function)
mod_tls.c:2022: warning: implicit declaration of function ‘SSL_get_peer_certificate’
mod_tls.c:2022: error: ‘ctrl_ssl’ undeclared (first use in this function)
mod_tls.c:2025: warning: implicit declaration of function ‘tls_x509_name_oneline’
mod_tls.c:2025: warning: implicit declaration of function ‘X509_get_subject_name’
mod_tls.c:2025: warning: initialization makes pointer from integer without a cast
mod_tls.c:2026: warning: implicit declaration of function ‘X509_free’
mod_tls.c: In function ‘tls_fatal_error’:
mod_tls.c:2036: error: ‘SSL_ERROR_NONE’ undeclared (first use in this function)
mod_tls.c:2039: error: ‘SSL_ERROR_SSL’ undeclared (first use in this function)
mod_tls.c:2043: error: ‘SSL_ERROR_WANT_READ’ undeclared (first use in this function)
mod_tls.c:2047: error: ‘SSL_ERROR_WANT_WRITE’ undeclared (first use in this function)
mod_tls.c:2051: error: ‘SSL_ERROR_WANT_X509_LOOKUP’ undeclared (first use in this function)
mod_tls.c:2055: error: ‘SSL_ERROR_SYSCALL’ undeclared (first use in this function)
mod_tls.c:2083: error: ‘SSL_ERROR_ZERO_RETURN’ undeclared (first use in this function)
mod_tls.c:2087: error: ‘SSL_ERROR_WANT_CONNECT’ undeclared (first use in this function)
mod_tls.c: In function ‘tls_dotlogin_allow’:
mod_tls.c:2109: error: ‘X509’ undeclared (first use in this function)
mod_tls.c:2109: error: ‘client_cert’ undeclared (first use in this function)
mod_tls.c:2109: error: ‘file_cert’ undeclared (first use in this function)
mod_tls.c:2109: warning: left-hand operand of comma expression has no effect
mod_tls.c:2115: error: ‘ctrl_ssl’ undeclared (first use in this function)
mod_tls.c:2158: warning: implicit declaration of function ‘ASN1_BIT_STRING_cmp’
mod_tls.c: At top level:
mod_tls.c:2214: error: expected ‘)’ before ‘*’ token
mod_tls.c:2276: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_tls.c: In function ‘tls_seed_prng’:
mod_tls.c:2311: warning: implicit declaration of function ‘X509_get_default_cert_area’
mod_tls.c:2311: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
mod_tls.c:2311: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
mod_tls.c:2316: warning: implicit declaration of function ‘RAND_load_file’
mod_tls.c:2319: warning: implicit declaration of function ‘RAND_seed’
mod_tls.c: At top level:
mod_tls.c:2338: error: expected declaration specifiers or ‘...’ before ‘X509’
mod_tls.c:2383: error: expected declaration specifiers or ‘...’ before ‘X509_NAME’
mod_tls.c: In function ‘tls_setup_cert_dn_environ’:
mod_tls.c:2387: warning: implicit declaration of function ‘sk_X509_NAME_ENTRY_num’
mod_tls.c:2387: error: ‘name’ undeclared (first use in this function)
mod_tls.c:2388: error: ‘X509_NAME_ENTRY’ undeclared (first use in this function)
mod_tls.c:2388: error: ‘entry’ undeclared (first use in this function)
mod_tls.c:2388: warning: implicit declaration of function ‘sk_X509_NAME_ENTRY_value’
mod_tls.c:2389: warning: implicit declaration of function ‘OBJ_obj2nid’
mod_tls.c:2392: error: ‘NID_countryName’ undeclared (first use in this function)
mod_tls.c:2399: error: ‘NID_commonName’ undeclared (first use in this function)
mod_tls.c:2406: error: ‘NID_description’ undeclared (first use in this function)
mod_tls.c:2413: error: ‘NID_givenName’ undeclared (first use in this function)
mod_tls.c:2420: error: ‘NID_initials’ undeclared (first use in this function)
mod_tls.c:2427: error: ‘NID_localityName’ undeclared (first use in this function)
mod_tls.c:2434: error: ‘NID_organizationName’ undeclared (first use in this function)
mod_tls.c:2441: error: ‘NID_organizationalUnitName’ undeclared (first use in this function)
mod_tls.c:2448: error: ‘NID_stateOrProvinceName’ undeclared (first use in this function)
mod_tls.c:2455: error: ‘NID_surname’ undeclared (first use in this function)
mod_tls.c:2462: error: ‘NID_title’ undeclared (first use in this function)
mod_tls.c:2472: error: ‘NID_uniqueIdentifier’ undeclared (first use in this function)
mod_tls.c:2480: error: ‘NID_pkcs9_emailAddress’ undeclared (first use in this function)
mod_tls.c: At top level:
mod_tls.c:2493: error: expected declaration specifiers or ‘...’ before ‘X509’
mod_tls.c: In function ‘tls_setup_cert_environ’:
mod_tls.c:2496: error: ‘BIO’ undeclared (first use in this function)
mod_tls.c:2496: error: ‘bio’ undeclared (first use in this function)
mod_tls.c:2500: error: ‘ASN1_INTEGER’ undeclared (first use in this function)
mod_tls.c:2500: error: ‘serial’ undeclared (first use in this function)
mod_tls.c:2500: warning: implicit declaration of function ‘X509_get_serialNumber’
mod_tls.c:2500: error: ‘cert’ undeclared (first use in this function)
mod_tls.c:2502: warning: implicit declaration of function ‘X509_get_version’
mod_tls.c:2502: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘int’
mod_tls.c:2511: warning: implicit declaration of function ‘ASN1_INTEGER_get’
mod_tls.c:2511: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘int’
mod_tls.c:2528: warning: passing argument 2 of ‘pstrdup’ makes pointer from integer without a cast
mod_tls.c:2532: error: too many arguments to function ‘tls_setup_cert_dn_environ’
mod_tls.c:2536: warning: implicit declaration of function ‘X509_get_issuer_name’
mod_tls.c:2536: warning: passing argument 2 of ‘pstrdup’ makes pointer from integer without a cast
mod_tls.c:2540: error: too many arguments to function ‘tls_setup_cert_dn_environ’
mod_tls.c:2543: error: too many arguments to function ‘tls_setup_cert_ext_environ’
mod_tls.c:2546: warning: implicit declaration of function ‘ASN1_TIME_print’
mod_tls.c:2546: warning: implicit declaration of function ‘X509_get_notBefore’
mod_tls.c:2557: warning: implicit declaration of function ‘X509_get_notAfter’
mod_tls.c:2568: warning: implicit declaration of function ‘i2a_ASN1_OBJECT’
mod_tls.c:2591: warning: implicit declaration of function ‘PEM_write_bio_X509’
mod_tls.c: At top level:
mod_tls.c:2602: error: expected ‘)’ before ‘*’ token
mod_tls.c:2726: error: expected declaration specifiers or ‘...’ before ‘X509_STORE_CTX’
mod_tls.c: In function ‘tls_verify_cb’:
mod_tls.c:2734: error: ‘ctx’ undeclared (first use in this function)
mod_tls.c:2734: error: too many arguments to function ‘tls_verify_crl’
mod_tls.c:2737: error: ‘X509’ undeclared (first use in this function)
mod_tls.c:2737: error: ‘cert’ undeclared (first use in this function)
mod_tls.c:2737: warning: implicit declaration of function ‘X509_STORE_CTX_get_current_cert’
mod_tls.c:2738: warning: implicit declaration of function ‘X509_STORE_CTX_get_error_depth’
mod_tls.c:2742: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:2744: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:2748: warning: implicit declaration of function ‘X509_STORE_CTX_set_error’
mod_tls.c:2748: error: ‘X509_V_ERR_CERT_CHAIN_TOO_LONG’ undeclared (first use in this function)
mod_tls.c:2752: error: ‘X509_V_ERR_CERT_HAS_EXPIRED’ undeclared (first use in this function)
mod_tls.c:2753: error: ‘X509_V_ERR_CERT_REVOKED’ undeclared (first use in this function)
mod_tls.c:2754: error: ‘X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT’ undeclared (first use in this function)
mod_tls.c:2755: error: ‘X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY’ undeclared (first use in this function)
mod_tls.c:2756: error: ‘X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE’ undeclared (first use in this function)
mod_tls.c:2758: warning: implicit declaration of function ‘X509_verify_cert_error_string’
mod_tls.c:2758: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:2762: error: ‘X509_V_ERR_INVALID_PURPOSE’ undeclared (first use in this function)
mod_tls.c:2764: warning: implicit declaration of function ‘X509_PURPOSE_get_count’
mod_tls.c:2767: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:2770: error: ‘X509_PURPOSE’ undeclared (first use in this function)
mod_tls.c:2770: error: ‘purp’ undeclared (first use in this function)
mod_tls.c:2770: warning: implicit declaration of function ‘X509_PURPOSE_get0’
mod_tls.c:2771: warning: implicit declaration of function ‘X509_PURPOSE_get0_name’
mod_tls.c:2771: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
mod_tls.c:2778: error: ‘X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN’ undeclared (first use in this function)
mod_tls.c:2785: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:2791: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
mod_tls.c: At top level:
mod_tls.c:2803: error: expected declaration specifiers or ‘...’ before ‘X509_STORE_CTX’
mod_tls.c: In function ‘tls_verify_crl’:
mod_tls.c:2804: error: ‘X509_OBJECT’ undeclared (first use in this function)
mod_tls.c:2804: error: expected ‘;’ before ‘obj’
mod_tls.c:2805: error: ‘X509_NAME’ undeclared (first use in this function)
mod_tls.c:2805: error: ‘subject’ undeclared (first use in this function)
mod_tls.c:2805: error: ‘issuer’ undeclared (first use in this function)
mod_tls.c:2805: warning: left-hand operand of comma expression has no effect
mod_tls.c:2806: error: ‘X509’ undeclared (first use in this function)
mod_tls.c:2806: error: ‘xs’ undeclared (first use in this function)
mod_tls.c:2807: error: ‘X509_CRL’ undeclared (first use in this function)
mod_tls.c:2807: error: ‘crl’ undeclared (first use in this function)
mod_tls.c:2808: error: ‘X509_REVOKED’ undeclared (first use in this function)
mod_tls.c:2808: error: ‘revoked’ undeclared (first use in this function)
mod_tls.c:2809: error: ‘X509_STORE_CTX’ undeclared (first use in this function)
mod_tls.c:2809: error: expected ‘;’ before ‘store_ctx’
mod_tls.c:2816: error: ‘tls_crl_store’ undeclared (first use in this function)
mod_tls.c:2825: error: ‘ctx’ undeclared (first use in this function)
mod_tls.c:2862: error: ‘obj’ undeclared (first use in this function)
mod_tls.c:2869: warning: implicit declaration of function ‘X509_STORE_CTX_init’
mod_tls.c:2869: error: ‘store_ctx’ undeclared (first use in this function)
mod_tls.c:2872: warning: implicit declaration of function ‘X509_STORE_get_by_subject’
mod_tls.c:2872: error: ‘X509_LU_CRL’ undeclared (first use in this function)
mod_tls.c:2873: warning: implicit declaration of function ‘X509_STORE_CTX_cleanup’
mod_tls.c:2878: error: ‘EVP_PKEY’ undeclared (first use in this function)
mod_tls.c:2878: error: ‘pubkey’ undeclared (first use in this function)
mod_tls.c:2881: error: ‘BIO’ undeclared (first use in this function)
mod_tls.c:2881: error: ‘b’ undeclared (first use in this function)
mod_tls.c:2884: warning: implicit declaration of function ‘X509_NAME_print’
mod_tls.c:2887: warning: implicit declaration of function ‘ASN1_UTCTIME_print’
mod_tls.c:2892: warning: implicit declaration of function ‘BIO_read’
mod_tls.c:2904: warning: implicit declaration of function ‘X509_get_pubkey’
mod_tls.c:2907: warning: implicit declaration of function ‘X509_CRL_verify’
mod_tls.c:2912: error: ‘X509_V_ERR_CRL_SIGNATURE_FAILURE’ undeclared (first use in this function)
mod_tls.c:2913: warning: implicit declaration of function ‘X509_OBJECT_free_contents’
mod_tls.c:2921: warning: implicit declaration of function ‘X509_cmp_current_time’
mod_tls.c:2921: warning: implicit declaration of function ‘X509_CRL_get_nextUpdate’
mod_tls.c:2924: error: ‘X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD’ undeclared (first use in this function)
mod_tls.c:2932: error: ‘X509_V_ERR_CRL_HAS_EXPIRED’ undeclared (first use in this function)
mod_tls.c:2961: warning: implicit declaration of function ‘sk_X509_REVOKED_num’
mod_tls.c:2961: warning: implicit declaration of function ‘X509_CRL_get_REVOKED’
mod_tls.c:2964: error: ‘ASN1_INTEGER’ undeclared (first use in this function)
mod_tls.c:2964: error: ‘sn’ undeclared (first use in this function)
mod_tls.c:2966: warning: implicit declaration of function ‘sk_X509_REVOKED_value’
mod_tls.c:2969: warning: implicit declaration of function ‘ASN1_INTEGER_cmp’
mod_tls.c:2971: warning: initialization makes pointer from integer without a cast
mod_tls.c:2976: error: ‘X509_V_ERR_CERT_REVOKED’ undeclared (first use in this function)
mod_tls.c: At top level:
mod_tls.c:2988: error: expected ‘)’ before ‘*’ token
mod_tls.c:3014: error: expected ‘)’ before ‘*’ token
mod_tls.c: In function ‘tls_netio_close_cb’:
mod_tls.c:3072: error: ‘SSL’ undeclared (first use in this function)
mod_tls.c:3072: error: expected expression before ‘)’ token
mod_tls.c:3081: error: expected expression before ‘)’ token
mod_tls.c: In function ‘tls_netio_postopen_cb’:
mod_tls.c:3170: error: ‘X509’ undeclared (first use in this function)
mod_tls.c:3170: error: ‘ctrl_cert’ undeclared (first use in this function)
mod_tls.c:3170: error: ‘data_cert’ undeclared (first use in this function)
mod_tls.c:3170: warning: left-hand operand of comma expression has no effect
mod_tls.c:3183: error: ‘ctrl_ssl’ undeclared (first use in this function)
mod_tls.c:3184: error: ‘SSL’ undeclared (first use in this function)
mod_tls.c:3184: error: expected expression before ‘)’ token
mod_tls.c:3187: warning: implicit declaration of function ‘X509_cmp’
mod_tls.c:3192: error: expected expression before ‘)’ token
mod_tls.c:3209: warning: implicit declaration of function ‘tls_blinding_on’
mod_tls.c:3209: error: expected expression before ‘)’ token
mod_tls.c: In function ‘tls_netio_read_cb’:
mod_tls.c:3229: warning: implicit declaration of function ‘tls_read’
mod_tls.c:3229: error: ‘SSL’ undeclared (first use in this function)
mod_tls.c:3229: error: expected expression before ‘)’ token
mod_tls.c: In function ‘tls_netio_write_cb’:
mod_tls.c:3270: warning: implicit declaration of function ‘tls_write’
mod_tls.c:3270: error: ‘SSL’ undeclared (first use in this function)
mod_tls.c:3270: error: expected expression before ‘)’ token
mod_tls.c: In function ‘tls_auth’:
mod_tls.c:3583: error: ‘ctrl_ssl’ undeclared (first use in this function)
mod_tls.c: In function ‘tls_ccc’:
mod_tls.c:3667: error: ‘ctrl_ssl’ undeclared (first use in this function)
mod_tls.c: In function ‘tls_postparse_ev’:
mod_tls.c:4366: error: ‘PEM_BUFSIZE’ undeclared (first use in this function)
mod_tls.c:4383: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:4405: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c: In function ‘tls_sess_exit_ev’:
mod_tls.c:4441: warning: implicit declaration of function ‘RAND_write_file’
mod_tls.c: In function ‘tls_init’:
mod_tls.c:4472: warning: implicit declaration of function ‘SSLeay’
mod_tls.c:4472: error: ‘OPENSSL_VERSION_NUMBER’ undeclared (first use in this function)
mod_tls.c:4475: error: ‘OPENSSL_VERSION_TEXT’ undeclared (first use in this function)
mod_tls.c:4476: warning: implicit declaration of function ‘SSLeay_version’
mod_tls.c:4476: error: ‘SSLEAY_VERSION’ undeclared (first use in this function)
mod_tls.c:4476: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
mod_tls.c:4479: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
mod_tls.c:4495: error: expected ‘)’ before ‘OPENSSL_VERSION_TEXT’
mod_tls.c: In function ‘tls_sess_init’:
mod_tls.c:4610: warning: implicit declaration of function ‘SSL_CTX_set_default_passwd_cb’
mod_tls.c:4610: error: ‘ssl_ctx’ undeclared (first use in this function)
mod_tls.c:4611: warning: implicit declaration of function ‘SSL_CTX_set_default_passwd_cb_userdata’
make[1]: *** [mod_tls.o] Error 1
make[1]: Leaving directory `/usr/local/src/proftpd/proftpd-1.3.1/modules'
make: *** [modules] Error 2

Div. Tutorials die ich angeschaut habe, beziehen sich alle auf Fälle wo TLS bereits kompiliert wurde.


Kann mir jemand helfen?



Danke & Gruss

Aqualung
24.03.08, 22:15
libopenssl-devel

installieren.

HTH Aqualung

drcux
24.03.08, 23:27
Oder gleich ein fertiges RPM nutzen:

http://download.opensuse.org/repositories/server:/ftp/openSUSE_10.3/