Titel: Probleme bei Make mit Proftpd Beitrag von: honklein82 am 10. November 2005, 09:45:41 Servus @ all
Hab hier ein schwerliegendes Problem mit Proftpd + mod_tls Ich kann es ohne probleme configurieren mit ./configure --with-modules=mod_tls aber dann beim make bringt er fehler bei der mod_tls: ------------------------------------------------------------------------------------- mod_tls.c:1634: error: `client_cert' undeclared (first use in this function) mod_tls.c:1634: error: `file_cert' undeclared (first use in this function) mod_tls.c:1634: Warnung: left-hand operand of comma expression has no effect mod_tls.c:1681: Warnung: implicit declaration of function `ASN1_BIT_STRING_cmp' mod_tls.c: Auf höchster Ebene: mod_tls.c:1737: error: Syntaxfehler before '*' token mod_tls.c: In Funktion »tls_read«: mod_tls.c:1742: Warnung: implicit declaration of function `SSL_read' mod_tls.c:1742: error: `ssl' undeclared (first use in this function) mod_tls.c:1742: error: `buf' undeclared (first use in this function) mod_tls.c:1742: error: `len' undeclared (first use in this function) mod_tls.c:1750: error: `SSL_ERROR_WANT_READ' undeclared (first use in this function) mod_tls.c:1754: Warnung: implicit declaration of function `SSL_get_fd' mod_tls.c:1768: error: `SSL_ERROR_WANT_WRITE' undeclared (first use in this function) mod_tls.c:1786: error: `SSL_ERROR_ZERO_RETURN' undeclared (first use in this function) mod_tls.c: Auf höchster Ebene: mod_tls.c:1799: error: Syntaxfehler before '*' token mod_tls.c:1799: error: Syntaxfehler before '*' token mod_tls.c:1799: Warnung: return type defaults to `int' mod_tls.c: In Funktion »tls_rsa_cb«: mod_tls.c:1803: Warnung: implicit declaration of function `RSA_generate_key' mod_tls.c:1803: error: `keylength' undeclared (first use in this function) mod_tls.c:1803: error: `RSA_F4' undeclared (first use in this function) mod_tls.c:1803: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung mod_tls.c: In Funktion »tls_seed_prng«: mod_tls.c:1834: Warnung: implicit declaration of function `X509_get_default_cert_area' mod_tls.c:1834: Warnung: Format-Argument ist kein Zeiger (Argument 4) mod_tls.c:1839: Warnung: implicit declaration of function `RAND_load_file' mod_tls.c:1842: Warnung: implicit declaration of function `RAND_seed' mod_tls.c: Auf höchster Ebene: mod_tls.c:1861: error: Syntaxfehler before "X509" mod_tls.c:1906: error: Syntaxfehler before "X509_NAME" mod_tls.c: In Funktion »tls_setup_cert_dn_environ«: mod_tls.c:1909: Warnung: implicit declaration of function `sk_X509_NAME_ENTRY_num' mod_tls.c:1909: error: `name' undeclared (first use in this function) mod_tls.c:1910: error: `X509_NAME_ENTRY' undeclared (first use in this function) mod_tls.c:1910: error: `entry' undeclared (first use in this function) mod_tls.c:1910: Warnung: implicit declaration of function `sk_X509_NAME_ENTRY_value' mod_tls.c:1911: Warnung: implicit declaration of function `OBJ_obj2nid' mod_tls.c:1914: error: `NID_countryName' undeclared (first use in this function) mod_tls.c:1915: error: `env_prefix' undeclared (first use in this function) mod_tls.c:1920: error: `NID_commonName' undeclared (first use in this function) mod_tls.c:1926: error: `NID_description' undeclared (first use in this function) mod_tls.c:1932: error: `NID_givenName' undeclared (first use in this function) mod_tls.c:1938: error: `NID_initials' undeclared (first use in this function) mod_tls.c:1944: error: `NID_localityName' undeclared (first use in this function) mod_tls.c:1950: error: `NID_organizationName' undeclared (first use in this function) mod_tls.c:1956: error: `NID_organizationalUnitName' undeclared (first use in this function) mod_tls.c:1962: error: `NID_stateOrProvinceName' undeclared (first use in this function) mod_tls.c:1968: error: `NID_surname' undeclared (first use in this function) mod_tls.c:1974: error: `NID_title' undeclared (first use in this function) mod_tls.c:1983: error: `NID_uniqueIdentifier' undeclared (first use in this function) mod_tls.c:1990: error: `NID_pkcs9_emailAddress' undeclared (first use in this function) mod_tls.c: Auf höchster Ebene: mod_tls.c:2002: error: Syntaxfehler before "X509" mod_tls.c: In Funktion »tls_setup_cert_environ«: mod_tls.c:2005: error: `BIO' undeclared (first use in this function) mod_tls.c:2005: error: `bio' undeclared (first use in this function) mod_tls.c:2009: error: `ASN1_INTEGER' undeclared (first use in this function) mod_tls.c:2009: error: `serial' undeclared (first use in this function) mod_tls.c:2009: Warnung: implicit declaration of function `X509_get_serialNumber' mod_tls.c:2009: error: `cert' undeclared (first use in this function) mod_tls.c:2011: Warnung: implicit declaration of function `X509_get_version' mod_tls.c:2011: Warnung: long unsigned int Format, int Argument (Argument 3) mod_tls.c:2013: error: `env_prefix' undeclared (first use in this function) mod_tls.c:2017: Warnung: implicit declaration of function `ASN1_INTEGER_get' mod_tls.c:2017: Warnung: long unsigned int Format, int Argument (Argument 3) mod_tls.c:2034: Warnung: implicit declaration of function `X509_get_issuer_name' mod_tls.c:2042: Warnung: implicit declaration of function `ASN1_TIME_print' mod_tls.c:2042: Warnung: implicit declaration of function `X509_get_notBefore' mod_tls.c:2049: Warnung: implicit declaration of function `X509_get_notAfter' mod_tls.c:2056: Warnung: implicit declaration of function `i2a_ASN1_OBJECT' mod_tls.c:2071: Warnung: implicit declaration of function `PEM_write_bio_X509' mod_tls.c: Auf höchster Ebene: mod_tls.c:2078: error: Syntaxfehler before '*' token mod_tls.c: In Funktion »tls_setup_environ«: mod_tls.c:2079: error: `X509' undeclared (first use in this function) mod_tls.c:2079: error: `cert' undeclared (first use in this function) mod_tls.c:2080: error: `sk_cert_chain' undeclared (first use in this function) mod_tls.c:2087: error: `SSL_CIPHER' undeclared (first use in this function) mod_tls.c:2087: error: `cipher' undeclared (first use in this function) mod_tls.c:2088: error: `SSL_SESSION' undeclared (first use in this function) mod_tls.c:2088: error: `ssl_session' undeclared (first use in this function) mod_tls.c:2093: error: `ssl' undeclared (first use in this function) mod_tls.c:2096: Warnung: implicit declaration of function `SSL_get_session' mod_tls.c:2097: error: `SSL_MAX_SSL_SESSION_ID_LENGTH' undeclared (first use in this function) mod_tls.c:2097: Warnung: unused variable `buf' mod_tls.c:2109: Warnung: implicit declaration of function `SSL_get_current_cipher' mod_tls.c:2114: Warnung: implicit declaration of function `SSL_CIPHER_get_name' mod_tls.c:2116: Warnung: implicit declaration of function `SSL_CIPHER_get_bits' mod_tls.c:2137: error: `OPENSSL_VERSION_TEXT' undeclared (first use in this function) mod_tls.c:2141: Warnung: implicit declaration of function `SSL_get_peer_cert_chain' mod_tls.c:2145: error: `BIO' undeclared (first use in this function) mod_tls.c:2145: error: `bio' undeclared (first use in this function) mod_tls.c:2148: Warnung: implicit declaration of function `sk_X509_num' mod_tls.c:2151: Warnung: implicit declaration of function `sk_X509_value' mod_tls.c:2165: Warnung: implicit declaration of function `SSL_get_certificate' mod_tls.c: Auf höchster Ebene: mod_tls.c:2183: error: Syntaxfehler before "X509_STORE_CTX" mod_tls.c: In Funktion »tls_verify_cb«: mod_tls.c:2191: error: `ok' undeclared (first use in this function) mod_tls.c:2191: error: `ctx' undeclared (first use in this function) mod_tls.c:2194: error: `X509' undeclared (first use in this function) mod_tls.c:2194: error: `cert' undeclared (first use in this function) mod_tls.c:2194: Warnung: implicit declaration of function `X509_STORE_CTX_get_current_cert' mod_tls.c:2195: Warnung: implicit declaration of function `X509_STORE_CTX_get_error_depth' mod_tls.c:2205: Warnung: implicit declaration of function `X509_STORE_CTX_set_error' mod_tls.c:2205: error: `X509_V_ERR_CERT_CHAIN_TOO_LONG' undeclared (first use in this function) mod_tls.c:2209: error: `X509_V_ERR_CERT_HAS_EXPIRED' undeclared (first use in this function) mod_tls.c:2210: error: `X509_V_ERR_CERT_REVOKED' undeclared (first use in this function) mod_tls.c:2211: error: `X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT' undeclared (first use in this function) mod_tls.c:2212: error: `X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY' undeclared (first use in this function) mod_tls.c:2213: error: `X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE' undeclared (first use in this function) mod_tls.c:2214: Warnung: implicit declaration of function `X509_verify_cert_error_string' mod_tls.c:2214: Warnung: Format-Argument ist kein Zeiger (Argument 2) mod_tls.c:2218: error: `X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN' undeclared (first use in this function) mod_tls.c:2225: Warnung: Format-Argument ist kein Zeiger (Argument 2) mod_tls.c:2231: Warnung: Format-Argument ist kein Zeiger (Argument 2) mod_tls.c: Auf höchster Ebene: mod_tls.c:2243: error: Syntaxfehler before "X509_STORE_CTX" mod_tls.c: In Funktion »tls_verify_crl«: mod_tls.c:2244: error: `X509_OBJECT' undeclared (first use in this function) mod_tls.c:2244: error: Syntaxfehler before "obj" mod_tls.c:2245: error: `X509_NAME' undeclared (first use in this function) mod_tls.c:2245: error: `subject' undeclared (first use in this function) mod_tls.c:2245: error: `issuer' undeclared (first use in this function) mod_tls.c:2245: Warnung: left-hand operand of comma expression has no effect mod_tls.c:2246: error: `X509' undeclared (first use in this function) mod_tls.c:2246: error: `xs' undeclared (first use in this function) mod_tls.c:2247: error: `X509_CRL' undeclared (first use in this function) mod_tls.c:2247: error: `crl' undeclared (first use in this function) mod_tls.c:2248: error: `X509_REVOKED' undeclared (first use in this function) mod_tls.c:2248: error: `revoked' undeclared (first use in this function) mod_tls.c:2249: error: `X509_STORE_CTX' undeclared (first use in this function) mod_tls.c:2249: error: Syntaxfehler before "store_ctx" mod_tls.c:2257: error: `ok' undeclared (first use in this function) mod_tls.c:2261: error: `ctx' undeclared (first use in this function) mod_tls.c:2298: error: `obj' undeclared (first use in this function) mod_tls.c:2299: Warnung: implicit declaration of function `X509_STORE_CTX_init' mod_tls.c:2299: error: `store_ctx' undeclared (first use in this function) mod_tls.c:2300: Warnung: implicit declaration of function `X509_STORE_get_by_subject' mod_tls.c:2300: error: `X509_LU_CRL' undeclared (first use in this function) mod_tls.c:2301: Warnung: implicit declaration of function `X509_STORE_CTX_cleanup' mod_tls.c:2307: Warnung: implicit declaration of function `X509_CRL_verify' mod_tls.c:2307: Warnung: implicit declaration of function `X509_get_pubkey' mod_tls.c:2309: error: `X509_V_ERR_CRL_SIGNATURE_FAILURE' undeclared (first use in this function) mod_tls.c:2310: Warnung: implicit declaration of function `X509_OBJECT_free_contents' mod_tls.c:2316: Warnung: implicit declaration of function `X509_cmp_current_time' mod_tls.c:2316: Warnung: implicit declaration of function `X509_CRL_get_nextUpdate' mod_tls.c:2320: error: `X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD' undeclared (first use in this function) mod_tls.c:2328: error: `X509_V_ERR_CRL_HAS_EXPIRED' undeclared (first use in this function) mod_tls.c:2349: Warnung: implicit declaration of function `sk_X509_REVOKED_num' mod_tls.c:2349: Warnung: implicit declaration of function `X509_CRL_get_REVOKED' mod_tls.c:2352: Warnung: implicit declaration of function `sk_X509_REVOKED_value' mod_tls.c:2354: Warnung: implicit declaration of function `ASN1_INTEGER_cmp' mod_tls.c:2362: error: `X509_V_ERR_CERT_REVOKED' undeclared (first use in this function) mod_tls.c: Auf höchster Ebene: mod_tls.c:2374: error: Syntaxfehler before '*' token mod_tls.c: In Funktion »tls_write«: mod_tls.c:2377: Warnung: implicit declaration of function `SSL_write' mod_tls.c:2377: error: `ssl' undeclared (first use in this function) mod_tls.c:2377: error: `buf' undeclared (first use in this function) mod_tls.c:2377: error: `len' undeclared (first use in this function) mod_tls.c:2386: error: `SSL_ERROR_WANT_WRITE' undeclared (first use in this function) mod_tls.c: Auf höchster Ebene: mod_tls.c:2400: error: Syntaxfehler before '*' token mod_tls.c: In Funktion »tls_x509_name_oneline«: mod_tls.c:2409: Warnung: implicit declaration of function `X509_NAME_oneline' mod_tls.c:2409: error: `x509_name' undeclared (first use in this function) mod_tls.c:2409: Warnung: return erzeugt Zeiger von Ganzzahl ohne Typkonvertierung mod_tls.c: In Funktion »tls_netio_close_cb«: mod_tls.c:2450: error: `SSL' undeclared (first use in this function) mod_tls.c:2450: error: Syntaxfehler before ')' token mod_tls.c:2459: error: Syntaxfehler before ')' token mod_tls.c: In Funktion »tls_netio_postopen_cb«: mod_tls.c:2547: error: `X509' undeclared (first use in this function) mod_tls.c:2547: error: `ctrl_cert' undeclared (first use in this function) mod_tls.c:2547: error: `data_cert' undeclared (first use in this function) mod_tls.c:2547: Warnung: left-hand operand of comma expression has no effect mod_tls.c:2561: error: `SSL' undeclared (first use in this function) mod_tls.c:2561: error: Syntaxfehler before ')' token mod_tls.c:2564: Warnung: implicit declaration of function `X509_cmp' mod_tls.c:2569: error: Syntaxfehler before ')' token mod_tls.c:2586: error: Syntaxfehler before ')' token mod_tls.c: In Funktion »tls_netio_read_cb«: mod_tls.c:2606: error: `SSL' undeclared (first use in this function) mod_tls.c:2606: error: Syntaxfehler before ')' token mod_tls.c:2606: Warnung: left-hand operand of comma expression has no effect mod_tls.c:2606: Warnung: left-hand operand of comma expression has no effect mod_tls.c:2606: error: Syntaxfehler before ')' token mod_tls.c: In Funktion »tls_netio_write_cb«: mod_tls.c:2647: error: `SSL' undeclared (first use in this function) mod_tls.c:2647: error: Syntaxfehler before ')' token mod_tls.c: In Funktion »tls_postparse_ev«: mod_tls.c:3665: error: `PEM_BUFSIZE' undeclared (first use in this function) mod_tls.c:3681: Warnung: Format-Argument ist kein Zeiger (Argument 2) mod_tls.c:3702: Warnung: Format-Argument ist kein Zeiger (Argument 2) mod_tls.c: In Funktion »tls_sess_exit_ev«: mod_tls.c:3738: Warnung: implicit declaration of function `RAND_write_file' mod_tls.c: In Funktion »tls_init«: mod_tls.c:3778: error: Syntaxfehler before "OPENSSL_VERSION_TEXT" mod_tls.c: In Funktion »tls_sess_init«: mod_tls.c:3891: Warnung: implicit declaration of function `SSL_CTX_set_default_passwd_cb' mod_tls.c:3892: Warnung: implicit declaration of function `SSL_CTX_set_default_passwd_cb_userdata' make[1]: *** [mod_tls.o] Fehler 1 make[1]: Leaving directory `/aaaa/proftpd-1.3.0rc3/modules' ------------------------------------------------------------------------------------ Mein System: Debian Sarge Proftpd 1.3.0rc3 openssl Hab schon gegoogelt aber alles was ich gefunden habe hat nichts gebracht auch nicht LDFLAGS=-ldl und danach das ./configure ausfürhen. Danke für jede Hilfe. |