Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-01-2017, 10:37 PM   #1
LQ Newbie
Registered: Nov 2017
Posts: 2

Rep: Reputation: Disabled
error """make:*** no rule to make target 'modules'.stop'""

I am trying to compile source file into binary by "make" command.. but its showing the following message
make -C /lib/modules/4.12.0-kali2-amd64/build M=/root/Desktop/ipwraw-ng modules
make[1]: Entering directory '/lib/modules/4.12.0-kali2-amd64/build'
make[1]: *** No rule to make target 'modules'. Stop.
make[1]: Leaving directory '/lib/modules/4.12.0-kali2-amd64/build'
Makefile:114: recipe for target 'modules' failed
make: *** [modules] Error 2

i am running kali linux 2.0

I need help to solve this problem
Old 11-01-2017, 11:57 PM   #2
Registered: Jan 2005
Distribution: Archlinux, Debian, Centos
Posts: 219

Rep: Reputation: 33
The directory you're looking into, is the target directory for the kernel modules. The 'build' file doesn't seem to be a Makefile and that is why you're getting a strange looking error -- No rule to make target 'modules'

To me, kali-linux looks similar to Debian. Debian is using a 'module-assistant' to do the building for you. Can you check, if the description from the debian kernel handobok will work for you?


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
get this error when runnign make ***** "no rule to make target 'config'. stop" procfs Linux - General 4 05-12-2013 10:25 AM
Error: "make: *** No rule to make target `folder'. Stop." shri19 Linux - Kernel 2 05-27-2009 08:08 AM
Error "No rule to make target" while installing Linux Kernel Dufresne Linux - Newbie 3 07-08-2008 02:57 PM
Error "make: *** No rule to make target `install'. Stop." help Ohmn Mandriva 8 07-02-2004 07:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:10 PM.

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