WPA Supplicant
Moderatore: Staff
Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Gnu/Linux in genere, se l'argomento è specifico alla Slackware usate uno dei forum Slackware o Slackware64.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.
La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Gnu/Linux in genere, se l'argomento è specifico alla Slackware usate uno dei forum Slackware o Slackware64.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.
La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
WPA Supplicant
Devo installare e configurare il WPA Supplicant su Mandriva 2005. Quando vado ad eseguire il comando make, mi riporta una lunga serie di errori dovuto alle tls_openssl. Cosa devo fare? Ho già installato il pacchetto delle openssl, ma continua a non trovarle. C'è qualcuno che ha già installato una wireless lan con hostap e wpa supplicant?
mandriva non ha il wpa_supplicant in .rpm?
http://hostap.epitest.fi/wpa_supplicant/
controlla l'indirizzo sopra, e tieni presente le variazioni nel caso di driver madwifi per chip atheros.
Inoltre su mandriva non saprei dirti, lo uso su slckware debian e ubuntu. Ma non ha particolari dipendenze, peraltro elencate nell'indirizzo sopra.
http://hostap.epitest.fi/wpa_supplicant/
controlla l'indirizzo sopra, e tieni presente le variazioni nel caso di driver madwifi per chip atheros.
Inoltre su mandriva non saprei dirti, lo uso su slckware debian e ubuntu. Ma non ha particolari dipendenze, peraltro elencate nell'indirizzo sopra.
Quell'indirizzo lo conoscevo già...clodo ha scritto:mandriva non ha il wpa_supplicant in .rpm?
http://hostap.epitest.fi/wpa_supplicant/
controlla l'indirizzo sopra, e tieni presente le variazioni nel caso di driver madwifi per chip atheros.
Inoltre su mandriva non saprei dirti, lo uso su slckware debian e ubuntu. Ma non ha particolari dipendenze, peraltro elencate nell'indirizzo sopra.
purtroppo non mi aiuta a risolvere il problema. Non c'è nessuno che sia pratico di openssl? e di WPA supplicant?
[root@localhost wpa_supplicant-0.4.7]# make
cc -MMD -O2 -Wall -g -I. -I../utils -I../hostapd -DCONFIG_DRIVER_HOSTAP -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_SIM -DEAP_LEAP -DEAP_PSK -DEAP_AKA -DEAP_TLV -DEAP_PAX -DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DCONFIG_WIRELESS_EXTENSION -c -o tls_openssl.o tls_openssl.c
tls_openssl.c:25:25: openssl/ssl.h: No such file or directory
tls_openssl.c:26:25: openssl/err.h: No such file or directory
tls_openssl.c:27:28: openssl/pkcs12.h: No such file or directory
tls_openssl.c:28:28: openssl/x509v3.h: No such file or directory
tls_openssl.c:38: error: syntax error before "SSL"
tls_openssl.c:38: warning: no semicolon at end of struct or union
tls_openssl.c:39: warning: type defaults to `int' in declaration of `ssl_in'
tls_openssl.c:39: warning: type defaults to `int' in declaration of `ssl_out'
tls_openssl.c:39: warning: data definition has no type or storage class
tls_openssl.c:49: error: syntax error before '}' token
tls_openssl.c: In function `tls_show_errors':
tls_openssl.c:71: warning: implicit declaration of function `ERR_error_string'
tls_openssl.c:71: warning: implicit declaration of function `ERR_get_error'
tls_openssl.c:71: warning: format argument is not a pointer (arg 5)
tls_openssl.c:75: warning: format argument is not a pointer (arg 3)
tls_openssl.c: At top level:
tls_openssl.c:432: error: syntax error before '*' token
tls_openssl.c:440: warning: type defaults to `int' in declaration of `SSL'
tls_openssl.c:440: error: syntax error before '*' token
tls_openssl.c: In function `ssl_info_cb':
tls_openssl.c:445: error: `where' undeclared (first use in this function)
tls_openssl.c:445: error: (Each undeclared identifier is reported only once
tls_openssl.c:445: error: for each function it appears in.)
tls_openssl.c:445: error: `ret' undeclared (first use in this function)
tls_openssl.c:446: error: `SSL_ST_MASK' undeclared (first use in this function)
tls_openssl.c:447: error: `SSL_ST_CONNECT' undeclared (first use in this function)
tls_openssl.c:449: error: `SSL_ST_ACCEPT' undeclared (first use in this function)
tls_openssl.c:454: error: `SSL_CB_LOOP' undeclared (first use in this function)
tls_openssl.c:456: warning: implicit declaration of function `SSL_state_string_long'
tls_openssl.c:456: error: `ssl' undeclared (first use in this function)
tls_openssl.c:456: warning: format argument is not a pointer (arg 4)
tls_openssl.c:457: error: `SSL_CB_ALERT' undeclared (first use in this function)
tls_openssl.c:459: error: `SSL_CB_READ' undeclared (first use in this function)
tls_openssl.c:462: warning: implicit declaration of function `SSL_alert_type_string_long'
tls_openssl.c:463: warning: implicit declaration of function `SSL_alert_desc_string_long'
tls_openssl.c:463: warning: format argument is not a pointer (arg 4)
tls_openssl.c:463: warning: format argument is not a pointer (arg 5)
tls_openssl.c:464: error: `SSL3_AL_FATAL' undeclared (first use in this function)
tls_openssl.c:466: warning: implicit declaration of function `SSL_get_app_data'
tls_openssl.c:466: error: `SSL' undeclared (first use in this function)
tls_openssl.c:466: error: syntax error before ')' token
tls_openssl.c:468: error: dereferencing pointer to incomplete type
tls_openssl.c:470: error: dereferencing pointer to incomplete type
tls_openssl.c:472: error: `SSL_CB_EXIT' undeclared (first use in this function)
tls_openssl.c:475: warning: format argument is not a pointer (arg 5)
tls_openssl.c: In function `tls_init':
tls_openssl.c:620: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:620: error: `ssl' undeclared (first use in this function)
tls_openssl.c:622: warning: implicit declaration of function `SSL_load_error_strings'
tls_openssl.c:623: warning: implicit declaration of function `SSL_library_init'
tls_openssl.c:631: warning: implicit declaration of function `SSL_CTX_new'
tls_openssl.c:631: warning: implicit declaration of function `TLSv1_method'
tls_openssl.c:635: warning: implicit declaration of function `SSL_CTX_set_info_callback'
tls_openssl.c: In function `tls_deinit':
tls_openssl.c:660: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:660: error: `ssl' undeclared (first use in this function)
tls_openssl.c:661: warning: implicit declaration of function `SSL_CTX_free'
tls_openssl.c:665: warning: implicit declaration of function `ERR_free_strings'
tls_openssl.c:666: warning: implicit declaration of function `EVP_cleanup'
tls_openssl.c: In function `tls_get_errors':
tls_openssl.c:760: warning: format argument is not a pointer (arg 3)
tls_openssl.c: In function `tls_connection_init':
tls_openssl.c:769: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:769: error: `ssl' undeclared (first use in this function)
tls_openssl.c:772: error: dereferencing pointer to incomplete type
tls_openssl.c:775: error: dereferencing pointer to incomplete type
tls_openssl.c:776: error: dereferencing pointer to incomplete type
tls_openssl.c:776: warning: implicit declaration of function `SSL_new'
tls_openssl.c:777: error: dereferencing pointer to incomplete type
tls_openssl.c:784: warning: implicit declaration of function `SSL_set_app_data'
tls_openssl.c:784: error: dereferencing pointer to incomplete type
tls_openssl.c:785: warning: implicit declaration of function `SSL_set_options'
tls_openssl.c:785: error: dereferencing pointer to incomplete type
tls_openssl.c:786: error: `SSL_OP_NO_SSLv2' undeclared (first use in this function)
tls_openssl.c:786: error: `SSL_OP_NO_SSLv3' undeclared (first use in this function)
tls_openssl.c:787: error: `SSL_OP_SINGLE_DH_USE' undeclared (first use in this function)
tls_openssl.c:789: error: dereferencing pointer to incomplete type
tls_openssl.c:789: warning: implicit declaration of function `BIO_new'
tls_openssl.c:789: warning: implicit declaration of function `BIO_s_mem'
tls_openssl.c:790: error: dereferencing pointer to incomplete type
tls_openssl.c:793: warning: implicit declaration of function `SSL_free'
tls_openssl.c:793: error: dereferencing pointer to incomplete type
tls_openssl.c:798: error: dereferencing pointer to incomplete type
tls_openssl.c:799: error: dereferencing pointer to incomplete type
tls_openssl.c:802: error: dereferencing pointer to incomplete type
tls_openssl.c:803: warning: implicit declaration of function `BIO_free'
tls_openssl.c:803: error: dereferencing pointer to incomplete type
tls_openssl.c:808: warning: implicit declaration of function `SSL_set_bio'
tls_openssl.c:808: error: dereferencing pointer to incomplete type
tls_openssl.c:808: error: dereferencing pointer to incomplete type
tls_openssl.c:808: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_deinit':
tls_openssl.c:818: error: dereferencing pointer to incomplete type
tls_openssl.c:819: error: dereferencing pointer to incomplete type
tls_openssl.c:821: error: dereferencing pointer to incomplete type
tls_openssl.c:822: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_established':
tls_openssl.c:829: warning: implicit declaration of function `SSL_is_init_finished'
tls_openssl.c:829: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_shutdown':
tls_openssl.c:841: warning: implicit declaration of function `SSL_set_quiet_shutdown'
tls_openssl.c:841: error: dereferencing pointer to incomplete type
tls_openssl.c:842: warning: implicit declaration of function `SSL_shutdown'
tls_openssl.c:842: error: dereferencing pointer to incomplete type
tls_openssl.c: At top level:
tls_openssl.c:847: error: syntax error before '*' token
tls_openssl.c: In function `tls_match_altsubject':
tls_openssl.c:849: error: `GENERAL_NAME' undeclared (first use in this function)
tls_openssl.c:849: error: `gen' undeclared (first use in this function)
tls_openssl.c:855: warning: implicit declaration of function `X509_get_ext_d2i'
tls_openssl.c:855: error: `cert' undeclared (first use in this function)
tls_openssl.c:855: error: `NID_subject_alt_name' undeclared (first use in this function)
tls_openssl.c:855: warning: assignment makes pointer from integer without a cast
tls_openssl.c:857: warning: implicit declaration of function `sk_GENERAL_NAME_num'
tls_openssl.c:858: warning: implicit declaration of function `sk_GENERAL_NAME_value'
tls_openssl.c:860: error: `GEN_EMAIL' undeclared (first use in this function)
tls_openssl.c:863: error: `GEN_DNS' undeclared (first use in this function)
tls_openssl.c:866: error: `GEN_URI' undeclared (first use in this function)
tls_openssl.c:887: error: `match' undeclared (first use in this function)
tls_openssl.c: At top level:
tls_openssl.c:896: error: syntax error before "X509_STORE_CTX"
tls_openssl.c: In function `tls_verify_cb':
tls_openssl.c:899: error: `X509' undeclared (first use in this function)
tls_openssl.c:899: error: `err_cert' undeclared (first use in this function)
tls_openssl.c:901: error: `SSL' undeclared (first use in this function)
tls_openssl.c:901: error: `ssl' undeclared (first use in this function)
tls_openssl.c:905: warning: implicit declaration of function `X509_STORE_CTX_get_current_cert'
tls_openssl.c:905: error: `x509_ctx' undeclared (first use in this function)
tls_openssl.c:906: warning: implicit declaration of function `X509_STORE_CTX_get_error'
tls_openssl.c:907: warning: implicit declaration of function `X509_STORE_CTX_get_error_depth'
tls_openssl.c:908: warning: implicit declaration of function `X509_STORE_CTX_get_ex_data'
tls_openssl.c:909: warning: implicit declaration of function `SSL_get_ex_data_X509_STORE_CTX_idx'
tls_openssl.c:910: warning: implicit declaration of function `X509_NAME_oneline'
tls_openssl.c:910: warning: implicit declaration of function `X509_get_subject_name'
tls_openssl.c:912: warning: assignment makes pointer from integer without a cast
tls_openssl.c:913: error: dereferencing pointer to incomplete type
tls_openssl.c:914: error: dereferencing pointer to incomplete type
tls_openssl.c:916: error: `preverify_ok' undeclared (first use in this function)
tls_openssl.c:919: warning: implicit declaration of function `X509_verify_cert_error_string'
tls_openssl.c:919: warning: format argument is not a pointer (arg 4)
tls_openssl.c:924: warning: format argument is not a pointer (arg 5)
tls_openssl.c: In function `tls_connection_ca_cert':
tls_openssl.c:947: warning: implicit declaration of function `SSL_set_verify'
tls_openssl.c:947: error: dereferencing pointer to incomplete type
tls_openssl.c:947: error: `SSL_VERIFY_PEER' undeclared (first use in this function)
tls_openssl.c:952: warning: implicit declaration of function `SSL_CTX_load_verify_locations'
tls_openssl.c:962: error: dereferencing pointer to incomplete type
tls_openssl.c:971: error: dereferencing pointer to incomplete type
tls_openssl.c:971: error: `SSL_VERIFY_NONE' undeclared (first use in this function)
tls_openssl.c: In function `tls_global_ca_cert':
tls_openssl.c:980: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:980: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:994: warning: implicit declaration of function `SSL_CTX_set_client_CA_list'
tls_openssl.c:995: warning: implicit declaration of function `SSL_load_client_CA_file'
tls_openssl.c: In function `tls_global_set_verify':
tls_openssl.c
error: `X509_STORE' undeclared (first use in this function)
tls_openssl.c
error: `cs' undeclared (first use in this function)
tls_openssl.c
warning: implicit declaration of function `SSL_CTX_get_cert_store'
tls_openssl.c
error: `X509_V_FLAG_CRL_CHECK' undeclared (first use in this function)
tls_openssl.c
error: `X509_V_FLAG_CRL_CHECK_ALL' undeclared (first use in this function)
tls_openssl.c
warning: implicit declaration of function `X509_STORE_set_flags'
tls_openssl.c: In function `tls_connection_set_subject_match':
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_set_verify':
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: `SSL_VERIFY_PEER' undeclared (first use in this function)
tls_openssl.c
error: `SSL_VERIFY_FAIL_IF_NO_PEER_CERT' undeclared (first use in this function)
tls_openssl.c
error: `SSL_VERIFY_CLIENT_ONCE' undeclared (first use in this function)
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: `SSL_VERIFY_NONE' undeclared (first use in this function)
tls_openssl.c
warning: implicit declaration of function `SSL_set_accept_state'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_client_cert':
tls_openssl.c
warning: implicit declaration of function `SSL_use_certificate_ASN1'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
warning: implicit declaration of function `SSL_use_certificate_file'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: `SSL_FILETYPE_ASN1' undeclared (first use in this function)
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
tls_openssl.c: In function `tls_global_client_cert':
tls_openssl.c
error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c
error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c
warning: implicit declaration of function `SSL_CTX_use_certificate_file'
tls_openssl.c
error: `SSL_FILETYPE_ASN1' undeclared (first use in this function)
tls_openssl.c
error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
tls_openssl.c: At top level:
tls_openssl.c
error: syntax error before '*' token
tls_openssl.c: In function `tls_connection_private_key':
tls_openssl.c
error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c
error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c
warning: implicit declaration of function `SSL_CTX_set_default_passwd_cb'
tls_openssl.c
warning: implicit declaration of function `SSL_CTX_set_default_passwd_cb_userdata'
tls_openssl.c
warning: implicit declaration of function `SSL_use_PrivateKey_ASN1'
tls_openssl.c
error: `EVP_PKEY_RSA' undeclared (first use in this function)
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: `EVP_PKEY_DSA' undeclared (first use in this function)
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
warning: implicit declaration of function `SSL_use_RSAPrivateKey_ASN1'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
warning: implicit declaration of function `SSL_use_PrivateKey_file'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: `SSL_FILETYPE_ASN1' undeclared (first use in this function)
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
warning: implicit declaration of function `ERR_clear_error'
tls_openssl.c
warning: implicit declaration of function `SSL_check_private_key'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_global_private_key':
tls_openssl.c
error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c
error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c
warning: implicit declaration of function `SSL_CTX_use_PrivateKey_file'
tls_openssl.c
error: `SSL_FILETYPE_ASN1' undeclared (first use in this function)
tls_openssl.c
error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
tls_openssl.c
warning: implicit declaration of function `SSL_CTX_check_private_key'
tls_openssl.c: In function `tls_connection_dh':
tls_openssl.c
error: `DH' undeclared (first use in this function)
tls_openssl.c
error: `dh' undeclared (first use in this function)
tls_openssl.c
error: `BIO' undeclared (first use in this function)
tls_openssl.c
error: `bio' undeclared (first use in this function)
tls_openssl.c
warning: implicit declaration of function `BIO_new_file'
tls_openssl.c
warning: format argument is not a pointer (arg 4)
tls_openssl.c
warning: implicit declaration of function `PEM_read_bio_DHparams'
tls_openssl.c
error: `DSA' undeclared (first use in this function)
tls_openssl.c
error: `dsa' undeclared (first use in this function)
tls_openssl.c
warning: format argument is not a pointer (arg 4)
tls_openssl.c
warning: implicit declaration of function `PEM_read_bio_DSAparams'
tls_openssl.c
warning: format argument is not a pointer (arg 4)
tls_openssl.c
warning: implicit declaration of function `DSA_dup_DH'
tls_openssl.c
warning: implicit declaration of function `DSA_free'
tls_openssl.c
warning: implicit declaration of function `SSL_set_tmp_dh'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
warning: format argument is not a pointer (arg 4)
tls_openssl.c
warning: implicit declaration of function `DH_free'
tls_openssl.c: In function `tls_connection_get_keys':
tls_openssl.c
error: `SSL' undeclared (first use in this function)
tls_openssl.c
error: `ssl' undeclared (first use in this function)
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: `SSL3_RANDOM_SIZE' undeclared (first use in this function)
tls_openssl.c: In function `tls_connection_handshake':
tls_openssl.c
warning: implicit declaration of function `BIO_write'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
warning: implicit declaration of function `SSL_connect'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
warning: implicit declaration of function `SSL_get_error'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: `SSL_ERROR_WANT_READ' undeclared (first use in this function)
tls_openssl.c
error: `SSL_ERROR_WANT_WRITE' undeclared (first use in this function)
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
warning: implicit declaration of function `BIO_ctrl_pending'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
warning: implicit declaration of function `BIO_reset'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
warning: implicit declaration of function `BIO_read'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_server_handshake':
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
warning: implicit declaration of function `SSL_read'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_encrypt':
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
warning: implicit declaration of function `SSL_write'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_decrypt':
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_resumed':
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_set_anon_dh':
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
warning: implicit declaration of function `SSL_set_cipher_list'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_get_cipher':
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
warning: implicit declaration of function `SSL_get_cipher'
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
warning: assignment makes pointer from integer without a cast
tls_openssl.c: In function `tls_connection_enable_workaround':
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c
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
error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_get_read_alerts':
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_get_write_alerts':
tls_openssl.c
error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_set_params':
tls_openssl.c
warning: format argument is not a pointer (arg 4)
make: *** [tls_openssl.o] Error 1
Ho pensato di inserire la schermata che ricevo dopo aver digitato il comando make
Qualcuno sa darmi qualche consiglio?
cc -MMD -O2 -Wall -g -I. -I../utils -I../hostapd -DCONFIG_DRIVER_HOSTAP -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_SIM -DEAP_LEAP -DEAP_PSK -DEAP_AKA -DEAP_TLV -DEAP_PAX -DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DCONFIG_WIRELESS_EXTENSION -c -o tls_openssl.o tls_openssl.c
tls_openssl.c:25:25: openssl/ssl.h: No such file or directory
tls_openssl.c:26:25: openssl/err.h: No such file or directory
tls_openssl.c:27:28: openssl/pkcs12.h: No such file or directory
tls_openssl.c:28:28: openssl/x509v3.h: No such file or directory
tls_openssl.c:38: error: syntax error before "SSL"
tls_openssl.c:38: warning: no semicolon at end of struct or union
tls_openssl.c:39: warning: type defaults to `int' in declaration of `ssl_in'
tls_openssl.c:39: warning: type defaults to `int' in declaration of `ssl_out'
tls_openssl.c:39: warning: data definition has no type or storage class
tls_openssl.c:49: error: syntax error before '}' token
tls_openssl.c: In function `tls_show_errors':
tls_openssl.c:71: warning: implicit declaration of function `ERR_error_string'
tls_openssl.c:71: warning: implicit declaration of function `ERR_get_error'
tls_openssl.c:71: warning: format argument is not a pointer (arg 5)
tls_openssl.c:75: warning: format argument is not a pointer (arg 3)
tls_openssl.c: At top level:
tls_openssl.c:432: error: syntax error before '*' token
tls_openssl.c:440: warning: type defaults to `int' in declaration of `SSL'
tls_openssl.c:440: error: syntax error before '*' token
tls_openssl.c: In function `ssl_info_cb':
tls_openssl.c:445: error: `where' undeclared (first use in this function)
tls_openssl.c:445: error: (Each undeclared identifier is reported only once
tls_openssl.c:445: error: for each function it appears in.)
tls_openssl.c:445: error: `ret' undeclared (first use in this function)
tls_openssl.c:446: error: `SSL_ST_MASK' undeclared (first use in this function)
tls_openssl.c:447: error: `SSL_ST_CONNECT' undeclared (first use in this function)
tls_openssl.c:449: error: `SSL_ST_ACCEPT' undeclared (first use in this function)
tls_openssl.c:454: error: `SSL_CB_LOOP' undeclared (first use in this function)
tls_openssl.c:456: warning: implicit declaration of function `SSL_state_string_long'
tls_openssl.c:456: error: `ssl' undeclared (first use in this function)
tls_openssl.c:456: warning: format argument is not a pointer (arg 4)
tls_openssl.c:457: error: `SSL_CB_ALERT' undeclared (first use in this function)
tls_openssl.c:459: error: `SSL_CB_READ' undeclared (first use in this function)
tls_openssl.c:462: warning: implicit declaration of function `SSL_alert_type_string_long'
tls_openssl.c:463: warning: implicit declaration of function `SSL_alert_desc_string_long'
tls_openssl.c:463: warning: format argument is not a pointer (arg 4)
tls_openssl.c:463: warning: format argument is not a pointer (arg 5)
tls_openssl.c:464: error: `SSL3_AL_FATAL' undeclared (first use in this function)
tls_openssl.c:466: warning: implicit declaration of function `SSL_get_app_data'
tls_openssl.c:466: error: `SSL' undeclared (first use in this function)
tls_openssl.c:466: error: syntax error before ')' token
tls_openssl.c:468: error: dereferencing pointer to incomplete type
tls_openssl.c:470: error: dereferencing pointer to incomplete type
tls_openssl.c:472: error: `SSL_CB_EXIT' undeclared (first use in this function)
tls_openssl.c:475: warning: format argument is not a pointer (arg 5)
tls_openssl.c: In function `tls_init':
tls_openssl.c:620: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:620: error: `ssl' undeclared (first use in this function)
tls_openssl.c:622: warning: implicit declaration of function `SSL_load_error_strings'
tls_openssl.c:623: warning: implicit declaration of function `SSL_library_init'
tls_openssl.c:631: warning: implicit declaration of function `SSL_CTX_new'
tls_openssl.c:631: warning: implicit declaration of function `TLSv1_method'
tls_openssl.c:635: warning: implicit declaration of function `SSL_CTX_set_info_callback'
tls_openssl.c: In function `tls_deinit':
tls_openssl.c:660: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:660: error: `ssl' undeclared (first use in this function)
tls_openssl.c:661: warning: implicit declaration of function `SSL_CTX_free'
tls_openssl.c:665: warning: implicit declaration of function `ERR_free_strings'
tls_openssl.c:666: warning: implicit declaration of function `EVP_cleanup'
tls_openssl.c: In function `tls_get_errors':
tls_openssl.c:760: warning: format argument is not a pointer (arg 3)
tls_openssl.c: In function `tls_connection_init':
tls_openssl.c:769: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:769: error: `ssl' undeclared (first use in this function)
tls_openssl.c:772: error: dereferencing pointer to incomplete type
tls_openssl.c:775: error: dereferencing pointer to incomplete type
tls_openssl.c:776: error: dereferencing pointer to incomplete type
tls_openssl.c:776: warning: implicit declaration of function `SSL_new'
tls_openssl.c:777: error: dereferencing pointer to incomplete type
tls_openssl.c:784: warning: implicit declaration of function `SSL_set_app_data'
tls_openssl.c:784: error: dereferencing pointer to incomplete type
tls_openssl.c:785: warning: implicit declaration of function `SSL_set_options'
tls_openssl.c:785: error: dereferencing pointer to incomplete type
tls_openssl.c:786: error: `SSL_OP_NO_SSLv2' undeclared (first use in this function)
tls_openssl.c:786: error: `SSL_OP_NO_SSLv3' undeclared (first use in this function)
tls_openssl.c:787: error: `SSL_OP_SINGLE_DH_USE' undeclared (first use in this function)
tls_openssl.c:789: error: dereferencing pointer to incomplete type
tls_openssl.c:789: warning: implicit declaration of function `BIO_new'
tls_openssl.c:789: warning: implicit declaration of function `BIO_s_mem'
tls_openssl.c:790: error: dereferencing pointer to incomplete type
tls_openssl.c:793: warning: implicit declaration of function `SSL_free'
tls_openssl.c:793: error: dereferencing pointer to incomplete type
tls_openssl.c:798: error: dereferencing pointer to incomplete type
tls_openssl.c:799: error: dereferencing pointer to incomplete type
tls_openssl.c:802: error: dereferencing pointer to incomplete type
tls_openssl.c:803: warning: implicit declaration of function `BIO_free'
tls_openssl.c:803: error: dereferencing pointer to incomplete type
tls_openssl.c:808: warning: implicit declaration of function `SSL_set_bio'
tls_openssl.c:808: error: dereferencing pointer to incomplete type
tls_openssl.c:808: error: dereferencing pointer to incomplete type
tls_openssl.c:808: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_deinit':
tls_openssl.c:818: error: dereferencing pointer to incomplete type
tls_openssl.c:819: error: dereferencing pointer to incomplete type
tls_openssl.c:821: error: dereferencing pointer to incomplete type
tls_openssl.c:822: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_established':
tls_openssl.c:829: warning: implicit declaration of function `SSL_is_init_finished'
tls_openssl.c:829: error: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_shutdown':
tls_openssl.c:841: warning: implicit declaration of function `SSL_set_quiet_shutdown'
tls_openssl.c:841: error: dereferencing pointer to incomplete type
tls_openssl.c:842: warning: implicit declaration of function `SSL_shutdown'
tls_openssl.c:842: error: dereferencing pointer to incomplete type
tls_openssl.c: At top level:
tls_openssl.c:847: error: syntax error before '*' token
tls_openssl.c: In function `tls_match_altsubject':
tls_openssl.c:849: error: `GENERAL_NAME' undeclared (first use in this function)
tls_openssl.c:849: error: `gen' undeclared (first use in this function)
tls_openssl.c:855: warning: implicit declaration of function `X509_get_ext_d2i'
tls_openssl.c:855: error: `cert' undeclared (first use in this function)
tls_openssl.c:855: error: `NID_subject_alt_name' undeclared (first use in this function)
tls_openssl.c:855: warning: assignment makes pointer from integer without a cast
tls_openssl.c:857: warning: implicit declaration of function `sk_GENERAL_NAME_num'
tls_openssl.c:858: warning: implicit declaration of function `sk_GENERAL_NAME_value'
tls_openssl.c:860: error: `GEN_EMAIL' undeclared (first use in this function)
tls_openssl.c:863: error: `GEN_DNS' undeclared (first use in this function)
tls_openssl.c:866: error: `GEN_URI' undeclared (first use in this function)
tls_openssl.c:887: error: `match' undeclared (first use in this function)
tls_openssl.c: At top level:
tls_openssl.c:896: error: syntax error before "X509_STORE_CTX"
tls_openssl.c: In function `tls_verify_cb':
tls_openssl.c:899: error: `X509' undeclared (first use in this function)
tls_openssl.c:899: error: `err_cert' undeclared (first use in this function)
tls_openssl.c:901: error: `SSL' undeclared (first use in this function)
tls_openssl.c:901: error: `ssl' undeclared (first use in this function)
tls_openssl.c:905: warning: implicit declaration of function `X509_STORE_CTX_get_current_cert'
tls_openssl.c:905: error: `x509_ctx' undeclared (first use in this function)
tls_openssl.c:906: warning: implicit declaration of function `X509_STORE_CTX_get_error'
tls_openssl.c:907: warning: implicit declaration of function `X509_STORE_CTX_get_error_depth'
tls_openssl.c:908: warning: implicit declaration of function `X509_STORE_CTX_get_ex_data'
tls_openssl.c:909: warning: implicit declaration of function `SSL_get_ex_data_X509_STORE_CTX_idx'
tls_openssl.c:910: warning: implicit declaration of function `X509_NAME_oneline'
tls_openssl.c:910: warning: implicit declaration of function `X509_get_subject_name'
tls_openssl.c:912: warning: assignment makes pointer from integer without a cast
tls_openssl.c:913: error: dereferencing pointer to incomplete type
tls_openssl.c:914: error: dereferencing pointer to incomplete type
tls_openssl.c:916: error: `preverify_ok' undeclared (first use in this function)
tls_openssl.c:919: warning: implicit declaration of function `X509_verify_cert_error_string'
tls_openssl.c:919: warning: format argument is not a pointer (arg 4)
tls_openssl.c:924: warning: format argument is not a pointer (arg 5)
tls_openssl.c: In function `tls_connection_ca_cert':
tls_openssl.c:947: warning: implicit declaration of function `SSL_set_verify'
tls_openssl.c:947: error: dereferencing pointer to incomplete type
tls_openssl.c:947: error: `SSL_VERIFY_PEER' undeclared (first use in this function)
tls_openssl.c:952: warning: implicit declaration of function `SSL_CTX_load_verify_locations'
tls_openssl.c:962: error: dereferencing pointer to incomplete type
tls_openssl.c:971: error: dereferencing pointer to incomplete type
tls_openssl.c:971: error: `SSL_VERIFY_NONE' undeclared (first use in this function)
tls_openssl.c: In function `tls_global_ca_cert':
tls_openssl.c:980: error: `SSL_CTX' undeclared (first use in this function)
tls_openssl.c:980: error: `ssl_ctx' undeclared (first use in this function)
tls_openssl.c:994: warning: implicit declaration of function `SSL_CTX_set_client_CA_list'
tls_openssl.c:995: warning: implicit declaration of function `SSL_load_client_CA_file'
tls_openssl.c: In function `tls_global_set_verify':
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c: In function `tls_connection_set_subject_match':
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c: In function `tls_connection_set_verify':
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c: In function `tls_connection_client_cert':
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c: In function `tls_global_client_cert':
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c: At top level:
tls_openssl.c
tls_openssl.c: In function `tls_connection_private_key':
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c: In function `tls_global_private_key':
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c: In function `tls_connection_dh':
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c: In function `tls_connection_get_keys':
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c: In function `tls_connection_handshake':
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c: In function `tls_connection_server_handshake':
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c: In function `tls_connection_encrypt':
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c: In function `tls_connection_decrypt':
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c: In function `tls_connection_resumed':
tls_openssl.c
tls_openssl.c: In function `tls_connection_set_anon_dh':
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c: In function `tls_get_cipher':
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c
tls_openssl.c: In function `tls_connection_enable_workaround':
tls_openssl.c
tls_openssl.c
tls_openssl.c: In function `tls_connection_get_failed':
tls_openssl.c
tls_openssl.c: In function `tls_connection_get_read_alerts':
tls_openssl.c
tls_openssl.c: In function `tls_connection_get_write_alerts':
tls_openssl.c
tls_openssl.c: In function `tls_connection_set_params':
tls_openssl.c
make: *** [tls_openssl.o] Error 1
Ho pensato di inserire la schermata che ricevo dopo aver digitato il comando make
Qualcuno sa darmi qualche consiglio?
Ho risolto parte dei problemi, ma ancora non riesco ad avere un'esecuzione "pulita" del make.
Incollo qui di seguito il messaggio che ricevo:
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
make: *** [wpa_passphrase] Error 1
Qualcuno può dirmi da cosa può dipendere questo messaggio?
P.S. ricordo che uso Mandriva 2005, sto cercando di configurare il WPA supplicant 0.4.7 con hostap e le openssl 0.9.7i
Incollo qui di seguito il messaggio che ricevo:
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
make: *** [wpa_passphrase] Error 1
Qualcuno può dirmi da cosa può dipendere questo messaggio?
P.S. ricordo che uso Mandriva 2005, sto cercando di configurare il WPA supplicant 0.4.7 con hostap e le openssl 0.9.7i

