LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-07-2013, 03:07 PM   #1
Arunkr24
LQ Newbie
 
Registered: Jul 2013
Location: Bangalore, KA, India
Distribution: Fedora 21
Posts: 3

Rep: Reputation: Disabled
Unhappy make modules_install error during kernel compilation


i am new to Linux Kernel Development and i am facing the following error.

these are the steps that i followed.

1. Downloaded the Source 2.6.34-12
2. make mrproper
3. Copied a configuration file (This configuration had worked in another PC of mine)
4. make oldconfig
5. make

now when i do make modules_install it shows the following error message.


cp: cannot stat ‘/home/arun/temp/Linux_Kernel/usr/src/linux-2.6.34-12/modules.builtin’: No such file or directory
make: *** [_modinst_] Error 1


i am not sure but i think that the error might be due to using the config file, that worked on some other system.
 
Old 07-07-2013, 08:25 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
Hi, I usually install the kernel source to /usr/src

Are you doing the "make modules_install" as root?

You need root permission to write to disk.
Code:
su (enter root passwd)
make modules_install
exit
 
Old 07-07-2013, 09:46 PM   #3
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,245

Rep: Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684
Also, is the config file from a similar version of the kernel?
 
  


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
kernel compilation error : in "make modules_install" b0nd Linux - Newbie 6 05-27-2015 02:53 PM
make modules_install error davimint Slackware 4 07-12-2006 11:43 PM
Kernel 2.6.11.6 make modules_install returns error Ac1db0rN Slackware 13 03-29-2005 11:16 AM
error in make modules_install javeree Slackware 6 12-16-2004 05:32 PM
modinst error when "make modules_install", kernel 2.4.22 kc00l Slackware 7 01-23-2004 03:28 PM


All times are GMT -5. The time now is 10:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration