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

Re: i8000 : Can't build pcmcia modules



To recompile from the kernel-source and pcmcia-source packages on Debian,
make sure /usr/src/linux is a symlink to your kernel source directory
(probably /usr/src/kernel-source-2.4.3).  Then, go into /usr/src/linux and
do:

make-kpkg kernel_image
make-kpkg modules_image

You'll then get two debs in /usr/src - one for the kernel, and one for the
pcmcia modules.  Use dpkg -i to install these.

    - Kevin.

From: Emilien Arino
To: debian-laptop@lists.debian.org
Sent: Wednesday, April 18, 2001 8:29 AM
Subject: i8000 : Can't build pcmcia modules
>
>
>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




Reply to: