回复： driver_madwifi.c need the header =?gb2312?q?=20file=20include/compat.h, =20net80211/ieee80211.h, =20net80211/i?= eee80211_crypto.h, net80211/ieee80211_ioctl.h??
wangyue0921 at yahoo.com.cn
Tue Aug 5 06:24:54 EDT 2008
I am sorry to make a silly mistake.
In the .config file, the path of madwifi should be:
CFLAGS += -I/home/wangyue/madwifi
CFLAGS += -I../home/wangyue/madwifi
And these header files comes from madwifi, not the
--- Íõ«h <wangyue0921 at yahoo.com.cn>Ð´µÀ:
> Hi all,
> I'm the newbie of hostAP.
> I want to deploy hostAP and madwifi on Atheros
> And I have some questions as follow:
> 1. Is there any docs on how to deploy hostAP on
> I have deployed madwifi on atheros chipset
> successfully and it worked well as both station
> and AP. But I don't know how to use hostAP?
> 2. I created the .config file from defconfig, change
> the file as follow:
> # Driver interface for Host AP driver
> # Driver interface for wired authenticator
> # Driver interface for madwifi driver
> CFLAGS += -I../home/wangyue/madwifi # change to
> reflect local setup; directory for madwifi src
> Then run make and make install.
> But there are several warning and error infos:
> driver_madwifi.c:21:28: warning: include/compat.h:
> such file or directory
> driver_madwifi.c:22:32: warning:
> No such file or directory
> driver_madwifi.c:28:39: warning:
> net80211/ieee80211_crypto.h: No such file or
> driver_madwifi.c:29:38: warning:
> net80211/ieee80211_ioctl.h: No such file or
> driver_madwifi.c: In function
> driver_madwifi.c:145: error:
> undeclared (first use in this function)
> driver_madwifi.c:145: error: (Each undeclared
> identifier is reported only once
> driver_madwifi.c:145: error: for each function it
> appears in.)
> (2.1) Maybe someone else got this problem before,
> and what can I do for it?
> In my OS(FC 7 and kernel version 2.6.21), there
> such header files as compat.h and so on, in the path
> that driver_madwifi.c refers to.
> (2.2) And I searched these files on
> http://lxr.linux.no/linux, found compat.h is in
> include/net/compat.h and ieee80211.h
> These paths were not the same as the file
> driver_madwifi.c refers to.
> Is there any question on driver_madwifi.c?
> (2.3) There arenot compat.h and ieee80211.h in the
> path include/net/ and include/net/ still of my
> Maybe my FC7 doesn't contain all kernel headers?
> How can I update the headers?
> That's all. Thank you.
> Best regards,
> > _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
More information about the HostAP