Compile Errors: wpa_supplicant 0.4.3 with madwifi
Benjamin Hess
benjamin.h
Sun Jul 31 03:12:42 PDT 2005
Hi
I'm getting a lot of errors when i want to compile the wpa_supplicant.
How can i fix this?
madwifi is in the path /usr/src/madwifi (cvs version)
wpa_supplicant is in /usr/src/wpa_supplicant-0.4.3
Here my .config File:
CONFIG_DRIVER_MADWIFI=y
CFLAGS += -I../madwifi
CONFIG_WIRELESS_EXTENSION=y
Errors:
cc -MMD -O2 -Wall -g -I../driver/modules -I../utils -I../hostapd
-I../madwifi -DCONFIG_DRIVER_MADWIFI -DCONFIG_WIRELESS_EXTENSION -c -o
driver_madwifi.o driver_madwifi.c
In file included from driver_madwifi.c:31:
../madwifi/net80211/ieee80211.h:69: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:52: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:81: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:69: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:95: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:81: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:107: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:95: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:196: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:107: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:224: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:196: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:233: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:224: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:274: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:233: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:284: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:274: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:298: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:284: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:306: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:298: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:313: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:306: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:320: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:313: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:328: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:320: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:336: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:328: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:389: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:336: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:421: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:389: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:431: Warnung: kein Semikolon am Ende von
?struct? oder ?union?
../madwifi/net80211/ieee80211.h:431: error: Syntaxfehler before "__packed"
../madwifi/net80211/ieee80211.h:432: Warnung: type defaults to `int' in
declaration of `__packed'
../madwifi/net80211/ieee80211.h:432: error: conflicting types for `__packed'
../madwifi/net80211/ieee80211.h:421: error: previous declaration of
`__packed'
../madwifi/net80211/ieee80211.h:432: Warnung: data definition has no
type or storage class
make: *** [driver_madwifi.o] Fehler 1
Thanks for help
Benjamin
More information about the Hostap
mailing list