[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compiling pcmcia source w/ 2.4.x kernel



I'm trying to setup a wireless LAN system on a system running Debian
testing, and am compiling the 2.4.7 kernel sources (which I can do fine).
I'm also trying to compile the pcmcia sources and am running in to a
problem. I'm using the kernel-package mechanism of compiling the kernel
and pcmcia sources and during the pcmcia source compile I get the
following compile error:

cc   -MD -O3 -Wall -Wstrict-prototypes -pipe -I../include
-I/usr/src/kernel-source-2.4.7/include  -D__KERNEL__ -DMODULE -c
apa1480_stub.c
apa1480_stub.c:53: ../drivers/scsi/aic7xxx.h: No such file or directory
apa1480_stub.c:79: `AIC7XXX' undeclared here (not in a function)
make[4]: *** [apa1480_stub.o] Error 1
make[4]: Leaving directory `/usr/src/modules/pcmcia-cs/clients'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/modules/pcmcia-cs'
make[2]: *** [build-modules] Error 2
make[2]: Leaving directory `/usr/src/modules/pcmcia-cs'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/pcmcia-cs'
Module /usr/src/modules/pcmcia-cs failed.


Looking at the 2.2 kernel sources, the file 'aic7xxx.h' is in the
'drivers/scsi/' directory as expected by 'apa1480_stub.c', but there is no
such file in the 2.4 kernel source. There is a aic7xxx.h in
'kernel-source-2.4.7/drivers/scsi/aic7xxx', but it looks like a very
different file than in the 2.2 source. I've also done this with the 2.4.9
kernel source that I downloaded directly.

So, anyone compiled the pcmcia sources recently with a 2.4 kernel?

Thanks...




Reply to: