frizzo28
24-07-2006, 18:32
Ciao a tutti ho problemi nella fase di compilazione di wpa_supplicant 0.4.8(ho provato con la 0.4.9 ma ho gli stessi problemi). Nel file .conf ci ho scritto: (l'ho trovato su una guida):
CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_MD5=y
CONFIG_MSCHAPV2=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_TLS=y
CONFIG_DRIVER_WEXT=y
CONFIG_WIRELESS_EXTENSION=y
CONFIG_EAP_TTLS=y
CONFIG_EAP_GTC=y
CONFIG_EAP_OTP=y
CONFIG_EAP_SIM=y
CONFIG_EAP_AKA=y
CONFIG_EAP_PSK=y
CONFIG_EAP_PAX=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_PKCS12=y
CONFIG_SMARTCARD=y
CONFIG_CTRL_IFACE=y
CONFIG_READLINE=y
CONFIG_BACKEND=file
Poi quando do il make
tls_openssl.c:522: error: `SSL_ST_MASK' undeclared (first use in this function)
tls_openssl.c:523: error: `SSL_ST_CONNECT' undeclared (first use in this function)
tls_openssl.c:525: error: `SSL_ST_ACCEPT' undeclared (first use in this function)
tls_openssl.c:530: error: `SSL_CB_LOOP' undeclared (first use in this function)
tls_openssl.c:532: warning: implicit declaration of function `SSL_state_string_long'
tls_openssl.c:532: error: `ssl' undeclared (first use in this function)
tls_openssl.c:532: warning: format argument is not a pointer (arg 4)
tls_openssl.c:533: error: `SSL_CB_ALERT' undeclared (first use in this function)tls_openssl.c:535: error: `SSL_CB_READ' undeclared (first use in this function)
tls_openssl.c:538: warning: implicit declaration of function `SSL_alert_type_string_long'
tls_openssl.c:539: warning: implicit declaration of function `SSL_alert_desc_string_long'
tls_openssl.c:539: warning: format argument is not a pointer (arg 4)
tls_openssl.c:539: warning: format argument is not a pointer (arg 5)
tls_openssl.c:540: error: `SSL3_AL_FATAL' undeclared (first use in this function)
tls_openssl.c:542: warning: implicit declaration of function `SSL_get_app_data'
tls_openssl.c:542: error: `SSL' undeclared (first use in this function)
tls_openssl.c:542: error: syntax error before ')' token
tls_openssl.c:544: error: dereferencing pointer to incomplete type
tls_openssl.c:546: error: dereferencing pointer to incomplete type
tls_openssl.c:548: error: `SSL_CB_EXIT' undeclared (first use in this function)
tls_openssl.c:551: warning: format argument is not a pointer (arg 5)
tls_openssl.c: In function `tls_engine_load_dynamic_generic':
tls_openssl.c:572: error: `ENGINE' undeclared (first use in this function)
tls_openssl.c:575: warning: implicit declaration of function `ENGINE_by_id'
tls_openssl.c:575: warning: assignment makes pointer from integer without a casttls_openssl.c:577: warning: implicit declaration of function `ENGINE_free'
tls_openssl.c:582: warning: implicit declaration of function `ERR_clear_error'
tls_openssl.c:584: warning: assignment makes pointer from integer without a casttls_openssl.c:588: warning: format argument is not a pointer (arg 4)
tls_openssl.c:595: warning: implicit declaration of function `ENGINE_ctrl_cmd_string'
tls_openssl.c:598: warning: format argument is not a pointer (arg 5)
tls_openssl.c:611: warning: assignment makes pointer from integer without a casttls_openssl.c:614: warning: format argument is not a pointer (arg 4)
tls_openssl.c:623: warning: format argument is not a pointer (arg 5)
tls_openssl.c:624: warning: implicit declaration of function `ENGINE_remove'
tls_openssl.c: In function `tls_init':
tls_openssl.c:696: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:696: error: `ssl' undeclared (first use in this function)
tls_openssl.c:699: warning: implicit declaration of function `SSL_load_error_strings'
tls_openssl.c:700: warning: implicit declaration of function `SSL_library_init'
tls_openssl.c:706: warning: implicit declaration of function `PKCS12_PBE_add'
tls_openssl.c:711: warning: implicit declaration of function `SSL_CTX_new'
tls_openssl.c:711: warning: implicit declaration of function `TLSv1_method'
tls_openssl.c:715: warning: implicit declaration of function `SSL_CTX_set_info_callback'
tls_openssl.c:722: warning: implicit declaration of function `ERR_load_ENGINE_strings'
tls_openssl.c:723: warning: implicit declaration of function `ENGINE_load_dynamic'
tls_openssl.c: In function `tls_deinit':
tls_openssl.c:740: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:740: error: `ssl' undeclared (first use in this function)
tls_openssl.c:741: warning: implicit declaration of function `SSL_CTX_free'
tls_openssl.c:746: warning: implicit declaration of function `ENGINE_cleanup'
tls_openssl.c:748: warning: implicit declaration of function `ERR_free_strings'
tls_openssl.c:749: warning: implicit declaration of function `EVP_cleanup'
tls_openssl.c: In function `tls_engine_init':
tls_openssl.c:773: error: dereferencing pointer to incomplete type
tls_openssl.c:774: error: dereferencing pointer to incomplete type
tls_openssl.c:776: warning: format argument is not a pointer (arg 4)
tls_openssl.c:779: warning: implicit declaration of function `ENGINE_init'
tls_openssl.c:779: error: dereferencing pointer to incomplete type
tls_openssl.c:782: warning: format argument is not a pointer (arg 4)
tls_openssl.c:787: error: dereferencing pointer to incomplete type
tls_openssl.c:789: warning: format argument is not a pointer (arg 3)
tls_openssl.c:792: error: dereferencing pointer to incomplete type
tls_openssl.c:792: warning: implicit declaration of function `ENGINE_load_private_key'
tls_openssl.c:792: error: dereferencing pointer to incomplete type
tls_openssl.c:794: error: dereferencing pointer to incomplete type
tls_openssl.c:797: warning: format argument is not a pointer (arg 4)
tls_openssl.c:804: error: dereferencing pointer to incomplete type
tls_openssl.c:805: error: dereferencing pointer to incomplete type
tls_openssl.c:806: error: dereferencing pointer to incomplete type
tls_openssl.c:809: error: dereferencing pointer to incomplete type
tls_openssl.c:810: warning: implicit declaration of function `EVP_PKEY_free'
tls_openssl.c:810: error: dereferencing pointer to incomplete type
tls_openssl.c:811: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_engine_deinit':
tls_openssl.c:825: error: dereferencing pointer to incomplete type
tls_openssl.c:826: error: dereferencing pointer to incomplete type
tls_openssl.c:827: error: dereferencing pointer to incomplete type
tls_openssl.c:829: error: dereferencing pointer to incomplete type
tls_openssl.c:830: warning: implicit declaration of function `ENGINE_finish'
tls_openssl.c:830: error: dereferencing pointer to incomplete type
tls_openssl.c:831: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_get_errors':
tls_openssl.c:844: warning: format argument is not a pointer (arg 3)
tls_openssl.c: In function `tls_connection_init':
tls_openssl.c:853: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:853: error: `ssl' undeclared (first use in this function)
tls_openssl.c:856: error: dereferencing pointer to incomplete type
tls_openssl.c:859: error: dereferencing pointer to incomplete type
tls_openssl.c:859: error: dereferencing pointer to incomplete type
tls_openssl.c:859: error: dereferencing pointer to incomplete type
tls_openssl.c:859: error: dereferencing pointer to incomplete type
tls_openssl.c:859: error: dereferencing pointer to incomplete type
tls_openssl.c:859: error: dereferencing pointer to incomplete type
tls_openssl.c:860: error: dereferencing pointer to incomplete type
tls_openssl.c:860: warning: implicit declaration of function `SSL_new'
tls_openssl.c:861: error: dereferencing pointer to incomplete type
tls_openssl.c:868: warning: implicit declaration of function `SSL_set_app_data'
tls_openssl.c:868: error: dereferencing pointer to incomplete type
tls_openssl.c:869: warning: implicit declaration of function `SSL_set_options'
tls_openssl.c:869: error: dereferencing pointer to incomplete type
tls_openssl.c:870: error: `SSL_OP_NO_SSLv2' undeclared (first use in this function)
tls_openssl.c:870: error: `SSL_OP_NO_SSLv3' undeclared (first use in this function)
tls_openssl.c:871: error: `SSL_OP_SINGLE_DH_USE' undeclared (first use in this function)
tls_openssl.c:873: error: dereferencing pointer to incomplete type
tls_openssl.c:873: warning: implicit declaration of function `BIO_new'
tls_openssl.c:873: warning: implicit declaration of function `BIO_s_mem'
tls_openssl.c:874: error: dereferencing pointer to incomplete type
tls_openssl.c:877: warning: implicit declaration of function `SSL_free'
tls_openssl.c:877: error: dereferencing pointer to incomplete type
tls_openssl.c:882: error: dereferencing pointer to incomplete type
tls_openssl.c:883: error: dereferencing pointer to incomplete type
tls_openssl.c:886: error: dereferencing pointer to incomplete type
tls_openssl.c:887: warning: implicit declaration of function `BIO_free'
tls_openssl.c:887: error: dereferencing pointer to incomplete type
tls_openssl.c:892: warning: implicit declaration of function `SSL_set_bio'
tls_openssl.c:892: error: dereferencing pointer to incomplete type
tls_openssl.c:892: error: dereferencing pointer to incomplete type
tls_openssl.c:892: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_deinit':
tls_openssl.c:902: error: dereferencing pointer to incomplete type
tls_openssl.c:903: error: dereferencing pointer to incomplete type
tls_openssl.c:905: error: dereferencing pointer to incomplete type
tls_openssl.c:906: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_established':
tls_openssl.c:913: warning: implicit declaration of function `SSL_is_init_finished'
tls_openssl.c:913: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_shutdown':
tls_openssl.c:925: warning: implicit declaration of function `SSL_set_quiet_shutdown'
tls_openssl.c:925: error: dereferencing pointer to incomplete type
tls_openssl.c:926: warning: implicit declaration of function `SSL_shutdown'
tls_openssl.c:926: error: dereferencing pointer to incomplete type
tls_openssl.c: At top level:
tls_openssl.c:931: error: syntax error before '*' token
tls_openssl.c: In function `tls_match_altsubject':
tls_openssl.c:933: error: `GENERAL_NAME' undeclared (first use in this function)tls_openssl.c:933: error: `gen' undeclared (first use in this function)
tls_openssl.c:939: warning: implicit declaration of function `X509_get_ext_d2i'
tls_openssl.c:939: error: `cert' undeclared (first use in this function)
tls_openssl.c:939: error: `NID_subject_alt_name' undeclared (first use in this function)
tls_openssl.c:939: warning: assignment makes pointer from integer without a casttls_openssl.c:941: warning: implicit declaration of function `sk_GENERAL_NAME_num'
tls_openssl.c:942: warning: implicit declaration of function `sk_GENERAL_NAME_value'
tls_openssl.c:944: error: `GEN_EMAIL' undeclared (first use in this function)
tls_openssl.c:947: error: `GEN_DNS' undeclared (first use in this function)
tls_openssl.c:950: error: `GEN_URI' undeclared (first use in this function)
tls_openssl.c:971: error: `match' undeclared (first use in this function)
tls_openssl.c: At top level:
tls_openssl.c:980: error: syntax error before "X509_STORE_CTX"
tls_openssl.c: In function `tls_verify_cb':
tls_openssl.c:983: error: `X509' undeclared (first use in this function)
tls_openssl.c:983: error: `err_cert' undeclared (first use in this function)
tls_openssl.c:985: error: `SSL' undeclared (first use in this function)
tls_openssl.c:985: error: `ssl' undeclared (first use in this function)
tls_openssl.c:989: warning: implicit declaration of function `X509_STORE_CTX_get_current_cert'
tls_openssl.c:989: error: `x509_ctx' undeclared (first use in this function)
tls_openssl.c:990: warning: implicit declaration of function `X509_STORE_CTX_get_error'
tls_openssl.c:991: warning: implicit declaration of function `X509_STORE_CTX_get_error_depth'
tls_openssl.c:992: warning: implicit declaration of function `X509_STORE_CTX_get_ex_data'
tls_openssl.c:993: warning: implicit declaration of function `SSL_get_ex_data_X509_STORE_CTX_idx'
tls_openssl.c:994: warning: implicit declaration of function `X509_NAME_oneline'tls_openssl.c:994: warning: implicit declaration of function `X509_get_subject_name'
tls_openssl.c:996: warning: assignment makes pointer from integer without a casttls_openssl.c:997: error: dereferencing pointer to incomplete type
tls_openssl.c:998: error: dereferencing pointer to incomplete type
tls_openssl.c:1000: error: `preverify_ok' undeclared (first use in this function)
tls_openssl.c:1003: warning: implicit declaration of function `X509_verify_cert_error_string'
tls_openssl.c:1003: warning: format argument is not a pointer (arg 4)
tls_openssl.c:1008: warning: format argument is not a pointer (arg 5)
tls_openssl.c: In function `tls_load_ca_der':
tls_openssl.c:1028: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:1028: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1029: error: `X509_LOOKUP' undeclared (first use in this function)tls_openssl.c:1029: error: `lookup' undeclared (first use in this function)
tls_openssl.c:1032: warning: implicit declaration of function `X509_STORE_add_lookup'
tls_openssl.c:1033: warning: implicit declaration of function `X509_LOOKUP_file'tls_openssl.c:1040: warning: implicit declaration of function `X509_LOOKUP_load_file'
tls_openssl.c:1040: error: `X509_FILETYPE_ASN1' undeclared (first use in this function)
tls_openssl.c:1041: warning: implicit declaration of function `ERR_peek_error'
tls_openssl.c:1044: warning: implicit declaration of function `ERR_GET_LIB'
tls_openssl.c:1044: error: `ERR_LIB_X509' undeclared (first use in this function)
tls_openssl.c:1045: warning: implicit declaration of function `ERR_GET_REASON'
tls_openssl.c:1045: error: `X509_R_CERT_ALREADY_IN_HASH_TABLE' undeclared (first use in this function)
tls_openssl.c: In function `tls_connection_ca_cert':
tls_openssl.c:1062: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:1062: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1065: error: `X509' undeclared (first use in this function)
tls_openssl.c:1065: error: `cert' undeclared (first use in this function)
tls_openssl.c:1065: warning: implicit declaration of function `d2i_X509'
tls_openssl.c:1073: warning: implicit declaration of function `X509_STORE_add_cert'
tls_openssl.c:1077: warning: implicit declaration of function `X509_free'
tls_openssl.c:1083: warning: implicit declaration of function `SSL_set_verify'
tls_openssl.c:1083: error: dereferencing pointer to incomplete type
tls_openssl.c:1083: error: `SSL_VERIFY_PEER' undeclared (first use in this function)
tls_openssl.c:1099: warning: implicit declaration of function `SSL_CTX_load_verify_locations'
tls_openssl.c:1115: error: dereferencing pointer to incomplete type
tls_openssl.c:1124: error: dereferencing pointer to incomplete type
tls_openssl.c:1124: error: `SSL_VERIFY_NONE' undeclared (first use in this function)
tls_openssl.c: In function `tls_global_ca_cert':
tls_openssl.c:1133: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:1133: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1147: warning: implicit declaration of function `SSL_CTX_set_client_CA_list'
tls_openssl.c:1148: warning: implicit declaration of function `SSL_load_client_CA_file'
tls_openssl.c: In function `tls_global_set_verify':
tls_openssl.c:1161: error: `X509_STORE' undeclared (first use in this function)
tls_openssl.c:1161: error: `cs' undeclared (first use in this function)
tls_openssl.c:1161: warning: implicit declaration of function `SSL_CTX_get_cert_store'
tls_openssl.c:1168: error: `X509_V_FLAG_CRL_CHECK' undeclared (first use in this function)
tls_openssl.c:1170: error: `X509_V_FLAG_CRL_CHECK_ALL' undeclared (first use in this function)
tls_openssl.c:1171: warning: implicit declaration of function `X509_STORE_set_flags'
tls_openssl.c: In function `tls_connection_set_subject_match':
tls_openssl.c:1182: error: dereferencing pointer to incomplete type
tls_openssl.c:1183: error: dereferencing pointer to incomplete type
tls_openssl.c:1185: error: dereferencing pointer to incomplete type
tls_openssl.c:1186: error: dereferencing pointer to incomplete type
tls_openssl.c:1190: error: dereferencing pointer to incomplete type
tls_openssl.c:1191: error: dereferencing pointer to incomplete type
tls_openssl.c:1193: error: dereferencing pointer to incomplete type
tls_openssl.c:1194: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_set_verify':
tls_openssl.c:1209: error: dereferencing pointer to incomplete type
tls_openssl.c:1209: error: `SSL_VERIFY_PEER' undeclared (first use in this function)
tls_openssl.c:1210: error: `SSL_VERIFY_FAIL_IF_NO_PEER_CERT' undeclared (first use in this function)
tls_openssl.c:1211: error: `SSL_VERIFY_CLIENT_ONCE' undeclared (first use in this function)
tls_openssl.c:1213: error: dereferencing pointer to incomplete type
tls_openssl.c:1213: error: `SSL_VERIFY_NONE' undeclared (first use in this function)
tls_openssl.c:1216: warning: implicit declaration of function `SSL_set_accept_state'
tls_openssl.c:1216: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_client_cert':
tls_openssl.c:1232: warning: implicit declaration of function `SSL_use_certificate_ASN1'
tls_openssl.c:1232: error: dereferencing pointer to incomplete type
tls_openssl.c:1246: warning: implicit declaration of function `SSL_use_certificate_file'
tls_openssl.c:1246: error: dereferencing pointer to incomplete type
tls_openssl.c:1247: error: `SSL_FILETYPE_ASN1' undeclared (first use in this function)
tls_openssl.c:1256: error: dereferencing pointer to incomplete type
tls_openssl.c:1257: error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
tls_openssl.c: In function `tls_global_client_cert':
tls_openssl.c:1276: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:1276: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1280: warning: implicit declaration of function `SSL_CTX_use_certificate_file'
tls_openssl.c:1281: error: `SSL_FILETYPE_ASN1' undeclared (first use in this function)
tls_openssl.c:1283: error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
tls_openssl.c: At top level:
tls_openssl.c:1310: error: syntax error before '*' token
tls_openssl.c: In function `tls_parse_pkcs12':
tls_openssl.c:1313: error: `EVP_PKEY' undeclared (first use in this function)
tls_openssl.c:1313: error: `pkey' undeclared (first use in this function)
tls_openssl.c:1314: error: `X509' undeclared (first use in this function)
tls_openssl.c:1314: error: `cert' undeclared (first use in this function)
tls_openssl.c:1315: warning: implicit declaration of function `STACK_OF'
tls_openssl.c:1315: error: `certs' undeclared (first use in this function)
tls_openssl.c:1322: warning: implicit declaration of function `PKCS12_parse'
tls_openssl.c:1322: error: `p12' undeclared (first use in this function)
tls_openssl.c:1322: error: `passwd' undeclared (first use in this function)
tls_openssl.c:1334: error: `ssl' undeclared (first use in this function)
tls_openssl.c:1335: warning: implicit declaration of function `SSL_use_certificate'
tls_openssl.c:1338: warning: implicit declaration of function `SSL_CTX_use_certificate'
tls_openssl.c:1338: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1347: warning: implicit declaration of function `SSL_use_PrivateKey'
tls_openssl.c:1350: warning: implicit declaration of function `SSL_CTX_use_PrivateKey'
tls_openssl.c:1357: warning: implicit declaration of function `sk_X509_pop'
tls_openssl.c:1366: warning: implicit declaration of function `SSL_CTX_add_extra_chain_cert'
tls_openssl.c:1371: warning: implicit declaration of function `sk_X509_free'
tls_openssl.c:1374: warning: implicit declaration of function `PKCS12_free'
tls_openssl.c: At top level:
tls_openssl.c:1384: error: syntax error before '*' token
tls_openssl.c: In function `tls_read_pkcs12':
tls_openssl.c:1389: error: `PKCS12' undeclared (first use in this function)
tls_openssl.c:1389: error: `p12' undeclared (first use in this function)
tls_openssl.c:1391: warning: passing arg 1 of `fopen' from incompatible pointer type
tls_openssl.c:1395: warning: implicit declaration of function `d2i_PKCS12_fp'
tls_openssl.c:1404: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1404: error: `ssl' undeclared (first use in this function)
tls_openssl.c:1404: error: `passwd' undeclared (first use in this function)
tls_openssl.c: At top level:
tls_openssl.c:1414: error: syntax error before '*' token
tls_openssl.c: In function `tls_read_pkcs12_blob':
tls_openssl.c:1418: error: `PKCS12' undeclared (first use in this function)
tls_openssl.c:1418: error: `p12' undeclared (first use in this function)
tls_openssl.c:1420: warning: implicit declaration of function `d2i_PKCS12'
tls_openssl.c:1420: error: `blob' undeclared (first use in this function)
tls_openssl.c:1420: error: `len' undeclared (first use in this function)
tls_openssl.c:1427: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1427: error: `ssl' undeclared (first use in this function)
tls_openssl.c:1427: error: `passwd' undeclared (first use in this function)
tls_openssl.c: In function `tls_connection_engine_private_key':
tls_openssl.c:1441: error: dereferencing pointer to incomplete type
tls_openssl.c:1441: error: dereferencing pointer to incomplete type
tls_openssl.c:1446: warning: implicit declaration of function `SSL_check_private_key'
tls_openssl.c:1446: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_private_key':
tls_openssl.c:1467: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:1467: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1481: warning: implicit declaration of function `SSL_CTX_set_default_passwd_cb'
tls_openssl.c:1482: warning: implicit declaration of function `SSL_CTX_set_default_passwd_cb_userdata'
tls_openssl.c:1486: warning: implicit declaration of function `SSL_use_PrivateKey_ASN1'
tls_openssl.c:1486: error: `EVP_PKEY_RSA' undeclared (first use in this function)
tls_openssl.c:1486: error: dereferencing pointer to incomplete type
tls_openssl.c:1499: error: `EVP_PKEY_DSA' undeclared (first use in this function)
tls_openssl.c:1499: error: dereferencing pointer to incomplete type
tls_openssl.c:1512: warning: implicit declaration of function `SSL_use_RSAPrivateKey_ASN1'
tls_openssl.c:1512: error: dereferencing pointer to incomplete type
tls_openssl.c:1524: error: dereferencing pointer to incomplete type
tls_openssl.c:1537: warning: implicit declaration of function `SSL_use_PrivateKey_file'
tls_openssl.c:1537: error: dereferencing pointer to incomplete type
tls_openssl.c:1538: error: `SSL_FILETYPE_ASN1' undeclared (first use in this function)
tls_openssl.c:1549: error: dereferencing pointer to incomplete type
tls_openssl.c:1550: error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
tls_openssl.c:1565: error: dereferencing pointer to incomplete type
tls_openssl.c:1573: error: dereferencing pointer to incomplete type
tls_openssl.c:1593: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_global_private_key':
tls_openssl.c:1607: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:1607: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1624: warning: implicit declaration of function `SSL_CTX_use_PrivateKey_file'
tls_openssl.c:1625: error: `SSL_FILETYPE_ASN1' undeclared (first use in this function)
tls_openssl.c:1627: error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
tls_openssl.c:1640: warning: implicit declaration of function `SSL_CTX_check_private_key'
tls_openssl.c: In function `tls_connection_dh':
tls_openssl.c:1660: error: `DH' undeclared (first use in this function)
tls_openssl.c:1660: error: `dh' undeclared (first use in this function)
tls_openssl.c:1661: error: `BIO' undeclared (first use in this function)
tls_openssl.c:1661: error: `bio' undeclared (first use in this function)
tls_openssl.c:1669: warning: implicit declaration of function `BIO_new_file'
tls_openssl.c:1672: warning: format argument is not a pointer (arg 4)
tls_openssl.c:1675: warning: implicit declaration of function `PEM_read_bio_DHparams'
tls_openssl.c:1679: error: `DSA' undeclared (first use in this function)
tls_openssl.c:1679: error: `dsa' undeclared (first use in this function)
tls_openssl.c:1682: warning: format argument is not a pointer (arg 4)
tls_openssl.c:1686: warning: implicit declaration of function `PEM_read_bio_DSAparams'
tls_openssl.c:1691: warning: format argument is not a pointer (arg 4)
tls_openssl.c:1696: warning: implicit declaration of function `DSA_dup_DH'
tls_openssl.c:1697: warning: implicit declaration of function `DSA_free'
tls_openssl.c:1712: warning: implicit declaration of function `SSL_set_tmp_dh'
tls_openssl.c:1712: error: dereferencing pointer to incomplete type
tls_openssl.c:1715: warning: format argument is not a pointer (arg 4)
tls_openssl.c:1716: warning: implicit declaration of function `DH_free'
tls_openssl.c: In function `tls_connection_get_keys':
tls_openssl.c:1728: error: `SSL' undeclared (first use in this function)
tls_openssl.c:1728: error: `ssl' undeclared (first use in this function)
tls_openssl.c:1732: error: dereferencing pointer to incomplete type
tls_openssl.c:1740: error: `SSL3_RANDOM_SIZE' undeclared (first use in this function)
tls_openssl.c: In function `tls_connection_handshake':
tls_openssl.c:1760: warning: implicit declaration of function `BIO_write'
tls_openssl.c:1760: error: dereferencing pointer to incomplete type
tls_openssl.c:1767: warning: implicit declaration of function `SSL_connect'
tls_openssl.c:1767: error: dereferencing pointer to incomplete type
tls_openssl.c:1769: warning: implicit declaration of function `SSL_get_error'
tls_openssl.c:1769: error: dereferencing pointer to incomplete type
tls_openssl.c:1770: error: `SSL_ERROR_WANT_READ' undeclared (first use in this function)
tls_openssl.c:1773: error: `SSL_ERROR_WANT_WRITE' undeclared (first use in this function)
tls_openssl.c:1778: error: dereferencing pointer to incomplete type
tls_openssl.c:1783: warning: implicit declaration of function `BIO_ctrl_pending'tls_openssl.c:1783: error: dereferencing pointer to incomplete type
tls_openssl.c:1789: warning: implicit declaration of function `BIO_reset'
tls_openssl.c:1789: error: dereferencing pointer to incomplete type
tls_openssl.c:1796: warning: implicit declaration of function `BIO_read'
tls_openssl.c:1796: error: dereferencing pointer to incomplete type
tls_openssl.c:1800: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_server_handshake':
tls_openssl.c:1822: error: dereferencing pointer to incomplete type
tls_openssl.c:1828: warning: implicit declaration of function `SSL_read'
tls_openssl.c:1828: error: dereferencing pointer to incomplete type
tls_openssl.c:1834: error: dereferencing pointer to incomplete type
tls_openssl.c:1840: error: dereferencing pointer to incomplete type
tls_openssl.c:1847: error: dereferencing pointer to incomplete type
tls_openssl.c:1851: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_encrypt':
tls_openssl.c:1873: error: dereferencing pointer to incomplete type
tls_openssl.c:1874: error: dereferencing pointer to incomplete type
tls_openssl.c:1878: warning: implicit declaration of function `SSL_write'
tls_openssl.c:1878: error: dereferencing pointer to incomplete type
tls_openssl.c:1886: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_decrypt':
tls_openssl.c:1904: error: dereferencing pointer to incomplete type
tls_openssl.c:1910: error: dereferencing pointer to incomplete type
tls_openssl.c:1916: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_resumed':
tls_openssl.c:1929: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_set_anon_dh':
tls_openssl.c:1985: error: dereferencing pointer to incomplete type
tls_openssl.c:1988: warning: implicit declaration of function `SSL_set_cipher_list'
tls_openssl.c:1988: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_get_cipher':
tls_openssl.c:2002: error: dereferencing pointer to incomplete type
tls_openssl.c:2005: warning: implicit declaration of function `SSL_get_cipher'
tls_openssl.c:2005: error: dereferencing pointer to incomplete type
tls_openssl.c:2005: warning: assignment makes pointer from integer without a cast
tls_openssl.c: In function `tls_connection_enable_workaround':
tls_openssl.c:2017: error: dereferencing pointer to incomplete type
tls_openssl.c:2017: error: `SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' undeclared (first use in this function)
tls_openssl.c: In function `tls_connection_get_failed':
tls_openssl.c:2047: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_get_read_alerts':
tls_openssl.c:2055: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_get_write_alerts':
tls_openssl.c:2063: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_set_params':
tls_openssl.c:2078: warning: format argument is not a pointer (arg 4)
tls_openssl.c: In function `tls_connection_get_keyblock_size':
tls_openssl.c:2128: error: syntax error before '*' token
tls_openssl.c:2129: error: syntax error before '*' token
tls_openssl.c:2131: error: dereferencing pointer to incomplete type
tls_openssl.c:2132: error: dereferencing pointer to incomplete type
tls_openssl.c:2133: error: dereferencing pointer to incomplete type
tls_openssl.c:2134: error: dereferencing pointer to incomplete type
tls_openssl.c:2137: error: `c' undeclared (first use in this function)
tls_openssl.c:2137: error: dereferencing pointer to incomplete type
tls_openssl.c:2138: error: `h' undeclared (first use in this function)
tls_openssl.c:2138: error: dereferencing pointer to incomplete type
tls_openssl.c:2140: warning: implicit declaration of function `EVP_CIPHER_key_length'
tls_openssl.c:2141: warning: implicit declaration of function `EVP_MD_size'
tls_openssl.c:2142: warning: implicit declaration of function `EVP_CIPHER_iv_length'
make: *** [tls_openssl.o] Error 1
Visto che riguardava l'errore riguarda openssl ho provato a fare apt-get install openssl ma nn č cambiato nulla...
Il kernel č il 2.6.8-2-386
ciao davide
P.S. sono un newbie di linux... ce l'ho da 3 gg
CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_MD5=y
CONFIG_MSCHAPV2=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_TLS=y
CONFIG_DRIVER_WEXT=y
CONFIG_WIRELESS_EXTENSION=y
CONFIG_EAP_TTLS=y
CONFIG_EAP_GTC=y
CONFIG_EAP_OTP=y
CONFIG_EAP_SIM=y
CONFIG_EAP_AKA=y
CONFIG_EAP_PSK=y
CONFIG_EAP_PAX=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_PKCS12=y
CONFIG_SMARTCARD=y
CONFIG_CTRL_IFACE=y
CONFIG_READLINE=y
CONFIG_BACKEND=file
Poi quando do il make
tls_openssl.c:522: error: `SSL_ST_MASK' undeclared (first use in this function)
tls_openssl.c:523: error: `SSL_ST_CONNECT' undeclared (first use in this function)
tls_openssl.c:525: error: `SSL_ST_ACCEPT' undeclared (first use in this function)
tls_openssl.c:530: error: `SSL_CB_LOOP' undeclared (first use in this function)
tls_openssl.c:532: warning: implicit declaration of function `SSL_state_string_long'
tls_openssl.c:532: error: `ssl' undeclared (first use in this function)
tls_openssl.c:532: warning: format argument is not a pointer (arg 4)
tls_openssl.c:533: error: `SSL_CB_ALERT' undeclared (first use in this function)tls_openssl.c:535: error: `SSL_CB_READ' undeclared (first use in this function)
tls_openssl.c:538: warning: implicit declaration of function `SSL_alert_type_string_long'
tls_openssl.c:539: warning: implicit declaration of function `SSL_alert_desc_string_long'
tls_openssl.c:539: warning: format argument is not a pointer (arg 4)
tls_openssl.c:539: warning: format argument is not a pointer (arg 5)
tls_openssl.c:540: error: `SSL3_AL_FATAL' undeclared (first use in this function)
tls_openssl.c:542: warning: implicit declaration of function `SSL_get_app_data'
tls_openssl.c:542: error: `SSL' undeclared (first use in this function)
tls_openssl.c:542: error: syntax error before ')' token
tls_openssl.c:544: error: dereferencing pointer to incomplete type
tls_openssl.c:546: error: dereferencing pointer to incomplete type
tls_openssl.c:548: error: `SSL_CB_EXIT' undeclared (first use in this function)
tls_openssl.c:551: warning: format argument is not a pointer (arg 5)
tls_openssl.c: In function `tls_engine_load_dynamic_generic':
tls_openssl.c:572: error: `ENGINE' undeclared (first use in this function)
tls_openssl.c:575: warning: implicit declaration of function `ENGINE_by_id'
tls_openssl.c:575: warning: assignment makes pointer from integer without a casttls_openssl.c:577: warning: implicit declaration of function `ENGINE_free'
tls_openssl.c:582: warning: implicit declaration of function `ERR_clear_error'
tls_openssl.c:584: warning: assignment makes pointer from integer without a casttls_openssl.c:588: warning: format argument is not a pointer (arg 4)
tls_openssl.c:595: warning: implicit declaration of function `ENGINE_ctrl_cmd_string'
tls_openssl.c:598: warning: format argument is not a pointer (arg 5)
tls_openssl.c:611: warning: assignment makes pointer from integer without a casttls_openssl.c:614: warning: format argument is not a pointer (arg 4)
tls_openssl.c:623: warning: format argument is not a pointer (arg 5)
tls_openssl.c:624: warning: implicit declaration of function `ENGINE_remove'
tls_openssl.c: In function `tls_init':
tls_openssl.c:696: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:696: error: `ssl' undeclared (first use in this function)
tls_openssl.c:699: warning: implicit declaration of function `SSL_load_error_strings'
tls_openssl.c:700: warning: implicit declaration of function `SSL_library_init'
tls_openssl.c:706: warning: implicit declaration of function `PKCS12_PBE_add'
tls_openssl.c:711: warning: implicit declaration of function `SSL_CTX_new'
tls_openssl.c:711: warning: implicit declaration of function `TLSv1_method'
tls_openssl.c:715: warning: implicit declaration of function `SSL_CTX_set_info_callback'
tls_openssl.c:722: warning: implicit declaration of function `ERR_load_ENGINE_strings'
tls_openssl.c:723: warning: implicit declaration of function `ENGINE_load_dynamic'
tls_openssl.c: In function `tls_deinit':
tls_openssl.c:740: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:740: error: `ssl' undeclared (first use in this function)
tls_openssl.c:741: warning: implicit declaration of function `SSL_CTX_free'
tls_openssl.c:746: warning: implicit declaration of function `ENGINE_cleanup'
tls_openssl.c:748: warning: implicit declaration of function `ERR_free_strings'
tls_openssl.c:749: warning: implicit declaration of function `EVP_cleanup'
tls_openssl.c: In function `tls_engine_init':
tls_openssl.c:773: error: dereferencing pointer to incomplete type
tls_openssl.c:774: error: dereferencing pointer to incomplete type
tls_openssl.c:776: warning: format argument is not a pointer (arg 4)
tls_openssl.c:779: warning: implicit declaration of function `ENGINE_init'
tls_openssl.c:779: error: dereferencing pointer to incomplete type
tls_openssl.c:782: warning: format argument is not a pointer (arg 4)
tls_openssl.c:787: error: dereferencing pointer to incomplete type
tls_openssl.c:789: warning: format argument is not a pointer (arg 3)
tls_openssl.c:792: error: dereferencing pointer to incomplete type
tls_openssl.c:792: warning: implicit declaration of function `ENGINE_load_private_key'
tls_openssl.c:792: error: dereferencing pointer to incomplete type
tls_openssl.c:794: error: dereferencing pointer to incomplete type
tls_openssl.c:797: warning: format argument is not a pointer (arg 4)
tls_openssl.c:804: error: dereferencing pointer to incomplete type
tls_openssl.c:805: error: dereferencing pointer to incomplete type
tls_openssl.c:806: error: dereferencing pointer to incomplete type
tls_openssl.c:809: error: dereferencing pointer to incomplete type
tls_openssl.c:810: warning: implicit declaration of function `EVP_PKEY_free'
tls_openssl.c:810: error: dereferencing pointer to incomplete type
tls_openssl.c:811: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_engine_deinit':
tls_openssl.c:825: error: dereferencing pointer to incomplete type
tls_openssl.c:826: error: dereferencing pointer to incomplete type
tls_openssl.c:827: error: dereferencing pointer to incomplete type
tls_openssl.c:829: error: dereferencing pointer to incomplete type
tls_openssl.c:830: warning: implicit declaration of function `ENGINE_finish'
tls_openssl.c:830: error: dereferencing pointer to incomplete type
tls_openssl.c:831: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_get_errors':
tls_openssl.c:844: warning: format argument is not a pointer (arg 3)
tls_openssl.c: In function `tls_connection_init':
tls_openssl.c:853: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:853: error: `ssl' undeclared (first use in this function)
tls_openssl.c:856: error: dereferencing pointer to incomplete type
tls_openssl.c:859: error: dereferencing pointer to incomplete type
tls_openssl.c:859: error: dereferencing pointer to incomplete type
tls_openssl.c:859: error: dereferencing pointer to incomplete type
tls_openssl.c:859: error: dereferencing pointer to incomplete type
tls_openssl.c:859: error: dereferencing pointer to incomplete type
tls_openssl.c:859: error: dereferencing pointer to incomplete type
tls_openssl.c:860: error: dereferencing pointer to incomplete type
tls_openssl.c:860: warning: implicit declaration of function `SSL_new'
tls_openssl.c:861: error: dereferencing pointer to incomplete type
tls_openssl.c:868: warning: implicit declaration of function `SSL_set_app_data'
tls_openssl.c:868: error: dereferencing pointer to incomplete type
tls_openssl.c:869: warning: implicit declaration of function `SSL_set_options'
tls_openssl.c:869: error: dereferencing pointer to incomplete type
tls_openssl.c:870: error: `SSL_OP_NO_SSLv2' undeclared (first use in this function)
tls_openssl.c:870: error: `SSL_OP_NO_SSLv3' undeclared (first use in this function)
tls_openssl.c:871: error: `SSL_OP_SINGLE_DH_USE' undeclared (first use in this function)
tls_openssl.c:873: error: dereferencing pointer to incomplete type
tls_openssl.c:873: warning: implicit declaration of function `BIO_new'
tls_openssl.c:873: warning: implicit declaration of function `BIO_s_mem'
tls_openssl.c:874: error: dereferencing pointer to incomplete type
tls_openssl.c:877: warning: implicit declaration of function `SSL_free'
tls_openssl.c:877: error: dereferencing pointer to incomplete type
tls_openssl.c:882: error: dereferencing pointer to incomplete type
tls_openssl.c:883: error: dereferencing pointer to incomplete type
tls_openssl.c:886: error: dereferencing pointer to incomplete type
tls_openssl.c:887: warning: implicit declaration of function `BIO_free'
tls_openssl.c:887: error: dereferencing pointer to incomplete type
tls_openssl.c:892: warning: implicit declaration of function `SSL_set_bio'
tls_openssl.c:892: error: dereferencing pointer to incomplete type
tls_openssl.c:892: error: dereferencing pointer to incomplete type
tls_openssl.c:892: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_deinit':
tls_openssl.c:902: error: dereferencing pointer to incomplete type
tls_openssl.c:903: error: dereferencing pointer to incomplete type
tls_openssl.c:905: error: dereferencing pointer to incomplete type
tls_openssl.c:906: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_established':
tls_openssl.c:913: warning: implicit declaration of function `SSL_is_init_finished'
tls_openssl.c:913: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_shutdown':
tls_openssl.c:925: warning: implicit declaration of function `SSL_set_quiet_shutdown'
tls_openssl.c:925: error: dereferencing pointer to incomplete type
tls_openssl.c:926: warning: implicit declaration of function `SSL_shutdown'
tls_openssl.c:926: error: dereferencing pointer to incomplete type
tls_openssl.c: At top level:
tls_openssl.c:931: error: syntax error before '*' token
tls_openssl.c: In function `tls_match_altsubject':
tls_openssl.c:933: error: `GENERAL_NAME' undeclared (first use in this function)tls_openssl.c:933: error: `gen' undeclared (first use in this function)
tls_openssl.c:939: warning: implicit declaration of function `X509_get_ext_d2i'
tls_openssl.c:939: error: `cert' undeclared (first use in this function)
tls_openssl.c:939: error: `NID_subject_alt_name' undeclared (first use in this function)
tls_openssl.c:939: warning: assignment makes pointer from integer without a casttls_openssl.c:941: warning: implicit declaration of function `sk_GENERAL_NAME_num'
tls_openssl.c:942: warning: implicit declaration of function `sk_GENERAL_NAME_value'
tls_openssl.c:944: error: `GEN_EMAIL' undeclared (first use in this function)
tls_openssl.c:947: error: `GEN_DNS' undeclared (first use in this function)
tls_openssl.c:950: error: `GEN_URI' undeclared (first use in this function)
tls_openssl.c:971: error: `match' undeclared (first use in this function)
tls_openssl.c: At top level:
tls_openssl.c:980: error: syntax error before "X509_STORE_CTX"
tls_openssl.c: In function `tls_verify_cb':
tls_openssl.c:983: error: `X509' undeclared (first use in this function)
tls_openssl.c:983: error: `err_cert' undeclared (first use in this function)
tls_openssl.c:985: error: `SSL' undeclared (first use in this function)
tls_openssl.c:985: error: `ssl' undeclared (first use in this function)
tls_openssl.c:989: warning: implicit declaration of function `X509_STORE_CTX_get_current_cert'
tls_openssl.c:989: error: `x509_ctx' undeclared (first use in this function)
tls_openssl.c:990: warning: implicit declaration of function `X509_STORE_CTX_get_error'
tls_openssl.c:991: warning: implicit declaration of function `X509_STORE_CTX_get_error_depth'
tls_openssl.c:992: warning: implicit declaration of function `X509_STORE_CTX_get_ex_data'
tls_openssl.c:993: warning: implicit declaration of function `SSL_get_ex_data_X509_STORE_CTX_idx'
tls_openssl.c:994: warning: implicit declaration of function `X509_NAME_oneline'tls_openssl.c:994: warning: implicit declaration of function `X509_get_subject_name'
tls_openssl.c:996: warning: assignment makes pointer from integer without a casttls_openssl.c:997: error: dereferencing pointer to incomplete type
tls_openssl.c:998: error: dereferencing pointer to incomplete type
tls_openssl.c:1000: error: `preverify_ok' undeclared (first use in this function)
tls_openssl.c:1003: warning: implicit declaration of function `X509_verify_cert_error_string'
tls_openssl.c:1003: warning: format argument is not a pointer (arg 4)
tls_openssl.c:1008: warning: format argument is not a pointer (arg 5)
tls_openssl.c: In function `tls_load_ca_der':
tls_openssl.c:1028: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:1028: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1029: error: `X509_LOOKUP' undeclared (first use in this function)tls_openssl.c:1029: error: `lookup' undeclared (first use in this function)
tls_openssl.c:1032: warning: implicit declaration of function `X509_STORE_add_lookup'
tls_openssl.c:1033: warning: implicit declaration of function `X509_LOOKUP_file'tls_openssl.c:1040: warning: implicit declaration of function `X509_LOOKUP_load_file'
tls_openssl.c:1040: error: `X509_FILETYPE_ASN1' undeclared (first use in this function)
tls_openssl.c:1041: warning: implicit declaration of function `ERR_peek_error'
tls_openssl.c:1044: warning: implicit declaration of function `ERR_GET_LIB'
tls_openssl.c:1044: error: `ERR_LIB_X509' undeclared (first use in this function)
tls_openssl.c:1045: warning: implicit declaration of function `ERR_GET_REASON'
tls_openssl.c:1045: error: `X509_R_CERT_ALREADY_IN_HASH_TABLE' undeclared (first use in this function)
tls_openssl.c: In function `tls_connection_ca_cert':
tls_openssl.c:1062: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:1062: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1065: error: `X509' undeclared (first use in this function)
tls_openssl.c:1065: error: `cert' undeclared (first use in this function)
tls_openssl.c:1065: warning: implicit declaration of function `d2i_X509'
tls_openssl.c:1073: warning: implicit declaration of function `X509_STORE_add_cert'
tls_openssl.c:1077: warning: implicit declaration of function `X509_free'
tls_openssl.c:1083: warning: implicit declaration of function `SSL_set_verify'
tls_openssl.c:1083: error: dereferencing pointer to incomplete type
tls_openssl.c:1083: error: `SSL_VERIFY_PEER' undeclared (first use in this function)
tls_openssl.c:1099: warning: implicit declaration of function `SSL_CTX_load_verify_locations'
tls_openssl.c:1115: error: dereferencing pointer to incomplete type
tls_openssl.c:1124: error: dereferencing pointer to incomplete type
tls_openssl.c:1124: error: `SSL_VERIFY_NONE' undeclared (first use in this function)
tls_openssl.c: In function `tls_global_ca_cert':
tls_openssl.c:1133: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:1133: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1147: warning: implicit declaration of function `SSL_CTX_set_client_CA_list'
tls_openssl.c:1148: warning: implicit declaration of function `SSL_load_client_CA_file'
tls_openssl.c: In function `tls_global_set_verify':
tls_openssl.c:1161: error: `X509_STORE' undeclared (first use in this function)
tls_openssl.c:1161: error: `cs' undeclared (first use in this function)
tls_openssl.c:1161: warning: implicit declaration of function `SSL_CTX_get_cert_store'
tls_openssl.c:1168: error: `X509_V_FLAG_CRL_CHECK' undeclared (first use in this function)
tls_openssl.c:1170: error: `X509_V_FLAG_CRL_CHECK_ALL' undeclared (first use in this function)
tls_openssl.c:1171: warning: implicit declaration of function `X509_STORE_set_flags'
tls_openssl.c: In function `tls_connection_set_subject_match':
tls_openssl.c:1182: error: dereferencing pointer to incomplete type
tls_openssl.c:1183: error: dereferencing pointer to incomplete type
tls_openssl.c:1185: error: dereferencing pointer to incomplete type
tls_openssl.c:1186: error: dereferencing pointer to incomplete type
tls_openssl.c:1190: error: dereferencing pointer to incomplete type
tls_openssl.c:1191: error: dereferencing pointer to incomplete type
tls_openssl.c:1193: error: dereferencing pointer to incomplete type
tls_openssl.c:1194: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_set_verify':
tls_openssl.c:1209: error: dereferencing pointer to incomplete type
tls_openssl.c:1209: error: `SSL_VERIFY_PEER' undeclared (first use in this function)
tls_openssl.c:1210: error: `SSL_VERIFY_FAIL_IF_NO_PEER_CERT' undeclared (first use in this function)
tls_openssl.c:1211: error: `SSL_VERIFY_CLIENT_ONCE' undeclared (first use in this function)
tls_openssl.c:1213: error: dereferencing pointer to incomplete type
tls_openssl.c:1213: error: `SSL_VERIFY_NONE' undeclared (first use in this function)
tls_openssl.c:1216: warning: implicit declaration of function `SSL_set_accept_state'
tls_openssl.c:1216: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_client_cert':
tls_openssl.c:1232: warning: implicit declaration of function `SSL_use_certificate_ASN1'
tls_openssl.c:1232: error: dereferencing pointer to incomplete type
tls_openssl.c:1246: warning: implicit declaration of function `SSL_use_certificate_file'
tls_openssl.c:1246: error: dereferencing pointer to incomplete type
tls_openssl.c:1247: error: `SSL_FILETYPE_ASN1' undeclared (first use in this function)
tls_openssl.c:1256: error: dereferencing pointer to incomplete type
tls_openssl.c:1257: error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
tls_openssl.c: In function `tls_global_client_cert':
tls_openssl.c:1276: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:1276: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1280: warning: implicit declaration of function `SSL_CTX_use_certificate_file'
tls_openssl.c:1281: error: `SSL_FILETYPE_ASN1' undeclared (first use in this function)
tls_openssl.c:1283: error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
tls_openssl.c: At top level:
tls_openssl.c:1310: error: syntax error before '*' token
tls_openssl.c: In function `tls_parse_pkcs12':
tls_openssl.c:1313: error: `EVP_PKEY' undeclared (first use in this function)
tls_openssl.c:1313: error: `pkey' undeclared (first use in this function)
tls_openssl.c:1314: error: `X509' undeclared (first use in this function)
tls_openssl.c:1314: error: `cert' undeclared (first use in this function)
tls_openssl.c:1315: warning: implicit declaration of function `STACK_OF'
tls_openssl.c:1315: error: `certs' undeclared (first use in this function)
tls_openssl.c:1322: warning: implicit declaration of function `PKCS12_parse'
tls_openssl.c:1322: error: `p12' undeclared (first use in this function)
tls_openssl.c:1322: error: `passwd' undeclared (first use in this function)
tls_openssl.c:1334: error: `ssl' undeclared (first use in this function)
tls_openssl.c:1335: warning: implicit declaration of function `SSL_use_certificate'
tls_openssl.c:1338: warning: implicit declaration of function `SSL_CTX_use_certificate'
tls_openssl.c:1338: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1347: warning: implicit declaration of function `SSL_use_PrivateKey'
tls_openssl.c:1350: warning: implicit declaration of function `SSL_CTX_use_PrivateKey'
tls_openssl.c:1357: warning: implicit declaration of function `sk_X509_pop'
tls_openssl.c:1366: warning: implicit declaration of function `SSL_CTX_add_extra_chain_cert'
tls_openssl.c:1371: warning: implicit declaration of function `sk_X509_free'
tls_openssl.c:1374: warning: implicit declaration of function `PKCS12_free'
tls_openssl.c: At top level:
tls_openssl.c:1384: error: syntax error before '*' token
tls_openssl.c: In function `tls_read_pkcs12':
tls_openssl.c:1389: error: `PKCS12' undeclared (first use in this function)
tls_openssl.c:1389: error: `p12' undeclared (first use in this function)
tls_openssl.c:1391: warning: passing arg 1 of `fopen' from incompatible pointer type
tls_openssl.c:1395: warning: implicit declaration of function `d2i_PKCS12_fp'
tls_openssl.c:1404: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1404: error: `ssl' undeclared (first use in this function)
tls_openssl.c:1404: error: `passwd' undeclared (first use in this function)
tls_openssl.c: At top level:
tls_openssl.c:1414: error: syntax error before '*' token
tls_openssl.c: In function `tls_read_pkcs12_blob':
tls_openssl.c:1418: error: `PKCS12' undeclared (first use in this function)
tls_openssl.c:1418: error: `p12' undeclared (first use in this function)
tls_openssl.c:1420: warning: implicit declaration of function `d2i_PKCS12'
tls_openssl.c:1420: error: `blob' undeclared (first use in this function)
tls_openssl.c:1420: error: `len' undeclared (first use in this function)
tls_openssl.c:1427: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1427: error: `ssl' undeclared (first use in this function)
tls_openssl.c:1427: error: `passwd' undeclared (first use in this function)
tls_openssl.c: In function `tls_connection_engine_private_key':
tls_openssl.c:1441: error: dereferencing pointer to incomplete type
tls_openssl.c:1441: error: dereferencing pointer to incomplete type
tls_openssl.c:1446: warning: implicit declaration of function `SSL_check_private_key'
tls_openssl.c:1446: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_private_key':
tls_openssl.c:1467: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:1467: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1481: warning: implicit declaration of function `SSL_CTX_set_default_passwd_cb'
tls_openssl.c:1482: warning: implicit declaration of function `SSL_CTX_set_default_passwd_cb_userdata'
tls_openssl.c:1486: warning: implicit declaration of function `SSL_use_PrivateKey_ASN1'
tls_openssl.c:1486: error: `EVP_PKEY_RSA' undeclared (first use in this function)
tls_openssl.c:1486: error: dereferencing pointer to incomplete type
tls_openssl.c:1499: error: `EVP_PKEY_DSA' undeclared (first use in this function)
tls_openssl.c:1499: error: dereferencing pointer to incomplete type
tls_openssl.c:1512: warning: implicit declaration of function `SSL_use_RSAPrivateKey_ASN1'
tls_openssl.c:1512: error: dereferencing pointer to incomplete type
tls_openssl.c:1524: error: dereferencing pointer to incomplete type
tls_openssl.c:1537: warning: implicit declaration of function `SSL_use_PrivateKey_file'
tls_openssl.c:1537: error: dereferencing pointer to incomplete type
tls_openssl.c:1538: error: `SSL_FILETYPE_ASN1' undeclared (first use in this function)
tls_openssl.c:1549: error: dereferencing pointer to incomplete type
tls_openssl.c:1550: error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
tls_openssl.c:1565: error: dereferencing pointer to incomplete type
tls_openssl.c:1573: error: dereferencing pointer to incomplete type
tls_openssl.c:1593: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_global_private_key':
tls_openssl.c:1607: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:1607: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:1624: warning: implicit declaration of function `SSL_CTX_use_PrivateKey_file'
tls_openssl.c:1625: error: `SSL_FILETYPE_ASN1' undeclared (first use in this function)
tls_openssl.c:1627: error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
tls_openssl.c:1640: warning: implicit declaration of function `SSL_CTX_check_private_key'
tls_openssl.c: In function `tls_connection_dh':
tls_openssl.c:1660: error: `DH' undeclared (first use in this function)
tls_openssl.c:1660: error: `dh' undeclared (first use in this function)
tls_openssl.c:1661: error: `BIO' undeclared (first use in this function)
tls_openssl.c:1661: error: `bio' undeclared (first use in this function)
tls_openssl.c:1669: warning: implicit declaration of function `BIO_new_file'
tls_openssl.c:1672: warning: format argument is not a pointer (arg 4)
tls_openssl.c:1675: warning: implicit declaration of function `PEM_read_bio_DHparams'
tls_openssl.c:1679: error: `DSA' undeclared (first use in this function)
tls_openssl.c:1679: error: `dsa' undeclared (first use in this function)
tls_openssl.c:1682: warning: format argument is not a pointer (arg 4)
tls_openssl.c:1686: warning: implicit declaration of function `PEM_read_bio_DSAparams'
tls_openssl.c:1691: warning: format argument is not a pointer (arg 4)
tls_openssl.c:1696: warning: implicit declaration of function `DSA_dup_DH'
tls_openssl.c:1697: warning: implicit declaration of function `DSA_free'
tls_openssl.c:1712: warning: implicit declaration of function `SSL_set_tmp_dh'
tls_openssl.c:1712: error: dereferencing pointer to incomplete type
tls_openssl.c:1715: warning: format argument is not a pointer (arg 4)
tls_openssl.c:1716: warning: implicit declaration of function `DH_free'
tls_openssl.c: In function `tls_connection_get_keys':
tls_openssl.c:1728: error: `SSL' undeclared (first use in this function)
tls_openssl.c:1728: error: `ssl' undeclared (first use in this function)
tls_openssl.c:1732: error: dereferencing pointer to incomplete type
tls_openssl.c:1740: error: `SSL3_RANDOM_SIZE' undeclared (first use in this function)
tls_openssl.c: In function `tls_connection_handshake':
tls_openssl.c:1760: warning: implicit declaration of function `BIO_write'
tls_openssl.c:1760: error: dereferencing pointer to incomplete type
tls_openssl.c:1767: warning: implicit declaration of function `SSL_connect'
tls_openssl.c:1767: error: dereferencing pointer to incomplete type
tls_openssl.c:1769: warning: implicit declaration of function `SSL_get_error'
tls_openssl.c:1769: error: dereferencing pointer to incomplete type
tls_openssl.c:1770: error: `SSL_ERROR_WANT_READ' undeclared (first use in this function)
tls_openssl.c:1773: error: `SSL_ERROR_WANT_WRITE' undeclared (first use in this function)
tls_openssl.c:1778: error: dereferencing pointer to incomplete type
tls_openssl.c:1783: warning: implicit declaration of function `BIO_ctrl_pending'tls_openssl.c:1783: error: dereferencing pointer to incomplete type
tls_openssl.c:1789: warning: implicit declaration of function `BIO_reset'
tls_openssl.c:1789: error: dereferencing pointer to incomplete type
tls_openssl.c:1796: warning: implicit declaration of function `BIO_read'
tls_openssl.c:1796: error: dereferencing pointer to incomplete type
tls_openssl.c:1800: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_server_handshake':
tls_openssl.c:1822: error: dereferencing pointer to incomplete type
tls_openssl.c:1828: warning: implicit declaration of function `SSL_read'
tls_openssl.c:1828: error: dereferencing pointer to incomplete type
tls_openssl.c:1834: error: dereferencing pointer to incomplete type
tls_openssl.c:1840: error: dereferencing pointer to incomplete type
tls_openssl.c:1847: error: dereferencing pointer to incomplete type
tls_openssl.c:1851: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_encrypt':
tls_openssl.c:1873: error: dereferencing pointer to incomplete type
tls_openssl.c:1874: error: dereferencing pointer to incomplete type
tls_openssl.c:1878: warning: implicit declaration of function `SSL_write'
tls_openssl.c:1878: error: dereferencing pointer to incomplete type
tls_openssl.c:1886: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_decrypt':
tls_openssl.c:1904: error: dereferencing pointer to incomplete type
tls_openssl.c:1910: error: dereferencing pointer to incomplete type
tls_openssl.c:1916: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_resumed':
tls_openssl.c:1929: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_set_anon_dh':
tls_openssl.c:1985: error: dereferencing pointer to incomplete type
tls_openssl.c:1988: warning: implicit declaration of function `SSL_set_cipher_list'
tls_openssl.c:1988: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_get_cipher':
tls_openssl.c:2002: error: dereferencing pointer to incomplete type
tls_openssl.c:2005: warning: implicit declaration of function `SSL_get_cipher'
tls_openssl.c:2005: error: dereferencing pointer to incomplete type
tls_openssl.c:2005: warning: assignment makes pointer from integer without a cast
tls_openssl.c: In function `tls_connection_enable_workaround':
tls_openssl.c:2017: error: dereferencing pointer to incomplete type
tls_openssl.c:2017: error: `SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' undeclared (first use in this function)
tls_openssl.c: In function `tls_connection_get_failed':
tls_openssl.c:2047: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_get_read_alerts':
tls_openssl.c:2055: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_get_write_alerts':
tls_openssl.c:2063: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_set_params':
tls_openssl.c:2078: warning: format argument is not a pointer (arg 4)
tls_openssl.c: In function `tls_connection_get_keyblock_size':
tls_openssl.c:2128: error: syntax error before '*' token
tls_openssl.c:2129: error: syntax error before '*' token
tls_openssl.c:2131: error: dereferencing pointer to incomplete type
tls_openssl.c:2132: error: dereferencing pointer to incomplete type
tls_openssl.c:2133: error: dereferencing pointer to incomplete type
tls_openssl.c:2134: error: dereferencing pointer to incomplete type
tls_openssl.c:2137: error: `c' undeclared (first use in this function)
tls_openssl.c:2137: error: dereferencing pointer to incomplete type
tls_openssl.c:2138: error: `h' undeclared (first use in this function)
tls_openssl.c:2138: error: dereferencing pointer to incomplete type
tls_openssl.c:2140: warning: implicit declaration of function `EVP_CIPHER_key_length'
tls_openssl.c:2141: warning: implicit declaration of function `EVP_MD_size'
tls_openssl.c:2142: warning: implicit declaration of function `EVP_CIPHER_iv_length'
make: *** [tls_openssl.o] Error 1
Visto che riguardava l'errore riguarda openssl ho provato a fare apt-get install openssl ma nn č cambiato nulla...
Il kernel č il 2.6.8-2-386
ciao davide
P.S. sono un newbie di linux... ce l'ho da 3 gg