make menuconfig error in 2.4.19-pa3
Working from the top down in menuconfig the error happened while trying to enter character devices (more at the end)
Using,
crosscompiler xc-20020118.tar.gz
on debian sid x86
---
Kernel Version 2.4.19-pa3
---
Menuconfig has encountered a possible error in one of the kernel's configuration files and is unable to continue. Here is the error report:
Q> scripts/Menuconfig: MCmenu30: command not found
Please report this to the maintainer <[email protected]>. You may also send a problem report to <[email protected]>.
Please indicate the kernel version you are trying to configure and which menu you were trying to enter when this error occurred.
make: *** [menuconfig] Error 1
---
.config file
CONFIG_RWSEM_GENERIC_SPINLOCK=yCONFIG_EXPERIMENTAL=yCONFIG_MODULES=yCONFIG_KMOD=yCONFIG_PA8X00=yCONFIG_PA20=yCONFIG_PARISC64=yCONFIG_SMP=yCONFIG_CHASSIS_LCD_LED=yCONFIG_KWDB=yCONFIG_IOMMU_CCIO=yCONFIG_GSC=yCONFIG_GSC_LASI=yCONFIG_GSC_WAX=yCONFIG_EISA=yCONFIG_ISA=yCONFIG_PCI=yCONFIG_GSC_DINO=yCONFIG_PCI_LBA=yCONFIG_IOSAPIC=yCONFIG_IOMMU_SBA=yCONFIG_SUPERIO=yCONFIG_PCI_NAMES=yCONFIG_HOTPLUG=yCONFIG_NET=yCONFIG_SYSVIPC=yCONFIG_SYSCTL=yCONFIG_KCORE_ELF=yCONFIG_BINFMT_ELF=yCONFIG_BINFMT_SOM=yCONFIG_PARPORT=yCONFIG_PARPORT_PC=yCONFIG_PARPORT_PC_CML1=yCONFIG_PARPORT_GSC=yCONFIG_BLK_DEV_LOOP=yCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_SIZE=4096CONFIG_BLK_DEV_INITRD=yCONFIG_MD=yCONFIG_BLK_DEV_MD=yCONFIG_MD_LINEAR=yCONFIG_MD_RAID0=yCONFIG_MD_RAID1=yCONFIG_MD_RAID5=yCONFIG_PACKET=yCONFIG_PACKET_MMAP=yCONFIG_NETLINK_DEV=yCONFIG_FILTER=yCONFIG_UNIX=yCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=yCONFIG_SCSI=yCONFIG_BLK_DEV_SD=yCONFIG_SD_EXTRA_DEVS=40CONFIG_CHR_DEV_ST=yCONFIG_BLK_DEV_SR=yCONFIG_SR_EXTRA_DEVS=2CONFIG_CHR_DEV_SG=yCONFIG_SCSI_LASI700=yCONFIG_53C700_MEM_MAPPED=yCONFIG_53C700_LE_ON_BE=yCONFIG_53C700_USE_CONSISTENT=yCONFIG_SCSI_ZALON=yCONFIG_ASK_ZALON=yCONFIG_SCSI_SYM53C8XX=yCONFIG_ASK_SYM53C8XX=yCONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32CONFIG_SCSI_NCR53C8XX_SYNC=20CONFIG_NETDEVICES=yCONFIG_NET_ETHERNET=yCONFIG_LASI_82596=yCONFIG_NET_PCI=yCONFIG_TULIP=yCONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_GSC_PS2=yCONFIG_SERIAL=yCONFIG_SERIAL_CONSOLE=yCONFIG_SERIAL_GSC=yCONFIG_EXT3_FS=yCONFIG_JBD=yCONFIG_RAMFS=yCONFIG_ISO9660_FS=yCONFIG_JOLIET=yCONFIG_PROC_FS=yCONFIG_DEVPTS_FS=yCONFIG_EXT2_FS=yCONFIG_NFS_FS=yCONFIG_NFS_V3=yCONFIG_ROOT_NFS=yCONFIG_NFSD=yCONFIG_NFSD_V3=yCONFIG_SUNRPC=yCONFIG_LOCKD=yCONFIG_LOCKD_V4=yCONFIG_MSDOS_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"CONFIG_FB=yCONFIG_DUMMY_CONSOLE=yCONFIG_FB_STI=yCONFIG_FBCON_CFB8=yCONFIG_FBCON_CFB32=yCONFIG_FBCON_STI=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=yCONFIG_STI_CONSOLE=yCONFIG_DUMMY_CONSOLE=yCONFIG_DUMMY_CONSOLE=yCONFIG_FBCON=yCONFIG_FBCON_FONT=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_FONT_6x11=y
CONFIG_FONT_SUN12x22=yCONFIG_SOUND=yCONFIG_SOUND_HARMONY=yCONFIG_MAGIC_SYSRQ=y
---
---
And when running xconfig and trying to save the config I get
---
Stack Trace for Error
zcan't read "CONFIG_MTD": no such variable
while executing
"list $CONFIG_MTD"
(procedure "writeconfig" line 1992)
invoked from within
"writeconfig .config include/linux/autoconf.h"
invoked from within
".f0.right.save invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tkButtonUp" line 7)
invoked from within
"tkButtonUp .f0.right.save
"
(command bound to event)
---
---
When runing make config I get
---
Stallion multiport serial support (CONFIG_STALDRV) [N/y/?] PDC software console support (CONFIG_PDC_CONSOLE) [Y/n/?]scripts/Configure: drivers/char/Config.in: line 121: syntax error near unexpected token `fi'scripts/Configure: drivers/char/Config.in: line 121: `fi'
*
HIL support
*
*
* Input support needed for HIL support
*
*
* Multimedia devices
*
Video For Linux (CONFIG_VIDEO_DEV) [N/y/m/?]
and it continues ok and seems to save a complete .config
---
---
make palo
gives
---
make[1]: Leaving directory `/usr/src/source/linux/arch/parisc/tools' make CFLAGS="-D__KERNEL__ -I/usr/src/source/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -D__linux__ -pipe -fno-strength-reduce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=2.0 -mschedule=8000 " -C arch/parisc/kernel make[1]: Entering directory `/usr/src/source/linux/arch/parisc/kernel' hppa64-linux-gcc -D__KERNEL__ -I/usr/src/source/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -D__linux__ -pipe -fno-strength-reduce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs
-ffunction-sections -march=2.0 -mschedule=8000 -nostdinc -I/opt/palinux/lib/gcc-lib/hppa64-linux/3.0.3/include -DKBUILD_BASENAME=cache -c -o cache.o cache.c hppa64-linux-gcc -D__ASSEMBLY__ -traditional -D__KERNEL__ -I/usr/src/source/linux/include -c -o pacache.o pacache.S hppa64-linux-gcc -D__KERNEL__ -I/usr/src/source/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -D__linux__ -pipe -fno-strength-reduce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs
-ffunction-sections -march=2.0 -mschedule=8000 -nostdinc -I/opt/palinux/lib/gcc-lib/hppa64-linux/3.0.3/include -DKBUILD_BASENAME=setup -c -o setup.o setup.c hppa64-linux-gcc -D__KERNEL__ -I/usr/src/source/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -D__linux__ -pipe -fno-strength-reduce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs
-ffunction-sections -march=2.0 -mschedule=8000 -nostdinc -I/opt/palinux/lib/gcc-lib/hppa64-linux/3.0.3/include -DKBUILD_BASENAME=traps -c -o traps.o traps.c traps.c:41:55: kdb/break.h: No such file or directory traps.c:42:47: kdb/kgdb_types.h: No such file or directory traps.c:43:60: kdb/save_state.h: No such file or directory traps.c:44:76: kdb/kgdb_machine.h: No such file or directory traps.c:45:53: kdb/trap.h: No such file or directory traps.c: In function `handle_break':
traps.c:264: storage size of `ssp' isn't known
traps.c:289: `KGDB_BREAK_INSN' undeclared (first use in this function) traps.c:289: (Each undeclared identifier is reported only once traps.c:289: for each function it appears in.)
traps.c:291: warning: implicit declaration of function pt_regs_to_ssp' traps.c:292: warning: implicit declaration of function kgdb_trap' traps.c:292: I_BRK_INST' undeclared (first use in this function) traps.c:293: warning: implicit declaration of function ssp_to_pt_regs' traps.c:296: `KGDB_INIT_BREAK_INSN' undeclared (first use in this function)
traps.c:264: warning: unused variable `ssp'traps.c: In function `handle_interruption':
traps.c:474: storage size of `ssp' isn't known
traps.c:614: I_TAKEN_BR' undeclared (first use in this function) traps.c:474: warning: unused variable ssp'
make[1]: *** [traps.o] Error 1
make[1]: Leaving directory `/usr/src/source/linux/arch/parisc/kernel'
make: *** [_dir_arch/parisc/kernel] Error 2
rotapile:/usr/src/source/linux# make palo
---
Robert Stanford
Robert,
I fixed this error yesterday. Try to cvs update again and recompile.
sorry for the error.
thanks,
- Ryan
Quoted 279 lines · Robert Stanford
Working from the top down in menuconfig the error happened while trying to enter character devices (more at the end)
Using,
crosscompiler xc-20020118.tar.gzon debian sid x86
---
Kernel Version 2.4.19-pa3
---
Menuconfig has encountered a possible error in one of the kernel's configuration files and is unable to continue. Here is the error report:
Q>
scripts/Menuconfig: MCmenu30: command not foundPlease report this to the maintainer <[email protected]>. You may also send a problem report to <[email protected]>.
Please indicate the kernel version you are trying to configure and which menu you were trying to enter when this error occurred.
make: *** [menuconfig] Error 1
---
.config file
CONFIG_RWSEM_GENERIC_SPINLOCK=yCONFIG_EXPERIMENTAL=yCONFIG_MODULES=yCONFIG_KMOD=yCONFIG_PA8X00=yCONFIG_PA20=yCONFIG_PARISC64=yCONFIG_SMP=yCONFIG_CHASSIS_LCD_LED=yCONFIG_KWDB=yCONFIG_IOMMU_CCIO=yCONFIG_GSC=yCONFIG_GSC_LASI=yCONFIG_GSC_WAX=yCONFIG_EISA=yCONFIG_ISA=yCONFIG_PCI=yCONFIG_GSC_DINO=yCONFIG_PCI_LBA=yCONFIG_IOSAPIC=yCONFIG_IOMMU_SBA=yCONFIG_SUPERIO=yCONFIG_PCI_NAMES=yCONFIG_HOTPLUG=yCONFIG_NET=yCONFIG_SYSVIPC=yCONFIG_SYSCTL=yCONFIG_KCORE_ELF=yCONFIG_BINFMT_ELF=yCONFIG_BINFMT_SOM=yCONFIG_PARPORT=yCONFIG_PARPORT_PC=yCONFIG_PARPORT_PC_CML1=yCONFIG_PARPORT_GSC=yCONFIG_BLK_DEV_LOOP=yCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_SIZE=4096CONFIG_BLK_DEV_INITRD=yCONFIG_MD=yCONFIG_BLK_DEV_MD=yCONFIG_MD_LINEAR=yCONFIG_MD_RAID0=yCONFIG_MD_RAID1=yCONFIG_MD_RAID5=yCONFIG_PACKET=yCONFIG_PACKET_MMAP=yCONFIG_NETLINK_DEV=yCONFIG_FILTER=yCONFIG_UNIX=yCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=yCONFIG_SCSI=yCONFIG_BLK_DEV_SD=yCONFIG_SD_EXTRA_DEVS=40CONFIG_CHR_DEV_ST=yCONFIG_BLK_DEV_SR=yCONFIG_SR_EXTRA_DEVS=2CONFIG_CHR_DEV_SG=yCONFIG_SCSI_LASI700=yCONFIG_53C700_MEM_MAPPED=yCONFIG_53C700_LE_ON_BE=yCONFIG_53C700_USE_CONSISTENT=yCONFIG_SCSI_ZALON=yCONFIG_ASK_ZALON=yCONFIG_SCSI_SYM53C8XX=yCONFIG_ASK_SYM53C8XX=yCONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32CONFIG_SCSI_NCR53C8XX_SYNC=20CONFIG_NETDEVICES=yCONFIG_NET_ETHERNET=yCONFIG_LASI_82596=yCONFIG_NET_PCI=yCONFIG_TULIP=yCONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_GSC_PS2=yCONFIG_SERIAL=yCONFIG_SERIAL_CONSOLE=yCONFIG_SERIAL_GSC=yCONFIG_EXT3_FS=yCONFIG_JBD=yCONFIG_RAMFS=yCONFIG_ISO9660_FS=yCONFIG_JOLIET=yCONFIG_PROC_FS=yCONFIG_DEVPTS_FS=yCONFIG_EXT2_FS=yCONFIG_NFS_FS=yCONFIG_NFS_V3=yCONFIG_ROOT_NFS=yCONFIG_NFSD=yCONFIG_NFSD_V3=yCONFIG_SUNRPC=yCONFIG_LOCKD=yCONFIG_LOCKD_V4=yCONFIG_MSDOS_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"CONFIG_FB=yCONFIG_DUMMY_CONSOLE=yCONFIG_FB_STI=yCONFIG_FBCON_CFB8=yCONFIG_FBCON_CFB32=yCONFIG_FBCON_STI=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=yCONFIG_STI_CONSOLE=yCONFIG_DUMMY_CONSOLE=yCONFIG_DUMMY_CONSOLE=yCONFIG_FBCON=yCONFIG_FBCON_FONT=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_FONT_6x11=y
CONFIG_FONT_SUN12x22=yCONFIG_SOUND=yCONFIG_SOUND_HARMONY=yCONFIG_MAGIC_SYSRQ=y---
---And when running xconfig and trying to save the config I get
---
Stack Trace for Error
zcan't read "
CONFIG_MTD": no such variable
while executing
"list $CONFIG_MTD"
(procedure "writeconfig" line 1992)
invoked from within
"writeconfig .configinclude/linux/autoconf.h"
invoked from within
".f0.right.save invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tkButtonUp" line 7)
invoked from within
"tkButtonUp .f0.right.save
"
(command bound to event)---
---When runing make config I get
---
Stallion multiport serial support (
CONFIG_STALDRV) [N/y/?] PDC software console support (CONFIG_PDC_CONSOLE) [Y/n/?]scripts/Configure:drivers/char/Config.in: line 121: syntax error near unexpected token `fi'scripts/Configure:drivers/char/Config.in: line 121: `fi'
*
HIL support
*
*
* Input support needed for HIL support
*
*
* Multimedia devices
*
Video For Linux (CONFIG_VIDEO_DEV) [N/y/m/?]and it continues ok and seems to save a complete .config
---
---make palo
gives---
make[1]: Leaving directory `/usr/src/source/linux/arch/parisc/tools' make CFLAGS="-D__KERNEL__ -I/usr/src/source/linux/include -Wall
(quoted diff) +0
-4-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -D__linux__ -pipe -fno-strength-reduce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=2.0 -mschedule=8000 " -C arch/parisc/kernelmake[1]: Entering directory `/usr/src/source/linux/arch/parisc/kernel' hppa64-linux-gcc -D__KERNEL__ -I/usr/src/source/linux/include -Wall
(quoted diff) +0
-4-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -D__linux__ -pipe -fno-strength-reduce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=2.0 -mschedule=8000 -nostdinc -I
/opt/palinux/lib/gcc-lib/hppa64-linux/3.0.3/include-DKBUILD_BASENAME=cache -c -o cache.ocache.chppa64-linux-gcc -D__ASSEMBLY__ -traditional -D__KERNEL__ -I/usr/src/source/linux/include -c -o pacache.opacache.Shppa64-linux-gcc -D__KERNEL__ -I/usr/src/source/linux/include -Wall(quoted diff) +0
-4-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -D__linux__ -pipe -fno-strength-reduce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=2.0 -mschedule=8000 -nostdinc -I
/opt/palinux/lib/gcc-lib/hppa64-linux/3.0.3/include-DKBUILD_BASENAME=setup -c -o setup.osetup.chppa64-linux-gcc -D__KERNEL__ -I/usr/src/source/linux/include -Wall(quoted diff) +0
-4-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -D__linux__ -pipe -fno-strength-reduce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=2.0 -mschedule=8000 -nostdinc -I
/opt/palinux/lib/gcc-lib/hppa64-linux/3.0.3/include-DKBUILD_BASENAME=traps -c -o traps.otraps.ctraps.c:41:55:kdb/break.h: No such file or directory traps.c:42:47:kdb/kgdb_types.h: No such file or directory traps.c:43:60:kdb/save_state.h: No such file or directory traps.c:44:76:kdb/kgdb_machine.h: No such file or directory traps.c:45:53:kdb/trap.h: No such file or directorytraps.c: In function `handle_break':
traps.c:264: storage size of `ssp' isn't known
traps.c:289: `KGDB_BREAK_INSN' undeclared (first use in this function) traps.c:289: (Each undeclared identifier is reported only once traps.c:289: for each function it appears in.)
traps.c:291: warning: implicit declaration of functionpt_regs_to_ssp' traps.c:292: warning: implicit declaration of functionkgdb_trap' traps.c:292:I_BRK_INST' undeclared (first use in this function) traps.c:293: warning: implicit declaration of functionssp_to_pt_regs' traps.c:296: `KGDB_INIT_BREAK_INSN' undeclared (first use in this function)
traps.c:264: warning: unused variable `ssp'traps.c: In function `handle_interruption':
traps.c:474: storage size of `ssp' isn't known
traps.c:614:I_TAKEN_BR' undeclared (first use in this function) traps.c:474: warning: unused variablessp'
make[1]: *** [traps.o] Error 1
make[1]: Leaving directory `/usr/src/source/linux/arch/parisc/kernel'
make: *** [_dir_arch/parisc/kernel] Error 2rotapile:/usr/src/source/linux# make palo---
Robert Stanford
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux