Compiling hostapd problems
mrcool at stupidgamerz.com
mrcool
Thu Mar 31 09:54:34 PST 2005
Hello!
Im trying to compile hostapd for madwifi to use it as an authenticator aginst
radius (NO WPA WILL BE USED, NONE). I have been using hostap and hostapd to
authenticate users for my wireless customers (just mac authentication), I
wish to try a madwifi accesspoint, and am trying to compile hostapd to use
with madwifi. I get this error: (I have turned OFF all the different
ciphers in the driver, as Im not using wep, and have commented them out in
the .config for hostapd) This is a cross compile (drivers are for wisp-dist
2.4.25 kernel).
echo '#include <stdlib.h>' >> driver_conf.c
echo '#include <stdio.h>' >> driver_conf.c
echo '#include <sys/types.h>' >> driver_conf.c
echo '#include <netinet/in.h>' >> driver_conf.c
echo '#include "hostapd.h"' >> driver_conf.c
echo '#include "driver.h"' >> driver_conf.c
echo "void madwifi_driver_register(void);" >> driver_conf.c
echo 'void register_drivers(void) {' >> driver_conf.c
echo "madwifi_driver_register();" >> driver_conf.c
echo '}' >> driver_conf.c
gcc -MMD -O2 -Wall -g -DHOSTAPD_DUMP_STATE -I. -I../driver/modules -I../utils
-I../wpa_supplicant -I../home/files/2.4.25/bsd/madwifi
-DCONFIG_DRIVER_MADWIFI -c -o driver_conf.o driver_conf.c
gcc -MMD -O2 -Wall -g -DHOSTAPD_DUMP_STATE -I. -I../driver/modules -I../utils
-I../wpa_supplicant -I../home/files/2.4.25/bsd/madwifi
-DCONFIG_DRIVER_MADWIFI -c -o driver_madwifi.o driver_madwifi.c
driver_madwifi.c:24:28: warning: include/compat.h: No such file or directory
driver_madwifi.c:25:32: warning: net80211/ieee80211.h: No such file or
directory
driver_madwifi.c:26:39: warning: net80211/ieee80211_crypto.h: No such file or
directory
driver_madwifi.c:27:38: warning: net80211/ieee80211_ioctl.h: No such file or
directory
driver_madwifi.c: In function `set80211param':
driver_madwifi.c:130: error: `IEEE80211_IOCTL_SETPARAM' undeclared (first use
in this function)
driver_madwifi.c:130: error: (Each undeclared identifier is reported only
once
driver_madwifi.c:130: error: for each function it appears in.)
driver_madwifi.c: In function `madwifi_configure_wpa':
driver_madwifi.c:161: error: `IEEE80211_CIPHER_AES_CCM' undeclared (first use
in this function)
driver_madwifi.c:164: error: `IEEE80211_CIPHER_TKIP' undeclared (first use in
this function)
driver_madwifi.c:167: error: `IEEE80211_CIPHER_WEP' undeclared (first use in
this function)
driver_madwifi.c:173: error: `IEEE80211_CIPHER_NONE' undeclared (first use in
this function)
driver_madwifi.c:182: error: `IEEE80211_PARAM_MCASTCIPHER' undeclared (first
use in this function)
driver_madwifi.c:189: error: `IEEE80211_PARAM_MCASTKEYLEN' undeclared (first
use in this function)
driver_madwifi.c:204: error: `IEEE80211_PARAM_UCASTCIPHERS' undeclared (first
use in this function)
driver_madwifi.c:212: error: `IEEE80211_PARAM_KEYMGTALGS' undeclared (first
use in this function)
driver_madwifi.c:223: error: `IEEE80211_PARAM_RSNCAPS' undeclared (first use
in this function)
driver_madwifi.c:230: error: `IEEE80211_PARAM_WPA' undeclared (first use in
this function)
driver_madwifi.c: In function `madwifi_set_ieee8021x':
driver_madwifi.c:295: error: `IEEE80211_PARAM_AUTHMODE' undeclared (first use
in this function)
driver_madwifi.c:296: error: `IEEE80211_AUTH_AUTO' undeclared (first use in
this function)
driver_madwifi.c:309: error: `IEEE80211_AUTH_WPA' undeclared (first use in
this function)
driver_madwifi.c:309: error: `IEEE80211_AUTH_8021X' undeclared (first use in
this function)
driver_madwifi.c: In function `madwifi_set_privacy':
driver_madwifi.c:326: error: `IEEE80211_PARAM_PRIVACY' undeclared (first use
in this function)
driver_madwifi.c: In function `madwifi_set_sta_authorized':
driver_madwifi.c:334: error: storage size of `mlme' isn't known
driver_madwifi.c:341: error: `IEEE80211_MLME_AUTHORIZE' undeclared (first use
in this function)
driver_madwifi.c:343: error: `IEEE80211_MLME_UNAUTHORIZE' undeclared (first
use in this function)
driver_madwifi.c:345: error: `IEEE80211_ADDR_LEN' undeclared (first use in
this function)
driver_madwifi.c:346: error: `IEEE80211_IOCTL_SETMLME' undeclared (first use
in this function)
driver_madwifi.c:334: warning: unused variable `mlme'
driver_madwifi.c: In function `madwifi_del_key':
driver_madwifi.c:355: error: storage size of `wk' isn't known
driver_madwifi.c:364: error: `IEEE80211_ADDR_LEN' undeclared (first use in
this function)
driver_madwifi.c:366: error: `IEEE80211_IOCTL_DELKEY' undeclared (first use
in this function)
driver_madwifi.c:355: warning: unused variable `wk'
driver_madwifi.c: In function `madwifi_set_key':
driver_madwifi.c:376: error: storage size of `wk' isn't known
driver_madwifi.c:387: error: `IEEE80211_CIPHER_WEP' undeclared (first use in
this function)
driver_madwifi.c:389: error: `IEEE80211_CIPHER_TKIP' undeclared (first use in
this function)
driver_madwifi.c:391: error: `IEEE80211_CIPHER_AES_CCM' undeclared (first use
in this function)
driver_madwifi.c:406: error: `IEEE80211_KEY_RECV' undeclared (first use in
this function)
driver_madwifi.c:406: error: `IEEE80211_KEY_XMIT' undeclared (first use in
this function)
driver_madwifi.c:408: error: `IEEE80211_ADDR_LEN' undeclared (first use in
this function)
driver_madwifi.c:410: error: `IEEE80211_KEY_DEFAULT' undeclared (first use in
this function)
driver_madwifi.c:413: error: `IEEE80211_KEYIX_NONE' undeclared (first use in
this function)
driver_madwifi.c:418: error: `IEEE80211_IOCTL_SETKEY' undeclared (first use
in this function)
driver_madwifi.c:376: warning: unused variable `wk'
driver_madwifi.c: In function `madwifi_get_seqnum':
driver_madwifi.c:427: error: storage size of `wk' isn't known
driver_madwifi.c:434: error: `IEEE80211_ADDR_LEN' undeclared (first use in
this function)
driver_madwifi.c:439: error: `IEEE80211_IOCTL_GETKEY' undeclared (first use
in this function)
driver_madwifi.c:427: warning: unused variable `wk'
driver_madwifi.c: In function `madwifi_sta_deauth':
driver_madwifi.c:521: error: storage size of `mlme' isn't known
driver_madwifi.c:527: error: `IEEE80211_MLME_DEAUTH' undeclared (first use in
this function)
driver_madwifi.c:529: error: `IEEE80211_ADDR_LEN' undeclared (first use in
this function)
driver_madwifi.c:530: error: `IEEE80211_IOCTL_SETMLME' undeclared (first use
in this function)
driver_madwifi.c:521: warning: unused variable `mlme'
driver_madwifi.c: In function `madwifi_sta_disassoc':
driver_madwifi.c:538: error: storage size of `mlme' isn't known
driver_madwifi.c:545: error: `IEEE80211_ADDR_LEN' undeclared (first use in
this function)
driver_madwifi.c:546: error: `IEEE80211_IOCTL_SETMLME' undeclared (first use
in this function)
driver_madwifi.c:538: warning: unused variable `mlme'
driver_madwifi.c: At top level:
driver_madwifi.c:550: error: `IEEE80211_ADDR_LEN' undeclared here (not in a
function)
driver_madwifi.c: In function `madwifi_process_wpa_ie':
driver_madwifi.c:573: error: storage size of `ie' isn't known
driver_madwifi.c:580: error: `IEEE80211_ADDR_LEN' undeclared (first use in
this function)
driver_madwifi.c:581: error: `IEEE80211_IOCTL_GETWPAIE' undeclared (first use
in this function)
driver_madwifi.c:573: warning: unused variable `ie'
driver_madwifi.c: At top level:
driver_madwifi.c:610: error: `IEEE80211_ADDR_LEN' undeclared here (not in a
function)
driver_madwifi.c: In function `madwifi_wireless_event_wireless':
driver_madwifi.c:702: error: incompatible type for argument 2 of
`madwifi_del_sta'
driver_madwifi.c:705: error: incompatible type for argument 2 of
`madwifi_new_sta'
make: *** [driver_madwifi.o] Error 1
Thanks all for you time.
Jerryf
More information about the Hostap
mailing list