Re: Building kernel modules for stock kernels is a hell of a job!
On Tue, 23 Sep 2003 20:39:04 +0200, Manuel Bilderbeek <firstname.lastname@example.org> said:
> Hello, Kernel 2.4.22 got into testing, so I have to go to the
> procedure again.
>> #include <hallo.h>
>> * Manuel Bilderbeek [Sun, Aug 24 2003, 04:32:45PM]:
>>> The procedure I'm going through is as follows (being root all the
>>> 1) install the kernel source for the kernel,
>>> e.g. kernel-source-2.4.21
>>> 2) go to /usr/src and tar xjvf kernel-source-2.4.21.tar.bz2
>> Why don't you use the kernel-headers packages and use them as
>> partial kernel source? They provide header files (including the
>> complete kernel version) and the .config that belongs to them.
> OK, but that doesn't work! See this:
He said use the kernel-headers package, not
kernel-package. Any debian packaged module shall work with something
./debian/rules KVERS="2.4.21" KSRC="/usr/src/kernel-headers-2.4.21" KPKG_DEST_DIR="../" KDREV="blah" kdist_image
> So, only with a full kernel source tree and the copied .config you
> seem to be able to use make-kpkg. I can't help it. Please tell me
> I'm wrong. :)
I think you may well be.
I find you lack of faith in the forth dithturbing. Darse ("Darth")
Manoj Srivastava <email@example.com> <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C