Noticed in compiling the Spectrum24 driver with
pcmcia-cs-3.1.26 2.4.4-ac14, and then with any of the
Alan Cox series of the 2.4.5 kernels the Spectrum24
driver failed to compile. Make does not provide any
useful information other than 'Error 1'.
By looking at some of the other headers for the other
drivers the only difference I could see was the:
#include <pcmcia/config.h>
#include <pcmcia/k_compat.h>
lines were the first included. After changing this in
the Spectrum24t.h, everything compiled fine and had a
lot less compile warnings. This patch should work for
any kernel version, and the error may have been
happening with other 2.4.4-acxx kernels.
To run the patch, change to the clients directory of
the pcmcia-cs source and run:
patch -p1 < patch-file-you-saved
Patch Spectrum24t.h
Logged In: YES
user_id=223358
Oops, forgot to attach patch.