AR5112 card working with madwifi-bsd, hostapd-0.4.1, wpa_supplicant-0.4.1(andopenssl-0.9.7g)

and hansen and0806 at yahoo.dk
Mon Jun 6 07:33:15 EDT 2005


Hi

I'm not the shark here ;)
but a wild guess can be:
perhaps you gcc compiler is old
are you using a older distribution ?
in my compile process i did't get any major errors
if any at all, can't remember
my gcc version is gcc-3.4.1

Best Regards
Lasse Jensen

--- Victor Yeo wrote:

> thanks for prompt reply.
> 
> i use hostapd-0.4.1, wpa_supplicant-0.4.1, latest
> madwifi-bsd, kernel
> 2.4.18.
> 
> when i compile wpa_supplicant-0.4.1,
> I get SIOCIWFIRSTPRIV undeclared in
> driver_madwifi.c.
> 
> Is there something wrong?
> 
> ==============compilation
> log=================================
> cc -MMD -O2 -Wall -g -I../driver/modules -I../utils
> -I../hostapd -I/home/yeo
> sv/ssl/include -I/home/yeosv/samples/madwifi-bsd
> -DCONFIG_DRIVER_WEXT -DCONF
> IG_DRIVER_MADWIFI -DCONFIG_DRIVER_WIRED -DEAP_TLS
> -DEAP_PEAP -DEAP_TTLS -DEA
> P_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_LEAP
> -DEAP_TLV -DIEEE8021X_EA
> POL -DEAP_TLS_FUNCS -DPKCS12_FUNCS
> -DCONFIG_SMARTCARD -DCONFIG_WIRELESS_EXTE
> NSION -DCONFIG_CTRL_IFACE   -c -o driver_madwifi.o
> driver_madwifi.c
> driver_madwifi.c: In function `set80211priv':
> driver_madwifi.c:92: `SIOCIWFIRSTPRIV' undeclared
> (first use in this
> function)
> driver_madwifi.c:92: (Each undeclared identifier is
> reported only once
> driver_madwifi.c:92: for each function it appears
> in.)
> driver_madwifi.c: In function `set80211param':
> driver_madwifi.c:114: `SIOCIWFIRSTPRIV' undeclared
> (first use in this
> function)
> driver_madwifi.c: In function
> `wpa_driver_madwifi_set_wpa_ie':
> driver_madwifi.c:134: `SIOCIWFIRSTPRIV' undeclared
> (first use in this
> function)
> driver_madwifi.c: In function
> `wpa_driver_madwifi_del_key':
> driver_madwifi.c:153: `SIOCIWFIRSTPRIV' undeclared
> (first use in this
> function)
> driver_madwifi.c: In function
> `wpa_driver_madwifi_set_key':
> driver_madwifi.c:217: `SIOCIWFIRSTPRIV' undeclared
> (first use in this
> function)
> driver_madwifi.c: In function
> `wpa_driver_madwifi_deauthenticate':
> driver_madwifi.c:247: `SIOCIWFIRSTPRIV' undeclared
> (first use in this
> function)
> driver_madwifi.c: In function
> `wpa_driver_madwifi_disassociate':
> driver_madwifi.c:260: `SIOCIWFIRSTPRIV' undeclared
> (first use in this
> function)
> driver_madwifi.c: In function
> `wpa_driver_madwifi_associate':
> driver_madwifi.c:317: `SIOCIWFIRSTPRIV' undeclared
> (first use in this
> function)
> driver_madwifi.c: In function
> `wpa_driver_madwifi_scan':
> driver_madwifi.c:357: `SIOCSIWSCAN' undeclared
> (first use in this function)
> make: *** [driver_madwifi.o] Error 1




More information about the HostAP mailing list