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

Re: Building additional kernel drivers with Debian kernel-source

> The kernel-build-* packages are probably what you want. They're
> specifically meant for building external modules for the stock debian
> kernels. You'll also need to install the corresponding kernel-headers-*,
> but you have that, I think. Be sure to read the README.Debian file.
>From the description kernel-build should but I still get

rm -f linux/drivers/char/fusion/Makefile
ln -s Makefile-2.4 linux/drivers/char/fusion/Makefile
make -C /lib/modules/2.4.26-1-k7/build \
CPPFLAGS="-D__KERNEL__ -I`pwd`/linux/include
-I/lib/modules/2.4.26-1-k7/build/include" \
        SUBDIRS=`pwd`/linux/drivers/char/fusion modules
make[1]: Entering directory `/usr/src/kernel-headers-2.4.26-1-k7'
make[1]: Leaving directory `/usr/src/kernel-headers-2.4.26-1-k7'
make[1]: *** No rule to make target `modules'.  Stop.
make: *** [all] Error 2

To make sure I've clean system I first removed any kernel-xxx Package
(except kernel-image of course) and then installed kernel-build hoping
all the dependences work => the same result.

O. Wyss

How to enhance your code, see "http://freshmeat.net/projects/wxguide/";

Reply to: