Hi, On 11 December 2013 11:16, 仙凡居士 <crystal6...@126.com> wrote: > Hi gentleman > > I'm a new developer with open-wrt, and now I'm facing a problem that after I > save my kernel configurations to .config with 'make kernel_menuconfig'. > After that I do 'make V=s', but the kernel configurations are all lost, I > have to re-config it again in console manually. > Could you please tell my how this happens and help me to solve this problem, > thanks very much! > > I have tried trunk verison 32012 and the latest version 39028, and backfire, > all failed. I'm using Ubuntu10.04 > > The error messages are as following: > fanix@ubuntu:~/wireless/open-wrt/trunk$ make kernel_menuconfig > make[1]: Entering directory > `/home/fanix/wireless/open-wrt/trunk/target/linux' > make[2]: Entering directory > `/home/fanix/wireless/open-wrt/trunk/target/linux/bws-imx28' > rm -f > /home/fanix/wireless/open-wrt/trunk/build_dir/linux-bws-imx28/linux-2.6.35.3/.configured > /home/fanix/wireless/open-wrt/trunk/scripts/kconfig.pl > /home/fanix/wireless/open-wrt/trunk/target/linux/bws-imx28/config-default > > /home/fanix/wireless/open-wrt/trunk/build_dir/linux-bws-imx28/linux-2.6.35.3/.config > export MAKEFLAGS= ;make -C > /home/fanix/wireless/open-wrt/trunk/build_dir/linux-bws-imx28/linux-2.6.35.3 > -C > /home/fanix/wireless/open-wrt/trunk/build_dir/linux-bws-imx28/linux-2.6.35.3 > CROSS_COMPILE="arm-openwrt-linux-gnueabi-" ARCH="arm" KBUILD_HAVE_NLS=no > CONFIG_SHELL="/bin/bash" V='' CC="arm-openwrt-linux-gnueabi-gcc" menuconfig > make[3]: Entering directory > `/home/fanix/wireless/open-wrt/trunk/build_dir/linux-bws-imx28/linux-2.6.35.3' > HOSTCC scripts/basic/fixdep > HOSTCC scripts/basic/docproc > HOSTCC scripts/basic/hash > HOSTCC scripts/kconfig/lxdialog/checklist.o > HOSTCC scripts/kconfig/lxdialog/inputbox.o > HOSTCC scripts/kconfig/lxdialog/menubox.o > HOSTCC scripts/kconfig/lxdialog/textbox.o > HOSTCC scripts/kconfig/lxdialog/util.o > HOSTCC scripts/kconfig/lxdialog/yesno.o > HOSTCC scripts/kconfig/mconf.o > HOSTLD scripts/kconfig/mconf > scripts/kconfig/mconf arch/arm/Kconfig > # > # configuration written to .config > # > > > *** End of Linux kernel configuration. > *** Execute 'make' to build the kernel or try 'make help'. > > make[3]: Leaving directory > `/home/fanix/wireless/open-wrt/trunk/build_dir/linux-bws-imx28/linux-2.6.35.3' > /home/fanix/wireless/open-wrt/trunk/scripts/kconfig.pl '>' > /home/fanix/wireless/open-wrt/trunk/build_dir/linux-bws-imx28/linux-2.6.35.3/.config >> /home/fanix/wireless/open-wrt/trunk/target/linux/bws-imx28/config-default > Parse error at /home/fanix/wireless/open-wrt/trunk/scripts/kconfig.pl line > 137, <FILE> line 733.
Check this command. Looks like kconfig.pl failed parsing the kernel .config back to target config-default file. yousong _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel