You left out the part about a 2.3.* development kernel
PCMCIA Installation and Configuration Issues
Compile-errors in 3.1.10 (Rolf Rander Naess)
Date: 2000, Feb 15
From: David Hinds <firstname.lastname@example.org>
So... it looks like you're compiling 3.1.9 (not 3.1.10), and you're
not actually building it for the 2.2.12 kernel you mention, you're
building it against a 2.3.43 or newer development kernel.
This combination won't work, due to API changes in the latest
development kernels. You can try the latest beta on sourceforge.org
better combination? by Luis Villa, 2000, Feb 16
One other question by Luis Villa, 2000, Feb 16
For post-2.3.36, you must use the modules from the kernel tree by David Hinds, 2000, Feb 17
to: "You left out the part about a 2.3.* development kernel"