LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-24-2020, 05:36 PM   #1
NathGri
LQ Newbie
 
Registered: Mar 2020
Distribution: Slackware
Posts: 8

Rep: Reputation: Disabled
make install_module install: No rule to make target


Hi, I recently changed from Windows to Slackware because I wanted to make some contributions to the Linux Kernel. Anyway, I thought I should try to start by cloning the mainline repo. After cloning it and reading through the README files I compiled it and the modules into a separate directory with:

Code:
make O=/home/nathanael/KernelBuild localmodconfig
make O=/home/nathanael/KernelBuild
However, I couln't get it installed because when I ran make install I got this:
Code:
bash-4.3$ sudo make O=/home/nathanael/KernelBuild/ install_module install
Password: 
make[1]: Entering directory '/home/nathanael/KernelBuild'
make[1]: *** No rule to make target 'install_module'.  Stop.
make[1]: Leaving directory '/home/nathanael/KernelBuild'
Makefile:180: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
I tried looking around for a while but couldn't find anything good on my particular issue.

I think this might have something to do with the fact that I use ELILO instead of LILO but I'm not too sure? In case this is relevant, I am running Slackware 14.2 and the Kernel version is 5.6. I am also possibly thinking that I might have messed something up when I used slackpkg to upgrade my kernel and modules from 4.4.14 to 4.4.208. I had to fix some things manually because it also tried to use lilo to install the new kernel.

I don't have a very good handle on what is actually going on behind the scenes so if anyone does have a fix I would really appreciate it if you could explain to me why this is happening in the first place. I think that I could just boot with the new kernel image if I really need to but I have no idea what to do about the modules. Thanks!
 
Old 03-25-2020, 12:04 PM   #2
NathGri
LQ Newbie
 
Registered: Mar 2020
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: Disabled
I fixed my problem. It turns out I was the problem this whole time.

I realized that I messed up the modules_install word order and it more or less worked afterwards. My apologies for anyone who viewed this.
 
  


Reply



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
iptables: rule with RETURN target just after a rule with ACCEPT target Nerox Linux - Networking 6 09-04-2011 03:33 PM
make: *** No rule to make target `install-headers'. Stop. NightHorse Linux - Newbie 9 06-21-2009 05:16 AM
Help needed for make file problem : make: *** No rule to make target `flash', needed rameshsatyavaram Linux - Newbie 3 09-11-2008 02:13 AM
Error "make: *** No rule to make target `install'. Stop." help Ohmn Mandriva 8 07-02-2004 07:02 PM
make install_module wlfdgcrkz Linux - General 2 07-18-2003 05:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration