I'm running Debian Sarge with an Orinoco Gold PCMCIA card. I'm (unsuccessfully) following the directions in O'Reilly's 'Linux Unwired' to patch the orinoco_cs driver for monitor mode.
I used the orinoco-0.13e.tar.gz patch from Shmoo.com...
Then I downloaded the kernel source, created the necessary symbolic link and started compiling the patch...
apt-get install kernel-source-2.4.27
tar -xvf kernel-source-2.4.27.tar
ln -s /usr/src/kernel-source-2.4.27 /lib/modules/2.4.27-1-386/build
tar -xzvf orinoco-0.13e.tar.gz
Here is where everything goes bad... the make command returns tons of errors, but I can't scroll back all the way to the beginning. The problem seems to start with /lib/modules/2.4.27-1-386/build/include/linux/types.h
Most of the errors say "warning: data definition has no type or storage class"
It doesn't stop there - the errors continue in both hermes.c and hermes.h
Note, the card does work in "regular" mode. Any ideas as to how I can solve these issues?
Thanks in advance.