error structure has no member named 'wireless_data'

Romeo Theriault romeotheriault
Thu Sep 21 11:04:41 PDT 2006


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


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20060921/8f25e23d/attachment.htm 



More information about the Hostap mailing list