Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR: Kernel Makefile (/usr/src/linux/Makefile) missing.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
LiThiuME3
n00b
n00b


Joined: 18 Jan 2013
Posts: 4

PostPosted: Fri Jan 18, 2013 8:26 pm    Post subject: ERROR: Kernel Makefile (/usr/src/linux/Makefile) missing. Reply with quote

I am following this tutorial atm

http://www.howtoforge.com/perfect_server_gentoo_2007.0

and I am getting this error when I type

genkernel all

Code:

~ # genkernel all
* Gentoo Linux Genkernel; Version 3.4.24_p1
* Running with options: all

* ERROR: Kernel Makefile (/usr/src/linux/Makefile) missing.  Maybe re-install the kernel sources.

* -- Grepping log... --


* Gentoo Linux Genkernel; Version 3.4.24_p1
* Running with options: all

* ERROR: Kernel Makefile (/usr/src/linux/Makefile) missing.  Maybe re-install the kernel sources.

* -- End log... --

* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.

* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*


I really new at Gentoo should I be concerned for the rest of my install ?
Back to top
View user's profile Send private message
jburns
l33t
l33t


Joined: 18 Jan 2007
Posts: 826
Location: Massachusetts USA

PostPosted: Fri Jan 18, 2013 8:35 pm    Post subject: Reply with quote

What is the output of
Code:
ls -l /usr/src


Check that /usr/src/linux is correct.
Back to top
View user's profile Send private message
LiThiuME3
n00b
n00b


Joined: 18 Jan 2013
Posts: 4

PostPosted: Fri Jan 18, 2013 8:42 pm    Post subject: Reply with quote

Code:

ls -l /usr/src



Code:

total 4
lrwxrwxrwx 1 root root   19 Jan 18 16:25 linux -> linux-3.2.12-gentoo
drwxr-xr-x 3 root root 4096 Jun 26  2012 linux-3.2.12-gentoo
Back to top
View user's profile Send private message
jburns
l33t
l33t


Joined: 18 Jan 2007
Posts: 826
Location: Massachusetts USA

PostPosted: Fri Jan 18, 2013 8:52 pm    Post subject: Reply with quote

Did you do an emerge of the kernel sources?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7842
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Jan 18, 2013 10:11 pm    Post subject: Reply with quote

LiThiuME3, Welcome to Gentoo.

I glanced at that tutorial and it seems mostly okay, but beware: it's 5 years out of date. The network configuration file syntax has changed. I'd follow the Gentoo Handbook when I got to that part. I noticed one other issue early in the document (didn't read it all). Take away is, expect problems. Ask good questions and you'll get good help here, though.

jburns is asking the right questions to get you on track. ;)

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
LiThiuME3
n00b
n00b


Joined: 18 Jan 2013
Posts: 4

PostPosted: Sat Jan 19, 2013 5:27 pm    Post subject: Reply with quote

jburns wrote:
Did you do an emerge of the kernel sources?


yup
Back to top
View user's profile Send private message
LiThiuME3
n00b
n00b


Joined: 18 Jan 2013
Posts: 4

PostPosted: Sat Jan 19, 2013 5:28 pm    Post subject: Reply with quote

John R. Graham wrote:
LiThiuME3, Welcome to Gentoo.

I glanced at that tutorial and it seems mostly okay, but beware: it's 5 years out of date. The network configuration file syntax has changed. I'd follow the Gentoo Handbook when I got to that part. I noticed one other issue early in the document (didn't read it all). Take away is, expect problems. Ask good questions and you'll get good help here, though.

jburns is asking the right questions to get you on track. ;)

- John


Thanks you very much will do ^^
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4683
Location: Saint Amant, Acadiana

PostPosted: Sat Jan 19, 2013 5:37 pm    Post subject: Reply with quote

LiThiuME3 wrote:
jburns wrote:
Did you do an emerge of the kernel sources?


yup

Was this emerge successful? Maybe you are running out of disk space or inodes or there is some other problem.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum