WPA, Madwifi & kernel 2.6.11

Fredrik Karlsson dargosch at gmail.com
Fri Dec 30 15:21:21 EST 2005


Hi,

I have had some progress in this build, but not all the way
i included this at the top of the ebuild script:

CFLAGS="$CFLAGS -I/usr/include/madwifi"

and now, I get a different error message:

i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-xp -fomit-frame-pointer
-I/usr/include/madwifi -I/usr/include/madwifi -I/usr/include/madwifi
-I. -I../utils -I../hostapd -DCONFIG_DRIVER_HOSTAP
-DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54 -DCONFIG_DRIVER_MADWIFI
-DCONFIG_DRIVER_ATMEL -DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_IPW
-DCONFIG_DRIVER_WIRED -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5
-DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_LEAP -DEAP_PSK -DEAP_TLV
-DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DPKCS12_FUNCS -DCONFIG_SMARTCARD
-DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE -DCONFIG_READLINE   -c
-o driver_prism54.o driver_prism54.c
i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-xp -fomit-frame-pointer
-I/usr/include/madwifi -I/usr/include/madwifi -I/usr/include/madwifi
-I. -I../utils -I../hostapd -DCONFIG_DRIVER_HOSTAP
-DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54 -DCONFIG_DRIVER_MADWIFI
-DCONFIG_DRIVER_ATMEL -DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_IPW
-DCONFIG_DRIVER_WIRED -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5
-DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_LEAP -DEAP_PSK -DEAP_TLV
-DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DPKCS12_FUNCS -DCONFIG_SMARTCARD
-DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE -DCONFIG_READLINE   -c
-o driver_madwifi.o driver_madwifi.c
i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-xp -fomit-frame-pointer
-I/usr/include/madwifi -I/usr/include/madwifi -I/usr/include/madwifi
-I. -I../utils -I../hostapd -DCONFIG_DRIVER_HOSTAP
-DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54 -DCONFIG_DRIVER_MADWIFI
-DCONFIG_DRIVER_ATMEL -DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_IPW
-DCONFIG_DRIVER_WIRED -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5
-DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_LEAP -DEAP_PSK -DEAP_TLV
-DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DPKCS12_FUNCS -DCONFIG_SMARTCARD
-DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE -DCONFIG_READLINE   -c
-o driver_atmel.o driver_atmel.c
driver_madwifi.c: In function `wpa_driver_madwifi_set_key':
driver_madwifi.c:250: error: `IEEE80211_KEY_GROUP' undeclared (first
use in this function)
driver_madwifi.c:250: error: (Each undeclared identifier is reported only once
driver_madwifi.c:250: error: for each function it appears in.)
make: *** [driver_madwifi.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-wireless/wpa_supplicant-0.4.7 failed.
!!! Function src_compile, Line 82, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Any ideas?

/Fredrik





On 12/30/05, Henrik Brix Andersen <brix at gentoo.org> wrote:
> On Fri, Dec 30, 2005 at 11:03:30AM +0100, Fredrik Karlsson wrote:
> > I am using the 0.1_pre20050420-r1 ebuild of madwifi and the
> > 2.6.11-gentoo-r3 kernel..
> > Is something missing somewhere?
>
> Please try the experimental ebuilds for madwifi-* and wpa_supplicant
> from my portage overlay at http://dev.gentoo.org/~brix/files/overlay/
>
> Hopefully they will prove stable enough to go into Gentoo Portage
> soon.
>
> Regards,
> Brix
> --
> Henrik Brix Andersen <brix at gentoo.org>
> Gentoo Metadistribution | Mobile computing herd
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>
>
>


--
My Gentoo + PVR-350 + IVTV + MythTV blog is on
http://gentoomythtv.blogspot.com/



More information about the HostAP mailing list