openSUSE Forums > Applications » What is causing "No rule to make target `modules'. Stop"?

Go Back   openSUSE Forums > Applications
Forums FAQ Members List Search Today's Posts Mark Forums Read


Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation)

Reply
Page 2 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 09-Jul-2009, 10:42
microchip8's Avatar
Shaman Penguin
 
Join Date: Jun 2008
Location: /dev/belgium
Posts: 2,194
microchip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the rough
Default Re: What is causing "No rule to make target `modules'. Stop

the pwc module is in kernel 2.6.30. I don't know if it's in earlier version. Easiest would be to just upgrade the kernel instead of going through the pain the compiling it for an older version

Code:
# modinfo pwc
filename:       /lib/modules/2.6.30-neutrino/kernel/drivers/media/video/pwc/pwc.ko
version:        10.0.13                                                           
alias:          pwcx                                                              
license:        GPL                                                               
author:         Luc Saillard <luc@saillard.org>                                   
description:    Philips & OEM USB webcam driver                                   
srcversion:     5A09472D2B9E4E6CBE18976                                           
alias:          usb:v0D81p1900d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v0D81p1910d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v06BEp8116d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v04CCp8116d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v041Ep4011d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v041Ep400Cd*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v055Dp9002d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v055Dp9001d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v055Dp9000d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v046Dp08B8d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v046Dp08B7d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v046Dp08B6d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v046Dp08B5d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v046Dp08B4d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v046Dp08B3d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v046Dp08B2d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v046Dp08B1d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v046Dp08B0d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v069Ap0001d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v0471p0329d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v0471p0313d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v0471p0312d*dc*dsc*dp*ic*isc*ip*                              
alias:          usb:v0471p0311d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0310d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p030Cd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0308d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0307d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0304d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0303d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0302d*dc*dsc*dp*ic*isc*ip*
depends:        usbcore,videodev
vermagic:       2.6.30-neutrino SMP preempt mod_unload modversions
parm:           size:Initial image size. One of sqcif, qsif, qcif, sif, cif, vga (charp)
parm:           fps:Initial frames per second. Varies with model, useful range 5-30 (int)
parm:           fbufs:Number of internal frame buffers to reserve (int)
parm:           mbufs:Number of external (mmap()ed) image buffers (int)
parm:           trace:For debugging purposes
parm:           power_save:Turn power save feature in camera on or off (int)
parm:           compression:Preferred compression quality. Range 0 (uncompressed) to 3 (high compression) (int)
parm:           leds:LED on,off time in milliseconds (array of int)
parm:           dev_hint:Device node hints (array of charp)
neutrino:/home/neutrino #
__________________
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() ?
Reply With Quote
  #12 (permalink)  
Old 09-Jul-2009, 10:52
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,701
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
the pwc module is in kernel 2.6.30. I don't know if it's in earlier
version. Easiest would be to just upgrade the kernel instead of going
through the pain the compiling it for an older version


Code:
--------------------
# modinfo pwc
filename: /lib/modules/2.6.30-neutrino/kernel/drivers/media/video/pwc/pwc.ko
version:
10.0.13 alias:
pwcx license:
GPL author: Luc Saillard
<luc@saillard.org> description: Philips & OEM USB webcam
driver srcversion:
5A09472D2B9E4E6CBE18976 alias:
usb:v0D81p1900d*dc*dsc*dp*ic*isc*ip* alias:
usb:v0D81p1910d*dc*dsc*dp*ic*isc*ip* alias:
usb:v06BEp8116d*dc*dsc*dp*ic*isc*ip* alias:
usb:v04CCp8116d*dc*dsc*dp*ic*isc*ip* alias:
usb:v041Ep4011d*dc*dsc*dp*ic*isc*ip* alias:
usb:v041Ep400Cd*dc*dsc*dp*ic*isc*ip* alias:
usb:v055Dp9002d*dc*dsc*dp*ic*isc*ip* alias:
usb:v055Dp9001d*dc*dsc*dp*ic*isc*ip* alias:
usb:v055Dp9000d*dc*dsc*dp*ic*isc*ip* alias:
usb:v046Dp08B8d*dc*dsc*dp*ic*isc*ip* alias:
usb:v046Dp08B7d*dc*dsc*dp*ic*isc*ip* alias:
usb:v046Dp08B6d*dc*dsc*dp*ic*isc*ip* alias:
usb:v046Dp08B5d*dc*dsc*dp*ic*isc*ip* alias:
usb:v046Dp08B4d*dc*dsc*dp*ic*isc*ip* alias:
usb:v046Dp08B3d*dc*dsc*dp*ic*isc*ip* alias:
usb:v046Dp08B2d*dc*dsc*dp*ic*isc*ip* alias:
usb:v046Dp08B1d*dc*dsc*dp*ic*isc*ip* alias:
usb:v046Dp08B0d*dc*dsc*dp*ic*isc*ip* alias:
usb:v069Ap0001d*dc*dsc*dp*ic*isc*ip* alias:
usb:v0471p0329d*dc*dsc*dp*ic*isc*ip* alias:
usb:v0471p0313d*dc*dsc*dp*ic*isc*ip* alias:
usb:v0471p0312d*dc*dsc*dp*ic*isc*ip* alias:
usb:v0471p0311d*dc*dsc*dp*ic*isc*ip* alias:
usb:v0471p0310d*dc*dsc*dp*ic*isc*ip* alias:
usb:v0471p030Cd*dc*dsc*dp*ic*isc*ip* alias:
usb:v0471p0308d*dc*dsc*dp*ic*isc*ip* alias:
usb:v0471p0307d*dc*dsc*dp*ic*isc*ip* alias:
usb:v0471p0304d*dc*dsc*dp*ic*isc*ip* alias:
usb:v0471p0303d*dc*dsc*dp*ic*isc*ip* alias:
usb:v0471p0302d*dc*dsc*dp*ic*isc*ip* depends: usbcore,videodev
vermagic: 2.6.30-neutrino SMP preempt mod_unload modversions
parm: size:Initial image size. One of sqcif, qsif, qcif,
sif, cif, vga (charp) parm: fps:Initial frames per second.
Varies with model, useful range 5-30 (int) parm: fbufs:Number
of internal frame buffers to reserve (int) parm: mbufs:Number
of external (mmap()ed) image buffers (int) parm: trace:For
debugging purposes parm: power_save:Turn power save feature
in camera on or off (int) parm: compressionreferred
compression quality. Range 0 (uncompressed) to 3 (high compression)
(int) parm: leds:LED on,off time in milliseconds (array of
int) parm: dev_hintevice node hints (array of charp)
neutrino:/home/neutrino #
--------------------
Hi
The pwc module is present in the OP's kernel.... 2.6.27.23-0.1 no need
to upgrade

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default
up 12 days 1:18, 2 users, load average: 0.06, 0.04, 0.06
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14

Reply With Quote
  #13 (permalink)  
Old 09-Jul-2009, 10:56
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,701
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 XEyedBear
In response to the two last questions:

1. Re the UVC module: I am lead to believe that this is not relevant to
my older web-cam (Logitech Quick Cam Pro 3000), which is supported, I'm
told, only by the PWC driver. Is my understanding correct?


2. Re PWC being part of the kernel: no, I was not aware of this and the
reading I have done so far, looking at the web-cam sensors that are
supported, also lead me to believe that I had to add the PWC driver to
the kernel (and hence the mess that I have managed to get myself into
thus far). In fact I have not been able to find an applications with
which the camera will work (for example AMSN), so I took this as good
evidence that there is currently no support for this web-cam in my
version of the kernel. Am I mistaken in this belief?

Hi
So when you plug the device in and then run dmesg, what is the usb id?

If you run the command /sbin/modinfo pwc the look through the alias
list is your id mentioned? If so as root user try modpobe pwc and
re-run the dmesg command to review the output.

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default
up 12 days 1:20, 2 users, load average: 0.09, 0.05, 0.05
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14

Reply With Quote
  #14 (permalink)  
Old 09-Jul-2009, 11:05
XEyedBear's Avatar
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 malcolmlewis View Post
Hi
Looks like the OP will need to patch the header files,
it's linux/semaphore.h not asm.
What are header files?
Where are they?
In what way do they need to be patched?

What is linux/semaphore.h and what is not asm?


Would I be right in thinking that the 'make' driver pwc-10.0.11 has never been successfully tested against the kernel for OpenSuse 11.1?

If I am wrong in thinking this, what am I doing wrong in the compile procedure and which steps in the 'install' instructions have I executed incorrectly? And could somebody please tell me where those instructions are?
__________________
They said I wasn't fit to live with a pig; my brother stood up for me and said I was.
Reply With Quote
  #15 (permalink)  
Old 09-Jul-2009, 11:23
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,701
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 XEyedBear
malcolmlewis;2009027 Wrote:
> Hi
> Looks like the OP will need to patch the header files,
> it's linux/semaphore.h not asm.
>


What are header files?
Where are they?
In what way do they need to be patched?

What is linux/semaphore.h and what is not asm?


Would I be right in thinking that the 'make' driver pwc-10.0.11 has
never been successfully tested against the kernel for OpenSuse 11.1?

If I am wrong in thinking this, what am I doing wrong in the compile
procedure and which steps in the 'install' instructions have I executed
incorrectly? And could somebody please tell me where those instructions
are?
Hi
What has happened is for a start the pwc modules is now part of the
mainstream kernel. The file your using is old and has not been updated
(the files called <somename>.h) to respect changes in the kernel
structure. eg where the files are in the kernel structure.

If you open for example (with a text editor) pwc.h and look at the
lines #include then open the kernel version of pwc.h
in /usr/src/linux/drivers/media/video/pwc and you will see the
differences.

The other issues can also be earlier versions of gcc 3.x were used,
since the change to 4.x some code has not been updated and further
changes need to be done.

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default
up 12 days 1:43, 2 users, load average: 0.08, 0.13, 0.15
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14

Reply With Quote
  #16 (permalink)  
Old 09-Jul-2009, 11:51
XEyedBear's Avatar
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 malcolmlewis View Post
Hi
The pwc module is present in the OP's kernel.... 2.6.27.23-0.1 no need to upgrade
Yes, having performed the same command, I have to agree.

I tried using aMSN again but this time with a difference: I plugged the camera into an available USB port. It seems to make a tremendous difference.....


So, I have messed about here for about 6 weeks, getting a lot of people involved and wasting their time, only to find that support for my camera is already present in the kernel (and that is NOT apparent, to a naive user like me, from any of the information on this forum). Because of the great assistance from this forum thread, I have now discovered the main problem. It's that the necessary control and data signals have a fatal inability to bridge across a 30 cm air gap between the USB plug and a USB socket. Huh, what a poor design...


Now I would like to clean up my system; do I need to keep the kernel source package or could I uninistall it?
__________________
They said I wasn't fit to live with a pig; my brother stood up for me and said I was.
Reply With Quote
  #17 (permalink)  
Old 09-Jul-2009, 12:06
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,701
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 XEyedBear
malcolmlewis;2010172 Wrote:
> Hi
> The pwc module is present in the OP's kernel.... 2.6.27.23-0.1 no need
> to upgrade
>


Yes, having performed the same command, I have to agree.

I tried using aMSN again but this time with a difference: I plugged the
camera into an available USB port. It seems to make a tremendous
difference.....


So, I have messed about here for about 6 weeks, getting a lot of people
involved and wasting their time, only to find that support for my camera
is already present in the kernel (and that is NOT apparent, to a naive
user like me, from any of the information on this forum). Because of the
great assistance from this forum thread, I have now discovered the main
problem. It's that the necessary control and data signals have a fatal
inability to bridge across a 30 cm air gap between the USB plug and a
USB socket. Huh, what a poor design...


Now I would like to clean up my system; do I need to keep the kernel
source package or could I uninistall it?
Hi
LOL... those air gaps are a real problem

If you don't plan on any module building, then for sure remove the
source.

The dmesg, lspci, lsusb and hwinfo commands are the key to adding new
hardware, with those you can pretty much see what is happening/not
happening.

Glad you have it all sorted

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default
up 12 days 2:31, 2 users, load average: 0.00, 0.13, 0.14
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14

Reply With Quote
Reply
Page 2 of 2 1 2

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2