View Single Post
  #8 (permalink)  
Old 07-Jul-2009, 14:25
malcolmlewis's Avatar
malcolmlewis malcolmlewis is offline
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,706
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 Malcolm
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?
Hi
Also see that the uvc module may be of use?
http://linux-uvc.berlios.de/

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

Reply With Quote