View Single Post
  #7 (permalink)  
Old 07-Jul-2009, 13:55
malcolmlewis's Avatar
malcolmlewis malcolmlewis is online now
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,684
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: What is causing "No rule to make target `modules'. Stop"?

Quote:
Originally Posted by microchip8

> */home/tony/install_temp/pwc-10.0.11/pwc.h:28:26: error:
> linux/config.h: No such file or directory
> /home/tony/install_temp/pwc-10.0.11/pwc.h:37:27: error:
> asm/semaphore.h: No such file or directory*


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?
Hi
Looks like the OP will need to patch the header files,
it's linux/semaphore.h not asm.

@OP, you do realize the pwc module is part of the kernel?

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default
up 10 days 3:59, 4 users, load average: 0.22, 0.26, 0.29
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14

Reply With Quote