hostapd 4 FreeRadius - help

Matthew Benjamin msbenjamin12 at gmail.com
Fri Sep 11 16:52:14 EDT 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