error structure has no member named 'wireless_data'

Dan Williams dcbw
Thu Sep 21 11:57:23 PDT 2006


On Thu, 2006-09-21 at 14:04 -0400, Romeo Theriault wrote:
> Hello, 
> 
> I'm trying to compile hostap-driver-0.4.9 on a CentOS 4.4 machine. I
> installed  the kernel-devel package so I could build the module.
> 
> The KERNEL_PATH ?= /lib/modules/$(KVERS)/build seems to be correct and
> when I type 'make' it seems as though the compile seems to starts but
> here is the output. 
> 
>  # make
> make -C /lib/modules/2.6.9-42.0.2.EL/build
> SUBDIRS=/root/hostap-driver-0.4.9/driver/modules \
>         MODVERDIR=/root/hostap-driver-0.4.9/driver/modules modules
> make[1]: Entering directory `/usr/src/kernels/2.6.9- 42.0.2.EL-i686'
>   CC [M]  /root/hostap-driver-0.4.9/driver/modules/hostap.o
> In file included
> from /root/hostap-driver-0.4.9/driver/modules/hostap.c:116:
> /root/hostap-driver-0.4.9/driver/modules/hostap_ap.c:21: warning:
> `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552) 
> /root/hostap-driver-0.4.9/driver/modules/hostap_ap.c:26: warning:
> `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552)
> /root/hostap-driver-0.4.9/driver/modules/hostap_ap.c:31: warning:
> `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552) 
> /root/hostap-driver-0.4.9/driver/modules/hostap_ap.c:36: warning:
> `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552)
> In file included
> from /root/hostap-driver-0.4.9/driver/modules/hostap.c:118:
> /root/hostap-driver-0.4.9/driver/modules/hostap_ioctl.c:4121: error:
> unknown field `get_wireless_stats' specified in initializer
> /root/hostap-driver-0.4.9/driver/modules/hostap_ioctl.c:4121: warning:
> initialization makes integer from pointer without a cast 
> /root/hostap-driver-0.4.9/driver/modules/hostap.c: In function
> `hostap_setup_dev':
> /root/hostap-driver-0.4.9/driver/modules/hostap.c:942: error:
> structure has no member named `wireless_data'
> make[2]: *** [/root/hostap- driver-0.4.9/driver/modules/hostap.o]
> Error 1
> make[1]: *** [_module_/root/hostap-driver-0.4.9/driver/modules] Error
> 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.9-42.0.2.EL-i686'
> make: *** [2.6] Error 2

Wireless bits did get updated for RHEL4 U4, specifically the ieee80211
layer and the ipw2200 and ipw2100 drivers.  Wireless Extensions also got
updated to WE-18 (used to be at WE-16 I think).  Not sure if this error
is a result of that.

John?

Dan


> 
> And then it dies on this. I tried an older version of hostap 0.3.9 and
> I get the same errors. 
> 
> Is there something that I can do to get this to compile.
> 
> Thank you for any help.
> 
> Romeo
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap





More information about the Hostap mailing list