PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : proftpd mit mod_tls compiliern



Thhunder
27.05.06, 13:16
Heyho,
also folgendes ich habe mir die file von
ftp://ftp.de.proftpd.org/pub/Linux/proftpd/distrib/source/proftpd-1.2.10.tar.gz
gezogen und bin nach diesem howto angefangen:
http://www.proftpd.de/HowTo_SFTP_TLS_verschluesse.55.0.html
unter schritt 3 ab dem punkt das ich kein proftp drauf habe und es "mal eben" backen wollte.....
habe ein Suse 9.3 system.
bei dem

./configure --with-modules=mod_tls
habe ich keine probleme feststellen können nur wenn ich "make"'n will meckert er mit folgender meldung und bricht dann das ganze scheinbar ab



Running make from top level directory.
cd ../ && make all
make[1]: Entering directory `/root/files/proftpd-1.2.10'
cd lib/ && make lib
make[2]: Entering directory `/root/files/proftpd-1.2.10/lib'
make[2]: Nothing to be done for `lib'.
make[2]: Leaving directory `/root/files/proftpd-1.2.10/lib'
cd src/ && make src
make[2]: Entering directory `/root/files/proftpd-1.2.10/src'
make[2]: Nothing to be done for `src'.
make[2]: Leaving directory `/root/files/proftpd-1.2.10/src'
cd modules/ && make modules
make[2]: Entering directory `/root/files/proftpd-1.2.10/modules'
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_tls.c
mod_tls.c:40:25: openssl/ssl.h: No such file or directory
mod_tls.c:41:25: openssl/evp.h: No such file or directory
mod_tls.c:42:28: openssl/x509v3.h: No such file or directory
mod_tls.c:43:25: openssl/err.h: No such file or directory
mod_tls.c:44:26: openssl/rand.h: No such file or directory
mod_tls.c:74: error: syntax error before '*' token
mod_tls.c:74: warning: return type defaults to `int'
mod_tls.c: In function `get_dh512':
mod_tls.c:75: error: `DH' undeclared (first use in this function)
mod_tls.c:75: error: (Each undeclared identifier is reported only once
mod_tls.c:75: error: for each function it appears in.)
mod_tls.c:75: error: `dh' undeclared (first use in this function)
mod_tls.c:77: warning: implicit declaration of function `DH_new'
mod_tls.c:80: warning: implicit declaration of function `BN_bin2bn'
mod_tls.c: At top level:
mod_tls.c:111: error: syntax error before '*' token
mod_tls.c:111: warning: return type defaults to `int'
mod_tls.c: In function `get_dh768':
mod_tls.c:112: error: `DH' undeclared (first use in this function)
mod_tls.c:112: error: `dh' undeclared (first use in this function)
mod_tls.c: At top level:
mod_tls.c:152: error: syntax error before '*' token
mod_tls.c:152: warning: return type defaults to `int'
mod_tls.c: In function `get_dh1024':
mod_tls.c:153: error: `DH' undeclared (first use in this function)
mod_tls.c:153: error: `dh' undeclared (first use in this function)
mod_tls.c: At top level:
mod_tls.c:197: error: syntax error before '*' token
mod_tls.c:197: warning: return type defaults to `int'
mod_tls.c: In function `get_dh1536':
mod_tls.c:198: error: `DH' undeclared (first use in this function)
mod_tls.c:198: error: `dh' undeclared (first use in this function)
mod_tls.c: At top level:
mod_tls.c:251: error: syntax error before '*' token
mod_tls.c:251: warning: return type defaults to `int'
mod_tls.c: In function `get_dh2048':
mod_tls.c:252: error: `DH' undeclared (first use in this function)
mod_tls.c:252: error: `dh' undeclared (first use in this function)
mod_tls.c: At top level:
mod_tls.c:383: error: syntax error before '*' token
mod_tls.c:383: warning: type defaults to `int' in declaration of `ctrl_ssl'
mod_tls.c:383: warning: data definition has no type or storage class
mod_tls.c:384: error: syntax error before '*' token
mod_tls.c:384: warning: type defaults to `int' in declaration of `ssl_ctx'
mod_tls.c:384: warning: data definition has no type or storage class
mod_tls.c:385: error: syntax error before '*' token
mod_tls.c:385: warning: type defaults to `int' in declaration of `crl_store'
mod_tls.c:385: warning: data definition has no type or storage class
mod_tls.c:386: error: syntax error before '*' token
mod_tls.c:386: warning: type defaults to `int' in declaration of `tls_tmp_dh'
mod_tls.c:386: warning: data definition has no type or storage class
mod_tls.c:387: error: syntax error before '*' token
mod_tls.c:387: warning: type defaults to `int' in declaration of `tls_tmp_rsa'
mod_tls.c:387: warning: data definition has no type or storage class
mod_tls.c:391: error: syntax error before '*' token
mod_tls.c:406: error: syntax error before '*' token
mod_tls.c:406: error: syntax error before '*' token
mod_tls.c:406: warning: type defaults to `int' in declaration of `tls_rsa_cb'
mod_tls.c:406: warning: data definition has no type or storage class
mod_tls.c:408: error: syntax error before '*' token
mod_tls.c:409: error: syntax error before "X509_STORE_CTX"
mod_tls.c:410: error: syntax error before "X509_STORE_CTX"
mod_tls.c:411: error: syntax error before '*' token
mod_tls.c:413: error: syntax error before '*' token
mod_tls.c: In function `tls_check_client_cert':
mod_tls.c:414: error: `X509' undeclared (first use in this function)
mod_tls.c:414: error: `cert' undeclared (first use in this function)
mod_tls.c:415: warning: implicit declaration of function `STACK_OF'
mod_tls.c:415: error: `GENERAL_NAME' undeclared (first use in this function)
mod_tls.c:415: error: `sk_alt_names' undeclared (first use in this function)
mod_tls.c:434: warning: implicit declaration of function `SSL_get_peer_certificate'
mod_tls.c:434: error: `ssl' undeclared (first use in this function)
mod_tls.c:436: warning: implicit declaration of function `X509_get_ext_d2i'
mod_tls.c:436: error: `NID_subject_alt_name' undeclared (first use in this function)
mod_tls.c:439: warning: implicit declaration of function `sk_GENERAL_NAME_num'
mod_tls.c:442: error: `name' undeclared (first use in this function)
mod_tls.c:442: warning: implicit declaration of function `sk_GENERAL_NAME_value'
mod_tls.c:446: error: `GEN_DNS' undeclared (first use in this function)
mod_tls.c:451: error: `conn' undeclared (first use in this function)
mod_tls.c:455: warning: implicit declaration of function `GENERAL_NAME_free'
mod_tls.c:456: warning: implicit declaration of function `sk_GENERAL_NAME_free'
mod_tls.c:457: warning: implicit declaration of function `X509_free'
mod_tls.c:467: error: `GEN_IPADD' undeclared (first use in this function)
mod_tls.c: In function `tls_passphrase_cb':
mod_tls.c:550: warning: implicit declaration of function `EVP_read_pw_string'
mod_tls.c:570: warning: implicit declaration of function `PEMerr'
mod_tls.c:570: error: `PEM_F_DEF_CALLBACK' undeclared (first use in this function)
mod_tls.c:570: error: `PEM_R_PROBLEMS_GETTING_PASSWORD' undeclared (first use in this function)
mod_tls.c: In function `tls_get_passphrase':
mod_tls.c:578: error: `EVP_PKEY' undeclared (first use in this function)
mod_tls.c:578: error: `pkey' undeclared (first use in this function)
mod_tls.c:589: warning: implicit declaration of function `SYSerr'
mod_tls.c:589: error: `SYS_F_FOPEN' undeclared (first use in this function)
mod_tls.c:614: warning: implicit declaration of function `PEM_read_PrivateKey'
mod_tls.c:619: warning: implicit declaration of function `ERR_clear_error'
mod_tls.c:641: warning: implicit declaration of function `EVP_PKEY_free'
mod_tls.c: At top level:
mod_tls.c:793: error: syntax error before '*' token
mod_tls.c:793: error: syntax error before '*' token
mod_tls.c:793: warning: return type defaults to `int'
mod_tls.c: In function `tls_dh_cb':
mod_tls.c:801: warning: implicit declaration of function `PEM_read_DHparams'
mod_tls.c:801: warning: assignment makes pointer from integer without a cast
mod_tls.c:813: error: `keylength' undeclared (first use in this function)
mod_tls.c: At top level:
mod_tls.c:840: error: syntax error before '*' token
mod_tls.c: In function `tls_blinding_on':
mod_tls.c:841: error: `EVP_PKEY' undeclared (first use in this function)
mod_tls.c:841: error: `pkey' undeclared (first use in this function)
mod_tls.c:842: error: `RSA' undeclared (first use in this function)
mod_tls.c:842: error: `rsa' undeclared (first use in this function)
mod_tls.c:848: warning: implicit declaration of function `SSL_get_privatekey'
mod_tls.c:848: error: `ssl' undeclared (first use in this function)
mod_tls.c:851: warning: implicit declaration of function `EVP_PKEY_get1_RSA'
mod_tls.c:854: warning: implicit declaration of function `RSA_blinding_on'
mod_tls.c:856: warning: implicit declaration of function `ERR_error_string'
mod_tls.c:856: warning: implicit declaration of function `ERR_get_error'
mod_tls.c:856: warning: format argument is not a pointer (arg 2)
mod_tls.c:863: warning: implicit declaration of function `RSA_free'
mod_tls.c: In function `tls_init_ctxt':
mod_tls.c:877: warning: implicit declaration of function `SSL_load_error_strings'
mod_tls.c:878: warning: implicit declaration of function `SSL_library_init'
mod_tls.c:889: warning: implicit declaration of function `SSL_CTX_new'
mod_tls.c:889: warning: implicit declaration of function `SSLv23_server_method'
mod_tls.c:889: warning: assignment makes pointer from integer without a cast
mod_tls.c:891: warning: format argument is not a pointer (arg 2)
mod_tls.c:903: warning: implicit declaration of function `SSL_CTX_set_options'
mod_tls.c:903: error: `SSL_OP_ALL' undeclared (first use in this function)
mod_tls.c:903: error: `SSL_OP_NO_SSLv2' undeclared (first use in this function)
mod_tls.c:907: warning: implicit declaration of function `SSL_CTX_set_session_cache_mode'
mod_tls.c:907: error: `SSL_SESS_CACHE_SERVER' undeclared (first use in this function)
mod_tls.c:908: warning: implicit declaration of function `SSL_CTX_set_session_id_context'
mod_tls.c:910: warning: implicit declaration of function `SSL_CTX_set_tmp_dh_callback'
mod_tls.c: In function `tls_init_server':
mod_tls.c:938: warning: implicit declaration of function `SSL_CTX_set_ssl_version'
mod_tls.c:938: warning: implicit declaration of function `SSLv3_server_method'
mod_tls.c:941: warning: implicit declaration of function `TLSv1_server_method'
mod_tls.c:950: warning: implicit declaration of function `SSL_CTX_load_verify_locations'
mod_tls.c:955: warning: format argument is not a pointer (arg 4)
mod_tls.c:968: warning: implicit declaration of function `SSL_CTX_set_default_verify_paths'
mod_tls.c:970: warning: format argument is not a pointer (arg 2)
mod_tls.c:974: error: `SSL_VERIFY_PEER' undeclared (first use in this function)
mod_tls.c:982: error: `SSL_VERIFY_FAIL_IF_NO_PEER_CERT' undeclared (first use in this function)
mod_tls.c:984: warning: implicit declaration of function `SSL_CTX_set_verify'
mod_tls.c:994: warning: implicit declaration of function `SSL_CTX_set_verify_depth'
mod_tls.c:1004: warning: implicit declaration of function `SSL_CTX_use_certificate_chain_file'
mod_tls.c:1006: warning: format argument is not a pointer (arg 3)
mod_tls.c:1017: error: `X509' undeclared (first use in this function)
mod_tls.c:1017: error: `x509' undeclared (first use in this function)
mod_tls.c:1017: warning: implicit declaration of function `PEM_read_X509'
mod_tls.c:1020: warning: implicit declaration of function `SSL_CTX_add_client_CA'
mod_tls.c:1024: warning: format argument is not a pointer (arg 3)
mod_tls.c:1060: warning: format argument is not a pointer (arg 3)
mod_tls.c:1087: warning: implicit declaration of function `SSL_CTX_use_certificate_file'
mod_tls.c:1088: error: `X509_FILETYPE_PEM' undeclared (first use in this function)
mod_tls.c:1094: warning: format argument is not a pointer (arg 3)
mod_tls.c:1098: warning: implicit declaration of function `SSL_CTX_set_tmp_rsa_callback'
mod_tls.c:1107: warning: implicit declaration of function `SSL_CTX_use_PrivateKey_file'
mod_tls.c:1114: warning: format argument is not a pointer (arg 3)
mod_tls.c:1127: warning: format argument is not a pointer (arg 3)
mod_tls.c:1145: warning: format argument is not a pointer (arg 3)
mod_tls.c:1152: warning: implicit declaration of function `X509_STORE_new'
mod_tls.c:1152: warning: assignment makes pointer from integer without a cast
mod_tls.c:1153: warning: implicit declaration of function `X509_STORE_load_locations'
mod_tls.c:1155: warning: implicit declaration of function `SSL_CTX_set_cipher_list'
mod_tls.c: In function `tls_accept':
mod_tls.c:1200: error: `SSL' undeclared (first use in this function)
mod_tls.c:1200: error: `ssl' undeclared (first use in this function)
mod_tls.c:1207: warning: implicit declaration of function `SSL_new'
mod_tls.c:1209: warning: format argument is not a pointer (arg 2)
mod_tls.c:1214: warning: implicit declaration of function `SSL_set_fd'
mod_tls.c:1222: warning: implicit declaration of function `SSL_accept'
mod_tls.c:1224: warning: implicit declaration of function `SSL_get_error'
mod_tls.c:1235: error: `SSL_ERROR_WANT_READ' undeclared (first use in this function)
mod_tls.c:1236: error: `SSL_ERROR_WANT_WRITE' undeclared (first use in this function)
mod_tls.c:1239: error: `SSL_ERROR_ZERO_RETURN' undeclared (first use in this function)
mod_tls.c:1243: error: `SSL_ERROR_WANT_X509_LOOKUP' undeclared (first use in this function)
mod_tls.c:1247: error: `SSL_ERROR_SYSCALL' undeclared (first use in this function)
mod_tls.c:1270: error: `SSL_ERROR_SSL' undeclared (first use in this function)
mod_tls.c:1293: warning: implicit declaration of function `SSL_get_cipher_version'
mod_tls.c:1293: warning: implicit declaration of function `SSL_get_cipher_name'
mod_tls.c:1294: warning: implicit declaration of function `SSL_get_cipher_bits'
mod_tls.c:1294: warning: format argument is not a pointer (arg 2)
mod_tls.c:1294: warning: format argument is not a pointer (arg 3)
mod_tls.c:1324: warning: format argument is not a pointer (arg 2)
mod_tls.c:1324: warning: format argument is not a pointer (arg 3)
mod_tls.c: In function `tls_cleanup':
mod_tls.c:1334: warning: implicit declaration of function `X509_STORE_free'
mod_tls.c:1339: warning: implicit declaration of function `SSL_CTX_free'
mod_tls.c:1344: warning: implicit declaration of function `DH_free'
mod_tls.c:1353: warning: implicit declaration of function `ERR_free_strings'
mod_tls.c:1354: warning: implicit declaration of function `ERR_remove_state'
mod_tls.c:1355: warning: implicit declaration of function `EVP_cleanup'
mod_tls.c: At top level:
mod_tls.c:1358: error: syntax error before '*' token
mod_tls.c: In function `tls_end_session':
mod_tls.c:1359: error: `ssl' undeclared (first use in this function)
mod_tls.c:1362: warning: implicit declaration of function `SSL_shutdown'
mod_tls.c:1367: error: `strms' undeclared (first use in this function)
mod_tls.c:1388: warning: implicit declaration of function `SSL_free'
mod_tls.c: In function `tls_get_errors':
mod_tls.c:1394: error: `BIO' undeclared (first use in this function)
mod_tls.c:1394: error: `bio' undeclared (first use in this function)
mod_tls.c:1404: warning: implicit declaration of function `BIO_new'
mod_tls.c:1404: warning: implicit declaration of function `BIO_s_mem'
mod_tls.c:1407: warning: implicit declaration of function `BIO_printf'
mod_tls.c:1411: warning: implicit declaration of function `BIO_get_mem_data'
mod_tls.c:1415: warning: implicit declaration of function `BIO_free'
mod_tls.c: In function `tls_get_subj_name':
mod_tls.c:1457: error: `X509' undeclared (first use in this function)
mod_tls.c:1457: error: `cert' undeclared (first use in this function)
mod_tls.c:1460: warning: implicit declaration of function `X509_get_subject_name'
mod_tls.c: In function `tls_fatal_error':
mod_tls.c:1471: error: `SSL_ERROR_NONE' undeclared (first use in this function)
mod_tls.c:1474: error: `SSL_ERROR_SSL' undeclared (first use in this function)
mod_tls.c:1478: error: `SSL_ERROR_WANT_READ' undeclared (first use in this function)
mod_tls.c:1482: error: `SSL_ERROR_WANT_WRITE' undeclared (first use in this function)
mod_tls.c:1486: error: `SSL_ERROR_WANT_X509_LOOKUP' undeclared (first use in this function)
mod_tls.c:1490: error: `SSL_ERROR_SYSCALL' undeclared (first use in this function)
mod_tls.c:1519: error: `SSL_ERROR_ZERO_RETURN' undeclared (first use in this function)
mod_tls.c:1523: error: `SSL_ERROR_WANT_CONNECT' undeclared (first use in this function)
mod_tls.c: In function `tls_dotlogin_allow':
mod_tls.c:1545: error: `X509' undeclared (first use in this function)
mod_tls.c:1545: error: `client_cert' undeclared (first use in this function)
mod_tls.c:1545: error: `file_cert' undeclared (first use in this function)
mod_tls.c:1545: warning: left-hand operand of comma expression has no effect
mod_tls.c:1589: warning: implicit declaration of function `ASN1_BIT_STRING_cmp'
mod_tls.c: At top level:
mod_tls.c:1632: error: syntax error before '*' token
mod_tls.c: In function `tls_read':
mod_tls.c:1636: warning: implicit declaration of function `SSL_read'
mod_tls.c:1636: error: `ssl' undeclared (first use in this function)
mod_tls.c:1636: error: `buf' undeclared (first use in this function)
mod_tls.c:1636: error: `len' undeclared (first use in this function)
mod_tls.c:1645: error: `SSL_ERROR_WANT_READ' undeclared (first use in this function)
mod_tls.c:1649: warning: implicit declaration of function `SSL_get_fd'
mod_tls.c:1663: error: `SSL_ERROR_ZERO_RETURN' undeclared (first use in this function)
mod_tls.c: At top level:
mod_tls.c:1676: error: syntax error before '*' token
mod_tls.c:1676: error: syntax error before '*' token
mod_tls.c:1676: warning: return type defaults to `int'
mod_tls.c: In function `tls_rsa_cb':
mod_tls.c:1680: warning: implicit declaration of function `RSA_generate_key'
mod_tls.c:1680: error: `keylength' undeclared (first use in this function)
mod_tls.c:1680: error: `RSA_F4' undeclared (first use in this function)
mod_tls.c:1680: warning: assignment makes pointer from integer without a cast
mod_tls.c: In function `tls_seed_prng':
mod_tls.c:1710: warning: implicit declaration of function `X509_get_default_cert_area'
mod_tls.c:1710: warning: format argument is not a pointer (arg 4)
mod_tls.c:1715: warning: implicit declaration of function `RAND_load_file'
mod_tls.c:1718: warning: implicit declaration of function `RAND_seed'
mod_tls.c: At top level:
mod_tls.c:1737: error: syntax error before "X509"
mod_tls.c:1781: error: syntax error before "X509_NAME"
mod_tls.c: In function `tls_setup_cert_dn_environ':
mod_tls.c:1784: warning: implicit declaration of function `sk_X509_NAME_ENTRY_num'
mod_tls.c:1784: error: `name' undeclared (first use in this function)
mod_tls.c:1785: error: `X509_NAME_ENTRY' undeclared (first use in this function)
mod_tls.c:1785: error: `entry' undeclared (first use in this function)
mod_tls.c:1785: warning: implicit declaration of function `sk_X509_NAME_ENTRY_value'
mod_tls.c:1786: warning: implicit declaration of function `OBJ_obj2nid'
mod_tls.c:1789: error: `NID_countryName' undeclared (first use in this function)
mod_tls.c:1790: error: `env_prefix' undeclared (first use in this function)
mod_tls.c:1795: error: `NID_commonName' undeclared (first use in this function)
mod_tls.c:1801: error: `NID_description' undeclared (first use in this function)
mod_tls.c:1807: error: `NID_givenName' undeclared (first use in this function)
mod_tls.c:1813: error: `NID_initials' undeclared (first use in this function)
mod_tls.c:1819: error: `NID_localityName' undeclared (first use in this function)
mod_tls.c:1825: error: `NID_organizationName' undeclared (first use in this function)
mod_tls.c:1831: error: `NID_organizationalUnitName' undeclared (first use in this function)
mod_tls.c:1837: error: `NID_stateOrProvinceName' undeclared (first use in this function)
mod_tls.c:1843: error: `NID_surname' undeclared (first use in this function)
mod_tls.c:1849: error: `NID_title' undeclared (first use in this function)
mod_tls.c:1858: error: `NID_uniqueIdentifier' undeclared (first use in this function)
mod_tls.c:1865: error: `NID_pkcs9_emailAddress' undeclared (first use in this function)
mod_tls.c: At top level:
mod_tls.c:1877: error: syntax error before "X509"
mod_tls.c: In function `tls_setup_cert_environ':
mod_tls.c:1880: error: `BIO' undeclared (first use in this function)
mod_tls.c:1880: error: `bio' undeclared (first use in this function)
mod_tls.c:1884: error: `ASN1_INTEGER' undeclared (first use in this function)
mod_tls.c:1884: error: `serial' undeclared (first use in this function)
mod_tls.c:1884: warning: implicit declaration of function `X509_get_serialNumber'
mod_tls.c:1884: error: `cert' undeclared (first use in this function)
mod_tls.c:1886: warning: implicit declaration of function `X509_get_version'
mod_tls.c:1886: warning: long unsigned int format, int arg (arg 3)
mod_tls.c:1888: error: `env_prefix' undeclared (first use in this function)
mod_tls.c:1892: warning: implicit declaration of function `ASN1_INTEGER_get'
mod_tls.c:1892: warning: long unsigned int format, int arg (arg 3)
mod_tls.c:1909: warning: implicit declaration of function `X509_get_issuer_name'
mod_tls.c:1917: warning: implicit declaration of function `ASN1_TIME_print'
mod_tls.c:1917: warning: implicit declaration of function `X509_get_notBefore'
mod_tls.c:1924: warning: implicit declaration of function `X509_get_notAfter'
mod_tls.c:1931: warning: implicit declaration of function `i2a_ASN1_OBJECT'
mod_tls.c:1946: warning: implicit declaration of function `PEM_write_bio_X509'
mod_tls.c: At top level:
mod_tls.c:1953: error: syntax error before '*' token
mod_tls.c: In function `tls_setup_environ':
mod_tls.c:1954: error: `X509' undeclared (first use in this function)
mod_tls.c:1954: error: `cert' undeclared (first use in this function)
mod_tls.c:1955: error: `sk_cert_chain' undeclared (first use in this function)
mod_tls.c:1962: error: `SSL_CIPHER' undeclared (first use in this function)
mod_tls.c:1962: error: `cipher' undeclared (first use in this function)
mod_tls.c:1963: error: `SSL_SESSION' undeclared (first use in this function)
mod_tls.c:1963: error: `ssl_session' undeclared (first use in this function)
mod_tls.c:1968: error: `ssl' undeclared (first use in this function)
mod_tls.c:1971: warning: implicit declaration of function `SSL_get_session'
mod_tls.c:1972: error: `SSL_MAX_SSL_SESSION_ID_LENGTH' undeclared (first use in this function)
mod_tls.c:1972: warning: unused variable `buf'
mod_tls.c:1984: warning: implicit declaration of function `SSL_get_current_cipher'
mod_tls.c:1989: warning: implicit declaration of function `SSL_CIPHER_get_name'
mod_tls.c:1991: warning: implicit declaration of function `SSL_CIPHER_get_bits'
mod_tls.c:2012: error: `OPENSSL_VERSION_TEXT' undeclared (first use in this function)
mod_tls.c:2016: warning: implicit declaration of function `SSL_get_peer_cert_chain'
mod_tls.c:2020: error: `BIO' undeclared (first use in this function)
mod_tls.c:2020: error: `bio' undeclared (first use in this function)
mod_tls.c:2023: warning: implicit declaration of function `sk_X509_num'
mod_tls.c:2026: warning: implicit declaration of function `sk_X509_value'
mod_tls.c:2037: warning: implicit declaration of function `SSL_get_certificate'
mod_tls.c: At top level:
mod_tls.c:2056: error: syntax error before "X509_STORE_CTX"
mod_tls.c: In function `tls_verify_cb':
mod_tls.c:2064: error: `ok' undeclared (first use in this function)
mod_tls.c:2064: error: `ctx' undeclared (first use in this function)
mod_tls.c:2067: error: `X509' undeclared (first use in this function)
mod_tls.c:2067: error: `cert' undeclared (first use in this function)
mod_tls.c:2067: warning: implicit declaration of function `X509_STORE_CTX_get_current_cert'
mod_tls.c:2068: warning: implicit declaration of function `X509_STORE_CTX_get_error_depth'
mod_tls.c:2078: warning: implicit declaration of function `X509_STORE_CTX_set_error'
mod_tls.c:2078: error: `X509_V_ERR_CERT_CHAIN_TOO_LONG' undeclared (first use in this function)
mod_tls.c:2082: error: `X509_V_ERR_CERT_HAS_EXPIRED' undeclared (first use in this function)
mod_tls.c:2083: error: `X509_V_ERR_CERT_REVOKED' undeclared (first use in this function)
mod_tls.c:2084: error: `X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT' undeclared (first use in this function)
mod_tls.c:2085: error: `X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY' undeclared (first use in this function)
mod_tls.c:2086: error: `X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE' undeclared (first use in this function)
mod_tls.c:2087: warning: implicit declaration of function `X509_verify_cert_error_string'
mod_tls.c:2087: warning: format argument is not a pointer (arg 2)
mod_tls.c:2091: error: `X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN' undeclared (first use in this function)
mod_tls.c:2098: warning: format argument is not a pointer (arg 2)
mod_tls.c:2104: warning: format argument is not a pointer (arg 2)
mod_tls.c: At top level:
mod_tls.c:2116: error: syntax error before "X509_STORE_CTX"
mod_tls.c: In function `tls_verify_crl':
mod_tls.c:2117: error: `X509_OBJECT' undeclared (first use in this function)
mod_tls.c:2117: error: syntax error before "obj"
mod_tls.c:2118: error: `X509_NAME' undeclared (first use in this function)
mod_tls.c:2118: error: `subject' undeclared (first use in this function)
mod_tls.c:2118: error: `issuer' undeclared (first use in this function)
mod_tls.c:2118: warning: left-hand operand of comma expression has no effect
mod_tls.c:2119: error: `X509' undeclared (first use in this function)
mod_tls.c:2119: error: `xs' undeclared (first use in this function)
mod_tls.c:2120: error: `X509_CRL' undeclared (first use in this function)
mod_tls.c:2120: error: `crl' undeclared (first use in this function)
mod_tls.c:2121: error: `X509_REVOKED' undeclared (first use in this function)
mod_tls.c:2121: error: `revoked' undeclared (first use in this function)
mod_tls.c:2122: error: `X509_STORE_CTX' undeclared (first use in this function)
mod_tls.c:2122: error: syntax error before "store_ctx"
mod_tls.c:2130: error: `ok' undeclared (first use in this function)
mod_tls.c:2134: error: `ctx' undeclared (first use in this function)
mod_tls.c:2171: error: `obj' undeclared (first use in this function)
mod_tls.c:2172: warning: implicit declaration of function `X509_STORE_CTX_init'
mod_tls.c:2172: error: `store_ctx' undeclared (first use in this function)
mod_tls.c:2173: warning: implicit declaration of function `X509_STORE_get_by_subject'
mod_tls.c:2173: error: `X509_LU_CRL' undeclared (first use in this function)
mod_tls.c:2174: warning: implicit declaration of function `X509_STORE_CTX_cleanup'
mod_tls.c:2180: warning: implicit declaration of function `X509_CRL_verify'
mod_tls.c:2180: warning: implicit declaration of function `X509_get_pubkey'
mod_tls.c:2182: error: `X509_V_ERR_CRL_SIGNATURE_FAILURE' undeclared (first use in this function)
mod_tls.c:2183: warning: implicit declaration of function `X509_OBJECT_free_contents'
mod_tls.c:2189: warning: implicit declaration of function `X509_cmp_current_time'
mod_tls.c:2189: warning: implicit declaration of function `X509_CRL_get_nextUpdate'
mod_tls.c:2193: error: `X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD' undeclared (first use in this function)
mod_tls.c:2201: error: `X509_V_ERR_CRL_HAS_EXPIRED' undeclared (first use in this function)
mod_tls.c:2222: warning: implicit declaration of function `sk_X509_REVOKED_num'
mod_tls.c:2222: warning: implicit declaration of function `X509_CRL_get_REVOKED'
mod_tls.c:2225: warning: implicit declaration of function `sk_X509_REVOKED_value'
mod_tls.c:2227: warning: implicit declaration of function `ASN1_INTEGER_cmp'
mod_tls.c:2235: error: `X509_V_ERR_CERT_REVOKED' undeclared (first use in this function)
mod_tls.c: At top level:
mod_tls.c:2247: error: syntax error before '*' token
mod_tls.c: In function `tls_write':
mod_tls.c:2250: warning: implicit declaration of function `SSL_write'
mod_tls.c:2250: error: `ssl' undeclared (first use in this function)
mod_tls.c:2250: error: `buf' undeclared (first use in this function)
mod_tls.c:2250: error: `len' undeclared (first use in this function)
mod_tls.c:2259: error: `SSL_ERROR_WANT_WRITE' undeclared (first use in this function)
mod_tls.c: At top level:
mod_tls.c:2273: error: syntax error before '*' token
mod_tls.c: In function `tls_x509_name_oneline':
mod_tls.c:2282: warning: implicit declaration of function `X509_NAME_oneline'
mod_tls.c:2282: error: `x509_name' undeclared (first use in this function)
mod_tls.c:2282: warning: return makes pointer from integer without a cast
mod_tls.c: In function `tls_netio_close_cb':
mod_tls.c:2320: error: `SSL' undeclared (first use in this function)
mod_tls.c:2320: error: syntax error before ')' token
mod_tls.c: In function `tls_netio_postopen_cb':
mod_tls.c:2417: error: `X509' undeclared (first use in this function)
mod_tls.c:2417: error: `ctrl_cert' undeclared (first use in this function)
mod_tls.c:2417: error: `data_cert' undeclared (first use in this function)
mod_tls.c:2417: warning: left-hand operand of comma expression has no effect
mod_tls.c:2431: error: `SSL' undeclared (first use in this function)
mod_tls.c:2431: error: syntax error before ')' token
mod_tls.c:2434: warning: implicit declaration of function `X509_cmp'
mod_tls.c:2437: error: syntax error before ')' token
mod_tls.c:2457: error: syntax error before ')' token
mod_tls.c: In function `tls_netio_read_cb':
mod_tls.c:2477: error: `SSL' undeclared (first use in this function)
mod_tls.c:2477: error: syntax error before ')' token
mod_tls.c:2477: warning: left-hand operand of comma expression has no effect
mod_tls.c:2477: warning: left-hand operand of comma expression has no effect
mod_tls.c:2477: error: syntax error before ')' token
mod_tls.c: In function `tls_netio_write_cb':
mod_tls.c:2518: error: `SSL' undeclared (first use in this function)
mod_tls.c:2518: error: syntax error before ')' token
mod_tls.c: In function `tls_postparse_ev':
mod_tls.c:3460: error: `PEM_BUFSIZE' undeclared (first use in this function)
mod_tls.c:3476: warning: format argument is not a pointer (arg 2)
mod_tls.c:3497: warning: format argument is not a pointer (arg 2)
mod_tls.c: In function `tls_sess_exit_ev':
mod_tls.c:3539: warning: implicit declaration of function `RAND_write_file'
mod_tls.c: In function `tls_init':
mod_tls.c:3567: error: syntax error before "OPENSSL_VERSION_TEXT"
mod_tls.c: In function `tls_sess_init':
mod_tls.c:3676: warning: implicit declaration of function `SSL_CTX_set_default_passwd_cb'
mod_tls.c:3677: warning: implicit declaration of function `SSL_CTX_set_default_passwd_cb_userdata'
make[2]: *** [mod_tls.o] Error 1
make[2]: Leaving directory `/root/files/proftpd-1.2.10/modules'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/files/proftpd-1.2.10'
make: *** [all] Error 2


kann mir evt. jemand helfen oder hat jemand evtl nen fertiges rpm päckle für mich wo proftpd mit mod_tls configuriert ist?

greets Thhunder

xanlosch
27.05.06, 18:30
Du musst die Entwickler- / Develpakete von OpenSSL installieren, sonst wird das nichts.

Thhunder
28.05.06, 23:34
Danke jetzt hats auch geklappt das ding zu backen....
habe schon echt ne kriese bekommen deswegen -_-
aber erklär mir mal was dir genau verraten hat, dass das devel packet von openssl gefehlt hat... weil ich bin das ding oben echt mehrmals durchgegangen und hab geschaut woran das nu liegt.. und nichts gefunden wo ich nacher schlauer raus geworden wäre...

greets Thhunder

xanlosch
29.05.06, 13:12
Ganz einfach an den ersten Fehlermeldungen von dir:



...
mod_tls.c:40:25: openssl/ssl.h: No such file or directory
mod_tls.c:41:25: openssl/evp.h: No such file or directory
mod_tls.c:42:28: openssl/x509v3.h: No such file or directory
mod_tls.c:43:25: openssl/err.h: No such file or directory
mod_tls.c:44:26: openssl/rand.h: No such file or directory
...


"No such file or directory" Meldungen an Anfängen von .c-Dateien deuten auf das Fehlen von benötigten Header-Dateien hin. In deinen Falle halt die des OpenSSL-Projektes.

Thhunder
29.05.06, 14:49
ahso...
ok danke dir für die Hilfe :)
nu weiß ich dann schonmal fürs nächste mal woran ich das dann erkenne wenn was fehlt :D

greets Thhunder