cann't compile hostapd 0.5.1
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn
Wed Mar 15 03:26:20 PST 2006
On Wed, 15 Mar 2006, Pelusa Vali wrote:
> well i think it's a very newbie error, could you please excuse??,
> but i'm really very newbie.!! so, i installed it and again type
> make, now get this:
>
> driver_madwifi.c:21:28: warning: include/compat.h: No such file or directory
This could be the reason:
madwifi-dev - includes for the Multiband Atheros Driver for WiFi
> driver_madwifi.c:22:32: warning: net80211/ieee80211.h: No such file or directorydriver_madwifi.c:28:39: warning: net80211/ieee80211_crypto.h: No such file or directory
[snip]
> driver_madwifi.c: At top level:
> driver_madwifi.c:721: error: `IEEE80211_ADDR_LEN' undeclared here (not in a function)
> driver_madwifi.c: In function `madwifi_wireless_event_wireless':
> driver_madwifi.c:852: error: incompatible type for argument 2 of `madwifi_del_sta'
> driver_madwifi.c:855: error: incompatible type for argument 2 of `madwifi_new_sta'
> driver_madwifi.c: In function `madwifi_set_countermeasures':
> driver_madwifi.c:1251: error: `IEEE80211_PARAM_COUNTERMEASURES' undeclared (first use in this function)
> make: *** [driver_madwifi.o] Error 1
>
> those errors are same i get with hostapd 0.4.7, now again, so do you
> know where is the error, i think it's a problem with madwifi, but
> don't know what to do, any ideas?? i would appreciate so much any
> suggestion or help
You may also need to install one or several of these packages:
# apt-cache search ieee80211
ieee80211-source - Source for the 802.11 (wireless) network stack for Linux
ieee80211softmac-headers-2.6.15-1 - IEEE 802.11 SoftMAC headers for Linux 2.6.15-1
ieee80211softmac-modules-2.6.15-1-486 - IEEE 802.11 SoftMAC kernel module for Linux 2.6.15-1-486
ieee80211softmac-modules-2.6.15-1-686 - IEEE 802.11 SoftMAC kernel module for Linux 2.6.15-1-686
ieee80211softmac-modules-2.6.15-1-686-smp - IEEE 802.11 SoftMAC kernel module for Linux 2.6.15-1-686-smp
ieee80211softmac-modules-2.6.15-1-k7 - IEEE 802.11 SoftMAC kernel module for Linux 2.6.15-1-k7
ieee80211softmac-modules-2.6.15-1-k7-smp - IEEE 802.11 SoftMAC kernel module for Linux 2.6.15-1-k7-smp
ieee80211softmac-source - Source for the ieee80211softmac driver
Cheers,
Cristian
More information about the Hostap
mailing list