Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Make fails with gentoo-sources 3.5.0 (solved)
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
fr3eatlast
n00b
n00b


Joined: 21 Jul 2012
Posts: 39
Location: Marquette, MI

PostPosted: Mon Aug 13, 2012 4:30 am    Post subject: Make fails with gentoo-sources 3.5.0 (solved) Reply with quote

I just finished configuring gentoo-sources 3.5 and when i issued the make && make modules_install command i get the following error:
Code:
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make[1]: Nothing to be done for `all'.
  HOSTCC  arch/x86/tools/relocs
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'.  Stop.

but this is the message i received when i was done with make menuconfig
Code:
scripts/kconfig/mconf Kconfig
#
# using defaults found in arch/x86/configs/x86_64_defconfig
#
#
# configuration written to gentoo
#


*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

I'm not sure what I am doing wrong to cause this, so any help would be appreciated.


Last edited by fr3eatlast on Mon Aug 13, 2012 1:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1576
Location: US

PostPosted: Mon Aug 13, 2012 4:42 am    Post subject: Reply with quote

fr3eatlast,

Welcome to gentoo :D

You should be in /usr/src/linux when running make menuconfig and subsequently make && make modules_install

Also check eselect kernel list to make sure the symlink is correct :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
fr3eatlast
n00b
n00b


Joined: 21 Jul 2012
Posts: 39
Location: Marquette, MI

PostPosted: Mon Aug 13, 2012 4:52 am    Post subject: Reply with quote

Thanks for the advice BillWho. :)
I double and triple-checked and i am in /usr/src/linux when doing both make menuconfig and the subsequent make && make modules_install commands.
Also I checked eselect kernel list and my output was
Code:
Available kernel symlink targets:
  [1]   linux-3.5.0-gentoo *
so I still have no idea what could be causing make to fail
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1576
Location: US

PostPosted: Mon Aug 13, 2012 4:57 am    Post subject: Reply with quote

fr3eatlast,

From your error message Configuration file ".config" not found! do you have a .config file in /usr/src/linux :?:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
fr3eatlast
n00b
n00b


Joined: 21 Jul 2012
Posts: 39
Location: Marquette, MI

PostPosted: Mon Aug 13, 2012 5:22 am    Post subject: Reply with quote

BillWho,

there is a .config file in /usr/src/linux

here is the output of ls /usr/src/linux
Code:
arch     CREDITS        drivers   gentoo.config  ipc      kernel       Makefile  README          scripts   tools
block    crypto         firmware  include        Kbuild   lib          mm        REPORTING-BUGS  security  usr
COPYING  Documentation  fs        init           Kconfig  MAINTAINERS  net       samples         sound     virt


Thanks again for your help
Back to top
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4117
Location: Houston, Republic of Texas

PostPosted: Mon Aug 13, 2012 5:45 am    Post subject: Reply with quote

fr3eatlast wrote:
BillWho,

there is a .config file in /usr/src/linux

here is the output of ls /usr/src/linux
Code:
arch     CREDITS        drivers   gentoo.config  ipc      kernel       Makefile  README          scripts   tools
block    crypto         firmware  include        Kbuild   lib          mm        REPORTING-BUGS  security  usr
COPYING  Documentation  fs        init           Kconfig  MAINTAINERS  net       samples         sound     virt


Thanks again for your help


the file must me named '.config'
i see a 'gentoo.config' but not a '.config'
your end of menuconfig says you saved it this way (with the name 'gentoo')

if ls -alh /usr/src/linux/ does not show a file named '.config', there is your problem.
make is specifically looking for a file named .config
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
fr3eatlast
n00b
n00b


Joined: 21 Jul 2012
Posts: 39
Location: Marquette, MI

PostPosted: Mon Aug 13, 2012 1:19 pm    Post subject: Reply with quote

Thanks for the advice cach0rr0. I reran make menuconfig and saved my configuration file as .config and then reran make, and it seems to be working fine now. :D
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