At 1:22 AM +0100 1/2/02, Michel Dänzer wrote:
On Wed, 2002-01-02 at 01:17, MaX wrote:
Il mar, 2002-01-01 alle 02:31, Wilhelm *Rafial* Fitzpatrick ha scritto:
> Oops, that should be "mol-modules-source"
Tanks, but now i have another problem:
------------------------------------------------------------
debian:/tmp/modules/mol# cd /usr/src/modules/mol/
debian:/usr/src/modules/mol# make
make -C kernel_module
/bin/sh: /home/src/modules/mol/scripts/get_uname: No such file or
directory
make[1]: Entering directory `/home/src/modules/mol/kernel_module'
gcc -pipe -Wall -O2 -D__KERNEL__ -DMODULE -msoft-float -fno-builtin -I./
-I./include -I/home/src/modules/mol/sinclude -I-
-I/usr/src/kernel-headers-`uname -r`/include -DEXPORT_SYMTAB -c -o
molsymglue.o molsymglue.c
In file included from molsymglue.c:23:
/usr/include/linux/module.h:21: linux/modversions.h: No such file or
directory
make[1]: *** [molsymglue.o] Error 1
make[1]: Leaving directory `/home/src/modules/mol/kernel_module'
make: *** [modules] Error 2
--------------------------------------------------------------
Are you issuing make-kpkg modules-image from the kernel source toplevel
directory?
Well, if I read his transcript correctly, he's trying to use the
first method listed in the mol-modules-source readme, which is to
issue a make (actually the readme says "make install") from the
/usr/src/modules/mol/ directory. And it seems like its using the
wrong kernel headers.
MaX, did you compile your 2.4.17 kernel yourself? Or are you using
a precompiled one? In either case, you'll probably need to set
KERNEL_HEADERS to point to the right include directory before issuing
the make. If you did compile your own kernel I'd recommend going the
make-kpkg route...
-raf