Re: What is causing "No rule to make target `modules'. Stop
No, kernel sources are always in /usr/src. the stuff in /lib/modules/<kernel>/source and /lib/modules/<kernel>/build is just a symlink to /usr/src/linux source directory, besides the actual modules which are also in /lib/modules. If you have installed the kernel source package, then do as follows which may solve the problem
1) login as root on console
2) cp /boot/config-$(uname -r) /usr/src/linux/.config (note the . (point) in .config)
3) cd /usr/src/linux && make prepare && make modules_prepare
and try compiling your module again
__________________
My site: http://microchip.bplaced.net
My repo: http://download.opensuse.org/repositories/home:/microchip8
SUSE Unbound Forum: http://suseunbound.lefora.com
Do coders dream of sheep() ?
|