ZigFisher / openipc-1.0

Experiments with OpenWrt + Hi35xx and other SoC's
https://openipc.org
GNU General Public License v2.0
81 stars 24 forks source link

kernel menuconfig can't save .config #29

Open duapple opened 2 years ago

duapple commented 2 years ago

When i was run make kernel_menuconfig, after saving the .config, Outputing follow error information. I don't know why? Could you tell me how to fix, please! Error: Parse error at /media/linuxdata/hisi/openipc-1.0/scripts/kconfig.pl line 137, <FILE> line 1043.

It sam like not save correctly. When i was run make V=s,terminal let me to configurate config. As follow:

make -C /media/linuxdata/hisi/openipc-1.0/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-hi35xx_18ev200/linux-3.4.35 HOSTCFLAGS="-O2 -I/media/linuxdata/hisi/openipc-1.0/staging_dir/host/include -I/media/linuxdata/hisi/openipc-1.0/staging_dir/host/usr/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="arm-openwrt-linux-uclibcgnueabi-" ARCH="arm" KBUILD_HAVE_NLS=no CONFIG_SHELL="bash" V='' CC="arm-openwrt-linux-uclibcgnueabi-gcc" modules
make[5]: Entering directory '/media/linuxdata/hisi/openipc-1.0/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-hi35xx_18ev200/linux-3.4.35'
scripts/kconfig/conf --silentoldconfig Kconfig
warning: (USB_DWC3 && HIUSB_HOST3_0) selects USB_XHCI_PLATFORM which has unmet direct dependencies (USB_SUPPORT && USB_XHCI_HCD)
*
* Restart config...
*
*
* General setup
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [N/y/?] (NEW) 
duapple@duapple-vm:/media/linuxdata/hisi/openipc-1.0$ make kernel_menuconfig 
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
make[1]: Entering directory '/media/linuxdata/hisi/openipc-1.0/target/linux'
make[2]: Entering directory '/media/linuxdata/hisi/openipc-1.0/target/linux/hi35xx'
rm -f /media/linuxdata/hisi/openipc-1.0/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-hi35xx_18ev200/linux-3.4.35/.configured
/media/linuxdata/hisi/openipc-1.0/scripts/kconfig.pl   /media/linuxdata/hisi/openipc-1.0/target/linux/hi35xx/config-3.4.35 > /media/linuxdata/hisi/openipc-1.0/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-hi35xx_18ev200/linux-3.4.35/.config
export MAKEFLAGS= ;make -C /media/linuxdata/hisi/openipc-1.0/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-hi35xx_18ev200/linux-3.4.35 -C /media/linuxdata/hisi/openipc-1.0/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-hi35xx_18ev200/linux-3.4.35 HOSTCFLAGS="-O2 -I/media/linuxdata/hisi/openipc-1.0/staging_dir/host/include -I/media/linuxdata/hisi/openipc-1.0/staging_dir/host/usr/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="arm-openwrt-linux-uclibcgnueabi-" ARCH="arm" KBUILD_HAVE_NLS=no CONFIG_SHELL="bash" V='' CC="arm-openwrt-linux-uclibcgnueabi-gcc" menuconfig
make[3]: Entering directory '/media/linuxdata/hisi/openipc-1.0/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-hi35xx_18ev200/linux-3.4.35'
scripts/kconfig/mconf Kconfig
warning: (USB_DWC3 && HIUSB_HOST3_0) selects USB_XHCI_PLATFORM which has unmet direct dependencies (USB_SUPPORT && USB_XHCI_HCD)
#
# configuration written to .config
#

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

make[3]: Leaving directory '/media/linuxdata/hisi/openipc-1.0/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-hi35xx_18ev200/linux-3.4.35'
/media/linuxdata/hisi/openipc-1.0/scripts/kconfig.pl '>'   /media/linuxdata/hisi/openipc-1.0/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-hi35xx_18ev200/linux-3.4.35/.config > /media/linuxdata/hisi/openipc-1.0/target/linux/hi35xx/config-3.4.35
Parse error at /media/linuxdata/hisi/openipc-1.0/scripts/kconfig.pl line 137, <FILE> line 1043.
Makefile:29: recipe for target 'menuconfig' failed
make[2]: *** [menuconfig] Error 255
make[2]: Leaving directory '/media/linuxdata/hisi/openipc-1.0/target/linux/hi35xx'
Makefile:13: recipe for target 'menuconfig' failed
make[1]: *** [menuconfig] Error 2
make[1]: Leaving directory '/media/linuxdata/hisi/openipc-1.0/target/linux'
/media/linuxdata/hisi/openipc-1.0/include/toplevel.mk:134: recipe for target 'kernel_menuconfig' failed
make: *** [kernel_menuconfig] Error 2