cann't compile hostapd 0.5.1
Pelusa Vali
pelusitavali
Wed Mar 15 03:05:07 PST 2006
On Wed, 15 Mar 2006 10:23:32 +0200 , "Yasen Balev" <fraxinus.excelsior at gmail.com> wrote:
>well, all those "no such file"s are in libc6-dev package. Something is
>messed up with it.
>Can you compile anything else (kernel does not count)
thanks yassen, well in fact i could compile freeradius, madwifi-ng, but you are right, i don't have libc6-dev, i get this:
The following packages have unmet dependencies:
libc6-dev: Depends: libc6 (= 2.3.2.ds1-22) but 2.3.6-3 is to be installed
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
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
driver_madwifi.c:29:38: warning: net80211/ieee80211_ioctl.h: No such file or directory
driver_madwifi.c: In function `set80211priv':
driver_madwifi.c:124: error: `IEEE80211_IOCTL_SETPARAM' undeclared (first use in this function)
driver_madwifi.c:124: error: (Each undeclared identifier is reported only once
driver_madwifi.c:124: error: for each function it appears in.)
driver_madwifi.c:125: error: `IEEE80211_IOCTL_CHANLIST' undeclared (first use in this function)
driver_madwifi.c: In function `set80211param':
driver_madwifi.c:167: error: `IEEE80211_IOCTL_SETPARAM' undeclared (first use in this function)
driver_madwifi.c: In function `madwifi_configure_wpa':
driver_madwifi.c:198: error: `IEEE80211_CIPHER_AES_CCM' undeclared (first use in this function)
driver_madwifi.c:201: error: `IEEE80211_CIPHER_TKIP' undeclared (first use in this function)
driver_madwifi.c:204: error: `IEEE80211_CIPHER_WEP' undeclared (first use in this function)
driver_madwifi.c:210: error: `IEEE80211_CIPHER_NONE' undeclared (first use in this function)
driver_madwifi.c:219: error: `IEEE80211_PARAM_MCASTCIPHER' undeclared (first use in this function)
driver_madwifi.c:226: error: `IEEE80211_PARAM_MCASTKEYLEN' undeclared (first use in this function)
driver_madwifi.c:241: error: `IEEE80211_PARAM_UCASTCIPHERS' undeclared (first use in this function)
driver_madwifi.c:249: error: `IEEE80211_PARAM_KEYMGTALGS' undeclared (first use in this function)
driver_madwifi.c:260: error: `IEEE80211_PARAM_RSNCAPS' undeclared (first use in this function)
driver_madwifi.c:267: error: `IEEE80211_PARAM_WPA' undeclared (first use in this function)
driver_madwifi.c: In function `madwifi_set_ieee8021x':
driver_madwifi.c:332: error: `IEEE80211_PARAM_AUTHMODE' undeclared (first use in this function)
driver_madwifi.c:333: error: `IEEE80211_AUTH_AUTO' undeclared (first use in this function)
driver_madwifi.c:346: error: `IEEE80211_AUTH_WPA' undeclared (first use in this function)
driver_madwifi.c:346: error: `IEEE80211_AUTH_8021X' undeclared (first use in this function)
driver_madwifi.c: In function `madwifi_set_privacy':
driver_madwifi.c:363: error: `IEEE80211_PARAM_PRIVACY' undeclared (first use in this function)
driver_madwifi.c: In function `madwifi_set_sta_authorized':
driver_madwifi.c:371: error: storage size of `mlme' isn't known
driver_madwifi.c:378: error: `IEEE80211_MLME_AUTHORIZE' undeclared (first use in this function)
driver_madwifi.c:380: error: `IEEE80211_MLME_UNAUTHORIZE' undeclared (first use in this function)
driver_madwifi.c:382: error: `IEEE80211_ADDR_LEN' undeclared (first use in this function)
driver_madwifi.c:383: error: `IEEE80211_IOCTL_SETMLME' undeclared (first use in this function)
driver_madwifi.c:371: warning: unused variable `mlme'
driver_madwifi.c: In function `madwifi_del_key':
driver_madwifi.c:392: error: storage size of `wk' isn't known
driver_madwifi.c:400: error: `IEEE80211_ADDR_LEN' undeclared (first use in this function)
driver_madwifi.c:401: error: `IEEE80211_KEYIX_NONE' undeclared (first use in this function)
driver_madwifi.c:406: error: `IEEE80211_IOCTL_DELKEY' undeclared (first use in this function)
driver_madwifi.c:392: warning: unused variable `wk'
driver_madwifi.c: In function `madwifi_set_key':
driver_madwifi.c:416: error: storage size of `wk' isn't known
driver_madwifi.c:427: error: `IEEE80211_CIPHER_WEP' undeclared (first use in this function)
driver_madwifi.c:429: error: `IEEE80211_CIPHER_TKIP' undeclared (first use in this function)
driver_madwifi.c:431: error: `IEEE80211_CIPHER_AES_CCM' undeclared (first use in this function)
driver_madwifi.c:446: error: `IEEE80211_KEY_RECV' undeclared (first use in this function)
driver_madwifi.c:446: error: `IEEE80211_KEY_XMIT' undeclared (first use in this function)
driver_madwifi.c:448: error: `IEEE80211_ADDR_LEN' undeclared (first use in this function)
driver_madwifi.c:450: error: `IEEE80211_KEY_DEFAULT' undeclared (first use in this function)
driver_madwifi.c:453: error: `IEEE80211_KEYIX_NONE' undeclared (first use in this function)
driver_madwifi.c:458: error: `IEEE80211_IOCTL_SETKEY' undeclared (first use in this function)
driver_madwifi.c:416: warning: unused variable `wk'
driver_madwifi.c: In function `madwifi_get_seqnum':
driver_madwifi.c:467: error: storage size of `wk' isn't known
driver_madwifi.c:474: error: `IEEE80211_ADDR_LEN' undeclared (first use in this function)
driver_madwifi.c:479: error: `IEEE80211_IOCTL_GETKEY' undeclared (first use in this function)
driver_madwifi.c:467: warning: unused variable `wk'
driver_madwifi.c: In function `madwifi_sta_deauth':
driver_madwifi.c:635: error: storage size of `mlme' isn't known
driver_madwifi.c:641: error: `IEEE80211_MLME_DEAUTH' undeclared (first use in this function)
driver_madwifi.c:643: error: `IEEE80211_ADDR_LEN' undeclared (first use in this function)
driver_madwifi.c:644: error: `IEEE80211_IOCTL_SETMLME' undeclared (first use in this function)
driver_madwifi.c:635: warning: unused variable `mlme'
driver_madwifi.c: In function `madwifi_sta_disassoc':
driver_madwifi.c:652: error: storage size of `mlme' isn't known
driver_madwifi.c:659: error: `IEEE80211_ADDR_LEN' undeclared (first use in this function)
driver_madwifi.c:660: error: `IEEE80211_IOCTL_SETMLME' undeclared (first use in this function)
driver_madwifi.c:652: warning: unused variable `mlme'
driver_madwifi.c: At top level:
driver_madwifi.c:664: error: `IEEE80211_ADDR_LEN' undeclared here (not in a function)
driver_madwifi.c: In function `madwifi_process_wpa_ie':
driver_madwifi.c:687: error: storage size of `ie' isn't known
driver_madwifi.c:694: error: `IEEE80211_ADDR_LEN' undeclared (first use in this function)
driver_madwifi.c:695: error: `IEEE80211_IOCTL_GETWPAIE' undeclared (first use in this function)
driver_madwifi.c:687: warning: unused variable `ie'
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
thanks in advance.
_______________________________________________________________
How "hot" is the hottest creature on Earth?
postmaster.co.uk
http://www.postmaster.co.uk/cgi-bin/meme/quiz.pl?id=6
More information about the Hostap
mailing list