hello all,
i installed madwifi-0.9.3 on Fedora core 6 and i connected to internet. when i make (compile) hostapd-0.5.7, it show many error:
[root@localhost hostapd-0.5.7]# make
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 directory
driver_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:136: error: ‘IEEE80211_IOCTL_SETPARAM’ undeclared (first use in this function)
driver_madwifi.c:136: error: (Each undeclared identifier is reported only once
driver_madwifi.c:136: error: for each function it appears in.)
driver_madwifi.c:137: error: ‘IEEE80211_IOCTL_CHANLIST’ undeclared (first use in this function)
driver_madwifi.c: In function ‘set80211param’:
driver_madwifi.c:182: error: ‘IEEE80211_IOCTL_SETPARAM’ undeclared (first use in this function)
driver_madwifi.c: In function ‘madwifi_configure_wpa’:
driver_madwifi.c:215: error: ‘IEEE80211_CIPHER_AES_CCM’ undeclared (first use in this function)
driver_madwifi.c:218: error: ‘IEEE80211_CIPHER_TKIP’ undeclared (first use in this function)
driver_madwifi.c:221: error: ‘IEEE80211_CIPHER_WEP’ undeclared (first use in this function)
driver_madwifi.c:227: error: ‘IEEE80211_CIPHER_NONE’ undeclared (first use in this function)
driver_madwifi.c:236: error: ‘IEEE80211_PARAM_MCASTCIPHER’ undeclared (first use in this function)
driver_madwifi.c:243: error: ‘IEEE80211_PARAM_MCASTKEYLEN’ undeclared (first use in this function)
driver_madwifi.c:258: error: ‘IEEE80211_PARAM_UCASTCIPHERS’ undeclared (first use in this function)
driver_madwifi.c:266: error: ‘IEEE80211_PARAM_KEYMGTALGS’ undeclared (first use in this function)
driver_madwifi.c:277: error: ‘IEEE80211_PARAM_RSNCAPS’ undeclared (first use in this function)
driver_madwifi.c:284: error: ‘IEEE80211_PARAM_WPA’ undeclared (first use in this function)
driver_madwifi.c: In function ‘madwifi_set_ieee8021x’:
driver_madwifi.c:347: error: ‘IEEE80211_PARAM_AUTHMODE’ undeclared (first use in this function)
driver_madwifi.c:348: error: ‘IEEE80211_AUTH_AUTO’ undeclared (first use in this function)
driver_madwifi.c:361: error: ‘IEEE80211_AUTH_WPA’ undeclared (first use in this function)
driver_madwifi.c:361: error: ‘IEEE80211_AUTH_8021X’ undeclared (first use in this function)
driver_madwifi.c: In function ‘madwifi_set_privacy’:
driver_madwifi.c:379: error: ‘IEEE80211_PARAM_PRIVACY’ undeclared (first use in this function)
driver_madwifi.c: In function ‘madwifi_set_sta_authorized’:
driver_madwifi.c:387: error: storage size of ‘mlme’ isn’t known
driver_madwifi.c:395: error: ‘IEEE80211_MLME_AUTHORIZE’ undeclared (first use in this function)
driver_madwifi.c:397: error: ‘IEEE80211_MLME_UNAUTHORIZE’ undeclared (first use in this function)
driver_madwifi.c:399: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
driver_madwifi.c:400: error: ‘IEEE80211_IOCTL_SETMLME’ undeclared (first use in this function)
driver_madwifi.c:387: warning: unused variable ‘mlme’
driver_madwifi.c: In function ‘madwifi_del_key’:
driver_madwifi.c:426: error: storage size of ‘wk’ isn’t known
driver_madwifi.c:435: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
driver_madwifi.c:436: error: ‘IEEE80211_KEYIX_NONE’ undeclared (first use in this function)
driver_madwifi.c:441: error: ‘IEEE80211_IOCTL_DELKEY’ undeclared (first use in this function)
driver_madwifi.c:426: warning: unused variable ‘wk’
driver_madwifi.c: In function ‘madwifi_set_key’:
driver_madwifi.c:457: error: storage size of ‘wk’ isn’t known
driver_madwifi.c:469: error: ‘IEEE80211_CIPHER_WEP’ undeclared (first use in this function)
driver_madwifi.c:471: error: ‘IEEE80211_CIPHER_TKIP’ undeclared (first use in this function)
driver_madwifi.c:473: error: ‘IEEE80211_CIPHER_AES_CCM’ undeclared (first use in this function)
driver_madwifi.c:488: error: ‘IEEE80211_KEY_RECV’ undeclared (first use in this function)
driver_madwifi.c:488: error: ‘IEEE80211_KEY_XMIT’ undeclared (first use in this function)
driver_madwifi.c:490: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
driver_madwifi.c:492: error: ‘IEEE80211_KEY_DEFAULT’ undeclared (first use in this function)
driver_madwifi.c:495: error: ‘IEEE80211_KEYIX_NONE’ undeclared (first use in this function)
driver_madwifi.c:500: error: ‘IEEE80211_IOCTL_SETKEY’ undeclared (first use in this function)
driver_madwifi.c:457: warning: unused variable ‘wk’
driver_madwifi.c: In function ‘madwifi_get_seqnum’:
driver_madwifi.c:518: error: storage size of ‘wk’ isn’t known
driver_madwifi.c:525: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
driver_madwifi.c:530: error: ‘IEEE80211_IOCTL_GETKEY’ undeclared (first use in this function)
driver_madwifi.c:518: warning: unused variable ‘wk’
driver_madwifi.c: In function ‘madwifi_sta_deauth’:
driver_madwifi.c:697: error: storage size of ‘mlme’ isn’t known
driver_madwifi.c:704: error: ‘IEEE80211_MLME_DEAUTH’ undeclared (first use in this function)
driver_madwifi.c:706: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
driver_madwifi.c:707: error: ‘IEEE80211_IOCTL_SETMLME’ undeclared (first use in this function)
driver_madwifi.c:697: warning: unused variable ‘mlme’
driver_madwifi.c: In function ‘madwifi_sta_disassoc’:
driver_madwifi.c:722: error: storage size of ‘mlme’ isn’t known
driver_madwifi.c:729: error: ‘IEEE80211_MLME_DISASSOC’ undeclared (first use in this function)
driver_madwifi.c:731: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
driver_madwifi.c:732: error: ‘IEEE80211_IOCTL_SETMLME’ undeclared (first use in this function)
driver_madwifi.c:722: warning: unused variable ‘mlme’
driver_madwifi.c: At top level:
driver_madwifi.c:743: error: ‘IEEE80211_ADDR_LEN’ undeclared here (not in a function)
driver_madwifi.c: In function ‘madwifi_process_wpa_ie’:
driver_madwifi.c:766: error: storage size of ‘ie’ isn’t known
driver_madwifi.c:774: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
driver_madwifi.c:775: error: ‘IEEE80211_IOCTL_GETWPAIE’ undeclared (first use in this function)
driver_madwifi.c:766: warning: unused variable ‘ie’
driver_madwifi.c: At top level:
driver_madwifi.c:811: error: ‘IEEE80211_ADDR_LEN’ undeclared here (not in a function)
driver_madwifi.c: In function ‘madwifi_wireless_event_wireless’:
driver_madwifi.c:942: error: type of formal parameter 2 is incomplete
driver_madwifi.c:945: error: type of formal parameter 2 is incomplete
driver_madwifi.c: In function ‘madwifi_set_countermeasures’:
driver_madwifi.c:1340: error: ‘IEEE80211_PARAM_COUNTERMEASURES’ undeclared (first use in this function)
make: *** [driver_madwifi.o] Error 1
----------------------------(end error)----------------
-------------------------------------------------------------------------------------------------------------------------------
in file .config
# Example hostapd build time configuration
#
# This file lists the configuration options that are used when building the
# hostapd binary. All lines starting with # are ignored. Configuration option
# lines must be commented out complete, if they are not to be included, i.e.,
# just setting VARIABLE=n is not disabling that variable.
#
# This file is included in Makefile, so variables like CFLAGS and LIBS can also
# be modified from here. In most cass, these lines should use += in order not
# to override previous values of the variables.
# Driver interface for Host AP driver
CONFIG_DRIVER_HOSTAP=y
# Driver interface for wired authenticator
#CONFIG_DRIVER_WIRED=y
# Driver interface for madwifi driver
CONFIG_DRIVER_MADWIFI=y
CFLAGS += -I../head # change to reflect local setup; directory for madwifi src
# Driver interface for Prism54 driver
CONFIG_DRIVER_PRISM54=y
----------------------(end file .config)----------------------
Please help me!
Thanks