OpenWrt Forum Archive

Topic: make kernel_menuconfig not working

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Does anyone know what is going on with this? I get an error when I issue a make kernel_menuconfig. I downloaded the svn twice and tried to make clean to get it to work but it doesn't.

 make kernel_menuconfig
make[1]: Entering directory `/datastore/openwrt/testopenwrt/backfire/target/linux'
make[2]: Entering directory `/datastore/openwrt/testopenwrt/backfire/target/linux/atheros'
if [ -s "/datastore/openwrt/testopenwrt/backfire/build_dir/linux-atheros/linux-2.6.37.6/patches/series" ]; then (cd "/datastore/openwrt/testopenwrt/backfire/build_dir/linux-atheros/linux-2.6.37.6"; if quilt --quiltrc=- next >/dev/null 2>&1; then quilt --quiltrc=- push -a; else quilt --quiltrc=- top >/dev/null 2>&1; fi ); fi
make[2]: *** [/datastore/openwrt/testopenwrt/backfire/build_dir/linux-atheros/linux-2.6.37.6/.quilt_checked] Error 127
make[2]: Leaving directory `/datastore/openwrt/testopenwrt/backfire/target/linux/atheros'
make[1]: *** [menuconfig] Error 2
make[1]: Leaving directory `/datastore/openwrt/testopenwrt/backfire/target/linux'
make: *** [kernel_menuconfig] Error 2

(Last edited by napierzaza on 8 Jan 2012, 14:52)

Backfire does not support 2.6.37.6

All I did was svn a copy, then make menuconfig to select arch. Why is it selecting the wrong kernel?

From which url? Also paste the output of "env"

ACtually I was svn'ing

svn co svn://svn.openwrt.org/openwrt/trunk/ backfire

ENV (it's censored, so FYI I'm not root)

[xxx@xx backfire]$ env
HOSTNAME=xxx
TERM=xterm-256color
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=192.168.1.50 53972 22
QTDIR=/usr/lib64/qt-3.3
OLDPWD=/datastore/openwrt/testopenwrt
QTINC=/usr/lib64/qt-3.3/include
SSH_TTY=/dev/pts/1
USER=xxx
LS_COLORS=rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lz=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.bz=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.rar=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:
MAIL=/var/spool/mail/nmcdavit
PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/nmcdavit/bin
PWD=/datastore/openwrt/testopenwrt/backfire
KDE_IS_PRELINKED=1
LANG=en_CA.UTF-8
KDEDIRS=/usr
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HISTCONTROL=ignoredups
SHLVL=1
HOME=/home/xxx
LOGNAME=xxx
QTLIB=/usr/lib64/qt-3.3/lib
CVS_RSH=ssh
SSH_CONNECTION=xxx
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/bin/env

So it might be trunk after all.

(Last edited by napierzaza on 8 Jan 2012, 17:30)

The error your experience happens if you attempt to run kernel_menuconfig before at least the tools have been completed.
Run "make tools/quilt/install" and repeat "make kernel_menuconfig".

That's so strange as I've never had this problem. Unless maybe I've always run "make" before trying "kernel_menuconfig" in the past?

Cool thanks for the help

The discussion might have continued from here.