** Description changed:
Hello all!
+ System - Ubuntu 5.10
I wan't to compile kernel modules, but don't know how.
uname -a:
Linux kserver.kdaintranet 2.6.12-10-686 #1 Mon Jun 12 22:10:03 UTC 2006 i686
GNU/Linux
i install linux-headers-2.6.12-10. i created simply module and makefile with
"obj-m: module_name" string. When i type make, nothing to do, only errors. I
know, this correct way in 2.6 kernel, but what's wrong?
Thanks for help!
make file:
obj-m += module.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$PWD modules
make all output:
make[1]: Entering directory `/usr/src/linux-headers-2.6.12-10-686'
scripts/Makefile.build:13: WD/Makefile: No such file or directory
make[2]: *** No rule to make target `WD/Makefile'. Stop.
make[1]: *** [_module_WD] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-10-686'
make: *** [all] Error 2
--
Makefile is empty
https://launchpad.net/bugs/51858
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs