View Single Post
  #10 (permalink)  
Old 09-Jul-2009, 10:36
XEyedBear's Avatar
XEyedBear XEyedBear is offline
Busy Penguin
 
Join Date: Jun 2008
Location: UK; deep south, far below Watford.
Posts: 276
XEyedBear hasn't been rated much yet
Default Re: What is causing "No rule to make target `modules'. Stop

Quote:
Originally Posted by microchip8 View Post
it is looking for these files which you don't appear to have. Did you copy the /boot/config-$(uname -r) file to /usr/src/linux/.config and ran make prepare && make modules_prepare before trying to compile your module?
Yes, If I have understood it correctly, your previous post gave me directions on how to do this. I copied your instructions (i.e. didn't retype them) into a terminal session, logged in as root. Both commands seemed to work without error. But I note that the first command you suggested creates a file called .config in usr/src/linux and not a file called .config.h

Is this intended? There is no .config.h file in the usr/src/linux directory, so I do not understand how the 'make' process can work
__________________
They said I wasn't fit to live with a pig; my brother stood up for me and said I was.
Reply With Quote