Fwd: F12 + ath9k + hostapd (0.7.0) = problems
jaivuk
jaivuk
Thu Dec 3 14:15:25 PST 2009
I received this error when trying to compile
hostap-e0e14a7bc337b2827ea2ddd81b2a13fb06c8911f.tar.gz (Move internal EAPOL
authenticator defines into their... )
cc -o hostapd hostapd.o main.o ieee802_1x.o config.o ieee802_11_auth.o
sta_info.o wpa.o preauth.o pmksa_cache.o drv_callbacks.o
tkip_countermeasures.o mlme.o wpa_auth_ie.o ../src/drivers/drivers.o
../src/drivers/scan_helpers.o ../src/utils/eloop.o ../src/utils/common.o
../src/utils/wpa_debug.o ../src/utils/wpabuf.o ../src/utils/os_unix.o
../src/utils/ip_addr.o ../src/common/ieee802_11_common.o
../src/common/wpa_common.o ../src/eapol_auth/eapol_auth_sm.o dump_state.o
../src/eapol_auth/eapol_auth_dump.o ../src/radius/radius.o
../src/radius/radius_client.o accounting.o vlan_init.o ctrl_iface.o
ctrl_iface_ap.o ../src/crypto/md5.o iapp.o peerkey.o ../src/utils/radiotap.o
../src/drivers/driver_hostap.o ../src/drivers/driver_nl80211.o
../src/l2_packet/l2_packet_linux.o ../src/eap_server/eap_md5.o
../src/eap_server/eap_tls.o ../src/eap_server/eap_peap.o
../src/eap_common/eap_peap_common.o ../src/eap_server/eap_ttls.o
../src/eap_server/eap_mschapv2.o ../src/eap_server/eap_gtc.o
../src/eap_server/eap.o ../src/eap_common/eap_common.o
../src/eap_server/eap_methods.o ../src/eap_server/eap_identity.o
../src/crypto/ms_funcs.o ../src/eap_common/chap.o
../src/eap_server/eap_tls_common.o ../src/crypto/tls_openssl.o
../src/crypto/crypto_openssl.o ../src/crypto/aes-wrap.o
../src/crypto/sha1.o ../src/crypto/sha1-pbkdf2.o ../src/crypto/sha1-tlsprf.o
beacon.o wme.o ap_list.o ieee802_11.o hw_features.o -lnl -lssl -lcrypto
drv_callbacks.o: In function `hostapd_button_pushed':
/home/jaiv/hostapd/hostap/hostapd/drv_callbacks.c:469: undefined reference
to `hostapd_wps_button_pushed'
collect2: ld returned 1 exit status
make: *** [hostapd] Error 1
============
Latest snaphot hostap-85d3f273df0aae8dfe25ab12ea8f814f3f2bf146.tar.gz
displayes two warnings:
drv_callbacks.c: In function ?hostapd_button_pushed?:
drv_callbacks.c:469: warning: implicit declaration of function
?hostapd_wps_button_pushed?
and makes the same error:
cc -o hostapd hostapd.o main.o ieee802_1x.o config.o ieee802_11_auth.o
sta_info.o wpa.o preauth.o pmksa_cache.o drv_callbacks.o
tkip_countermeasures.o mlme.o wpa_auth_ie.o ../src/drivers/drivers.o
../src/drivers/scan_helpers.o ../src/utils/eloop.o ../src/utils/common.o
../src/utils/wpa_debug.o ../src/utils/wpabuf.o ../src/utils/os_unix.o
../src/utils/ip_addr.o ../src/common/ieee802_11_common.o
../src/common/wpa_common.o ../src/eapol_auth/eapol_auth_sm.o dump_state.o
../src/eapol_auth/eapol_auth_dump.o ../src/radius/radius.o
../src/radius/radius_client.o accounting.o vlan_init.o ctrl_iface.o
ctrl_iface_ap.o ../src/crypto/md5.o iapp.o peerkey.o ../src/utils/radiotap.o
../src/drivers/driver_hostap.o ../src/drivers/driver_nl80211.o
../src/l2_packet/l2_packet_linux.o ../src/eap_server/eap_md5.o
../src/eap_server/eap_tls.o ../src/eap_server/eap_peap.o
../src/eap_common/eap_peap_common.o ../src/eap_server/eap_ttls.o
../src/eap_server/eap_mschapv2.o ../src/eap_server/eap_gtc.o
../src/eap_server/eap.o ../src/eap_common/eap_common.o
../src/eap_server/eap_methods.o ../src/eap_server/eap_identity.o
../src/crypto/ms_funcs.o ../src/eap_common/chap.o
../src/eap_server/eap_tls_common.o ../src/crypto/tls_openssl.o
../src/crypto/crypto_openssl.o ../src/crypto/aes-wrap.o
../src/crypto/sha1.o ../src/crypto/sha1-pbkdf2.o ../src/crypto/sha1-tlsprf.o
beacon.o wme.o ap_list.o ieee802_11.o hw_features.o -lnl -lssl -lcrypto
drv_callbacks.o: In function `hostapd_button_pushed':
/home/jaiv/hostapd/hostap/hostapd/drv_callbacks.c:469: undefined reference
to `hostapd_wps_button_pushed'
collect2: ld returned 1 exit status
make: *** [hostapd] Error 1
However 0.7.0 compiles fine.
At the moment I tried above on 2.6.30.9-99.fc11.i686.PAE (and
libnl-1.1-8.fc12.i686), but I experienced same errors on
2.6.31.5-127.fc12.i686.PAE and 2.6.31.6-145.fc12.i686.PAE as well (and 0.7.0
compiled fine on them, but it did not work properly as I already described)
I hope it helps.
Jaiv
On Thu, Dec 3, 2009 at 7:15 PM, Jouni Malinen <j at w1.fi> wrote:
> On Tue, Dec 01, 2009 at 02:24:31PM +0000, jaivuk wrote:
>
> > Also please note that I was not able to compile latest trunk version on
> > Fedora 12 (with F12 kernel)
>
> If that is still the case with the current development snapshot, please
> send more details of warnings/errors from the compiler.
>
> --
> Jouni Malinen PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20091203/a8d5aa41/attachment.htm
More information about the Hostap
mailing list