LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-11-2009, 02:25 AM   #1
heffo_j
Member
 
Registered: Jan 2005
Location: Caboolture, Oz
Distribution: Deepin 2013 64bit
Posts: 142

Rep: Reputation: 16
*** No rule to make target `modules'. Stop. Help


Hello all,

After MANY days I've been trying to set up my analogue TV USB Box with an empia 28xx driver. I had this running in the previous version of my distro (Linux Mint). However, I cannot get it running. I've followed many different "how tos" without success. The most persistent error is in the "make" process. I get this error message:

Code:
 *** No rule to make target `modules'.  Stop.
I seems that this is trying to put the modules somewhere but the build file is not saying where or the the place doesn't exist. (I am guessing).

Any help on how to solve this would be appreciated. (Build-essential *is* installed - that's always the first question)

This is highly frustrating.

Regards
John
 
Old 03-11-2009, 02:54 AM   #2
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
Are you sure you're in the right directory?
 
Old 03-11-2009, 03:00 AM   #3
heffo_j
Member
 
Registered: Jan 2005
Location: Caboolture, Oz
Distribution: Deepin 2013 64bit
Posts: 142

Original Poster
Rep: Reputation: 16
thanks for your reply,

the simple answer is "no". I am running the build from within the directory where the make files sits. I'm not sure this is right, but it is what I'm doing. Any advice?

Regards
John
 
Old 03-11-2009, 04:11 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,271

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
What does the README (or similar) stipulate ?.
What have you done - we can't help if we don't know that.
 
Old 03-11-2009, 06:43 AM   #5
heffo_j
Member
 
Registered: Jan 2005
Location: Caboolture, Oz
Distribution: Deepin 2013 64bit
Posts: 142

Original Poster
Rep: Reputation: 16
Thank you for your response.

I've basically tried to install a em28xx TV card driver. (I had it working before the distro upgrade). I followed these instructions when upgrading:

http://ubuntuforums.org/showthread.php?t=1067710

All okay up to the build part. The complete error message is this:

Code:
 /usr/src/v4l-dvb-kernel $ make

running ./build.sh build

make[1]: Entering directory `/usr/src/v4l-dvb-kernel'
rm -rf Module.symvers; 
make -C /lib/modules/`if [ -d /lib/modules/2.6.21.4-eeepc ]; then echo 2.6.21.4-eeepc; else uname -r; fi`/build SUBDIRS=`pwd` modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
make[2]: *** No rule to make target `modules'.  Stop.
make[2]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/src/v4l-dvb-kernel'
Don;t know what I've done to it. I've loaded losts of packages over the years (not that I'm an expert) but this one just doesn't play the game.

The README file has a couple of lines listing drivers beginning with "The current directory has the empia 28xx driver." Mmm.
Regards
John

Last edited by heffo_j; 03-11-2009 at 06:49 AM.
 
Old 03-11-2009, 07:38 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,271

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
sudo ???.
 
Old 03-11-2009, 06:02 PM   #7
heffo_j
Member
 
Registered: Jan 2005
Location: Caboolture, Oz
Distribution: Deepin 2013 64bit
Posts: 142

Original Poster
Rep: Reputation: 16
G'day again syg,

Yep, tried that.

I do recall three FAIL messages when I installed the headers last time. the message said to manually fix the problem. What the problem was I don't know but the uname-r said they were up and running.

Perhaps I need to do a fresh install and start again.

Regards
John
 
Old 06-05-2011, 11:44 AM   #8
lisle2011
Member
 
Registered: Mar 2011
Location: Surrey B.C. Canada (Metro Vancouver)
Distribution: Slackware 2.6.33.4-smp
Posts: 179
Blog Entries: 1

Rep: Reputation: 25
No rule

I realize that the question is dated, but for anyone that is interested having the same problem was cured when I edited Makefile.am and saw the *.c file alone with no path.
I simply put app_SOURCES =./src/app.c instead of just app.c. It compiled and revealed all my errors, which is fine. Hope this is of use sometime somewhere.

Sorry to answer such an ancient question.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make[1]: *** No rule to make target `modules'. Stop. tjyorkshire Linux - Hardware 26 03-19-2009 09:14 AM
Belkin Wirless G RTL8185L make[1]: *** No rule to make target `Makefile'. Stop. SilverRock Linux - Wireless Networking 2 02-11-2007 07:25 AM
linux-wlan-ng: No rule to make target `modules'. Stop. johnc2k Linux - Software 1 01-26-2007 05:19 PM
Error: *** No rule to make target 'all'. Stop aa2bi Linux - Newbie 6 06-08-2004 12:55 PM
*** No rule to make target `modules'. Stop. kmack2001 Linux - Newbie 9 02-16-2004 01:02 PM


All times are GMT -5. The time now is 03:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration