hostapd 4 FreeRadius - help

Matthew Benjamin msbenjamin12
Fri Sep 11 13:52:14 PDT 2009


Okay I installed the openssl development package and that fixed the openssl
problem. Now I have the following errors...

hostapd.o: In function `hostapd_rrb_receive':
/hostapd/hostapd-0.6.9/hostapd/hostapd.c:1061: undefined reference to
`wpa_ft_rrb_rx'
ieee802_11.o: In function `handle_assoc':
/hostapd/hostapd-0.6.9/hostapd/ieee802_11.c:1137: undefined reference to
`wpa_sm_write_assoc_resp_ies'
/hostapd/hostapd-0.6.9/hostapd/ieee802_11.c:947: undefined reference to
`wpa_ft_validate_reassoc'
ieee802_11.o: In function `handle_action':
/hostapd/hostapd-0.6.9/hostapd/ieee802_11.c:1361: undefined reference to
`wpa_ft_action_rx'
ieee802_11.o: In function `handle_auth':
/hostapd/hostapd-0.6.9/hostapd/ieee802_11.c:652: undefined reference to
`wpa_ft_process_auth'
wpa.o: In function `wpa_deinit':
/hostapd/hostapd-0.6.9/hostapd/wpa.c:429: undefined reference to
`wpa_ft_pmk_cache_deinit'
wpa.o: In function `wpa_init':
/hostapd/hostapd-0.6.9/hostapd/wpa.c:386: undefined reference to
`wpa_ft_pmk_cache_init'
wpa.o: In function `wpa_derive_ptk':
/hostapd/hostapd-0.6.9/hostapd/wpa.c:1408: undefined reference to
`wpa_auth_derive_ptk_ft'
wpa.o: In function `sm_WPA_PTK_PTKINITDONE_Enter':
/hostapd/hostapd-0.6.9/hostapd/wpa.c:1663: undefined reference to
`wpa_ft_push_pmk_r1'
wpa_auth_ie.o: In function `wpa_auth_gen_wpa_ie':
/hostapd/hostapd-0.6.9/hostapd/wpa_auth_ie.c:281: undefined reference to
`wpa_write_mdie'
../src/eap_server/eap_methods.o: In function `eap_server_register_methods':
/hostapd/hostapd-0.6.9/hostapd/../src/eap_server/eap_methods.c:260:
undefined reference to `eap_server_fast_register'
collect2: ld returned 1 exit status

any ideas?

On Fri, Sep 11, 2009 at 2:33 PM, Matthew Benjamin <msbenjamin12 at gmail.com>wrote:

> Would anyone know where to change the location of openssl for hostapd?
>
>
>
> I have looked in the config files to no avail.
>>
>> hostapd.conf
>> ./config
>> defconfig
>> wired.conf
>>
>>
>> On Tue, Sep 8, 2009 at 3:50 PM, Paul Roit <plroit at gmail.com> wrote:
>>
>>> You should, probably, change the path of openssl
>>> in the .config file
>>> search for a comment that asks to uncomment and fix itself (the path to
>>> openssl) and includes "openssl"
>>>
>>> The path names probably conatain a direcotry named "openssl" where
>>> instead it should have been only "ssl"
>>>
>>> Just had the same problem a few days ago,
>>> Paul
>>>
>>> On Tue, Sep 8, 2009 at 11:44 PM, Matthew Benjamin <
>>> msbenjamin12 at gmail.com> wrote:
>>>
>>>> I am trying to install hostapd, to use the additional EAP types in
>>>> freeradius however I am having trouble with the build. Can someone assist
>>>> me, I am getting openssl errors during the make.
>>>>
>>>>
>>>> example:
>>>> ...
>>>> /src/crypto/tls_openssl.c: In function ?tls_get_cipher?:
>>>> ../src/crypto/tls_openssl.c:2321: error: ?struct tls_connection? has no
>>>> member named ?ssl?
>>>> ../src/crypto/tls_openssl.c:2324: warning: implicit declaration of
>>>> function ?SSL_get_cipher?
>>>> ../src/crypto/tls_openssl.c:2324: error: ?struct tls_connection? has no
>>>> member named ?ssl?
>>>> ../src/crypto/tls_openssl.c:2324: warning: assignment makes pointer from
>>>> integer without a cast
>>>> ../src/crypto/tls_openssl.c: In function
>>>> ?tls_connection_enable_workaround?:
>>>> ../src/crypto/tls_openssl.c:2336: error: ?struct tls_connection? has no
>>>> member named ?ssl?
>>>> ../src/crypto/tls_openssl.c:2336: error:
>>>> ?SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS? undeclared (first use in this function)
>>>> ../src/crypto/tls_openssl.c: In function ?tls_connection_get_failed?:
>>>> ../src/crypto/tls_openssl.c:2372: error: ?struct tls_connection? has no
>>>> member named ?failed?
>>>> ../src/crypto/tls_openssl.c: In function
>>>> ?tls_connection_get_read_alerts?:
>>>> ../src/crypto/tls_openssl.c:2380: error: ?struct tls_connection? has no
>>>> member named ?read_alerts?
>>>> ../src/crypto/tls_openssl.c: In function
>>>> ?tls_connection_get_write_alerts?:
>>>> ../src/crypto/tls_openssl.c:2388: error: ?struct tls_connection? has no
>>>> member named ?write_alerts?
>>>> ../src/crypto/tls_openssl.c: In function ?tls_global_set_params?:
>>>> ../src/crypto/tls_openssl.c:2466: error: ?SSL_CTX? undeclared (first use
>>>> in this function)
>>>> ../src/crypto/tls_openssl.c:2466: error: ?ssl_ctx? undeclared (first use
>>>> in this function)
>>>> ../src/crypto/tls_openssl.c:2474: warning: implicit declaration of
>>>> function ?tls_global_ca_cert?
>>>> ../src/crypto/tls_openssl.c:2477: warning: implicit declaration of
>>>> function ?tls_global_client_cert?
>>>> ../src/crypto/tls_openssl.c:2480: warning: implicit declaration of
>>>> function ?tls_global_private_key?
>>>> ../src/crypto/tls_openssl.c:2484: warning: implicit declaration of
>>>> function ?tls_global_dh?
>>>> ../src/crypto/tls_openssl.c: In function
>>>> ?tls_connection_get_keyblock_size?:
>>>> ../src/crypto/tls_openssl.c:2497: error: expected ?=?, ?,?, ?;?, ?asm?
>>>> or ?__attribute__? before ?*? token
>>>> ../src/crypto/tls_openssl.c:2497: error: ?c? undeclared (first use in
>>>> this function)
>>>> ../src/crypto/tls_openssl.c:2498: error: expected ?=?, ?,?, ?;?, ?asm?
>>>> or ?__attribute__? before ?*? token
>>>> ../src/crypto/tls_openssl.c:2498: error: ?h? undeclared (first use in
>>>> this function)
>>>> ../src/crypto/tls_openssl.c:2500: error: ?struct tls_connection? has no
>>>> member named ?ssl?
>>>> ../src/crypto/tls_openssl.c:2501: error: ?struct tls_connection? has no
>>>> member named ?ssl?
>>>> ../src/crypto/tls_openssl.c:2502: error: ?struct tls_connection? has no
>>>> member named ?ssl?
>>>> ../src/crypto/tls_openssl.c:2503: error: ?struct tls_connection? has no
>>>> member named ?ssl?
>>>> ../src/crypto/tls_openssl.c:2506: error: ?struct tls_connection? has no
>>>> member named ?ssl?
>>>> ../src/crypto/tls_openssl.c:2510: error: ?struct tls_connection? has no
>>>> member named ?ssl?
>>>> ../src/crypto/tls_openssl.c:2513: warning: implicit declaration of
>>>> function ?EVP_CIPHER_key_length?
>>>> ../src/crypto/tls_openssl.c:2514: warning: implicit declaration of
>>>> function ?EVP_MD_size?
>>>> ../src/crypto/tls_openssl.c:2515: warning: implicit declaration of
>>>> function ?EVP_CIPHER_iv_length?
>>>> make: *** [../src/crypto/tls_openssl.o] Error 1
>>>>
>>>> --
>>>> mB.
>>>>
>>>> _______________________________________________
>>>> HostAP mailing list
>>>> HostAP at lists.shmoo.com
>>>> http://lists.shmoo.com/mailman/listinfo/hostap
>>>>
>>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Paul
>>>
>>
>>
>>
>> --
>> mB.
>>
>
>
>
> --
> mB.
>



-- 
mB.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20090911/90382c84/attachment-0001.htm 



More information about the Hostap mailing list