I'm trying to compile pcmcia modules for a 2.4.3
kernel I built for my Inspiron 8000.
I compiled the 2.4.3 kernel (which is in
/usr/src/linux) and then went in /usr/src/modules/pcmcia-cs and executed
dpkg-buildpackage.
I get this error:
rm -f build build-modules
test -f man/pcmcia.5 -a -f
debian/rules
umask 022; /usr/bin/make DEB_MOD=yes
all
make[2]: Entering directory
'/usr/src/modules/pcmcia-cs'
/bin/sh: -c: line 1: syntax error near unexpected
token ';'
/bin/sh: -c line 1: 'if [ "" ]; then @set -e ;
for d in ; do /usr/bin/make -C $d ; done; fi'
make[2]: *** [all] Error 2
make[2]: Leaving directory
'/usr/src/modules/pcmcia-cs'
make[1]: *** [build-modules] Error 2
make[1]: Leaving directory
'/usr/src/modules/pcmcia-cs'
make: *** [binary-arch] Error 2
I tried other methods I have found in several README and FAQ
files included in the kernel and pcmcia-cs sources but I allways get this error
message.
What do I need to compile the modules (except the kernel and pcmcia-cs
sources and gcc)?
Could anyone help me please?
Thanks in advance,
Emilien Arino
|