Error building berlios driver: IW_MODE_MONITOR undeclared

Florian Boelstler <[email protected]> Tue, 12 Oct 2004 18:51:59 +0200
Newsgroups gmane.linux.drivers.at76c503a.user
Organization HiGHfLOW.DE, Tuebingen, Germany , Europe, Terra
Message-ID <[email protected]>
Hi,

I just tried to build the recent cvs nightly tarball (from
at76c503a.berlios.de, v0.12beta14) on a Debian Woody system running
kernel 2.4.19.

I got the following error:

gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing
-DCOMPILE_FIRMWARE_INTO_DRIVER -fno-common -Wno-sign-compare -Wno-unused
-D__KERNEL__ -DMODULE -DEXPORT_SYMTAB
-I/lib/modules/2.4.19/build/include -DMODVERSIONS -include
/lib/modules/2.4.19/build/include/linux/modversions.h -c at76c503.c
at76c503.c: In function `start_scan':
at76c503.c:1844: `IW_MODE_MONITOR' undeclared (first use in this function)
at76c503.c:1844: (Each undeclared identifier is reported only once
at76c503.c:1844: for each function it appears in.)
at76c503.c: In function `kevent':
at76c503.c:2917: `IW_MODE_MONITOR' undeclared (first use in this function)
at76c503.c: In function `at76c503_iw_handler_set_mode':
at76c503.c:5297: `IW_MODE_MONITOR' undeclared (first use in this function)
at76c503.c: In function `set_monitor_mode':
at76c503.c:6457: `IW_MODE_MONITOR' undeclared (first use in this function)
at76c503.c: In function `at76c503_iw_handler_PRIV_IOCTL_SET_MONITOR_MODE':
at76c503.c:6500: `IW_MODE_MONITOR' undeclared (first use in this function)
make: *** [at76c503.o] Error 1


The README says that the driver works on 2.4.x and 2.6.x. I successfully
build the driver on various 2.6.x-based systems.
Do I have to use an official release version? 0.11?

wireless-tools is v23-2.

Thanks in advance,

Regards,

   Florian


--