I am new to openwrt.
I use ubuntu 14.10 as host OS.
I use openwrt 12.09 "git clone git://git.openwrt.org/12.09/openwrt.git"
But failed on command "make menuconfig", see below:
leaf@leaf:~/openwrt$ make menuconfig
Checking 'non-root'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'getopt'... ok.
Checking 'fileutils'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'gawk'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'patch'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'wget'... ok.
Checking 'git'... ok.
Checking 'gnutar'... ok.
Checking 'svn'... ok.
Checking 'gnu-find'... ok.
Checking 'getopt-extended'... ok.
make -s -C scripts/config all CC=gcc: build failed. Please re-run make with V=s to see what's going on
/home/leaf/openwrt/include/toplevel.mk:81: recipe for target 'scripts/config/mconf' failed
make: *** [scripts/config/mconf] Error 1
But "make V=s" succeeded, and generated many bin files under the dir of "../openwrt/bin"
openwrt-ar71xx-generic-a02-rb-w300n-squashfs-factory.bin
openwrt-ar71xx-generic-a02-rb-w300n-squashfs-sysupgrade.bin
openwrt-ar71xx-generic-alfa-ap96-jffs2-sysupgrade.bin
openwrt-ar71xx-generic-alfa-ap96-kernel.bin
openwrt-ar71xx-generic-alfa-ap96-rootfs-jffs2.bin
...
Could anyone help me?
Note "make kernel-menuconfig" works fine, and can go into configuration page.