What the kconfig's version is suitable for px4's menuconfig building?

I get menuconfig building errors after I reinstalled everything of px4. The very same code can be built successfully before. So I am sure the issue comes from the kconfig’s installation. I wanna know what’s the proper version of kconfig? Mine is kconfiglib-14.1.0.

here is the errors:

PX4-Autopilot % make px4_fmu-v5_default menuconfig

[0/2] Running NuttX make menuconfig for nsh

CP: arch/dummy/Kconfig to /Users/kevindsp/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/arch/dummy/dummy_kconfig

CP: boards/dummy/Kconfig to /Users/kevindsp/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/../../../../boards/px4/fmu-v5/nuttx-config/Kconfig

LN: platform/board to /Users/kevindsp/PX4-Autopilot/platforms/nuttx/NuttX/apps/platform/dummy

LN: include/arch to arch/arm/include

LN: include/arch/board to /Users/kevindsp/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/../../../../boards/px4/fmu-v5/nuttx-config/include

LN: drivers/platform to /Users/kevindsp/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/drivers/dummy

LN: include/arch/chip to /Users/kevindsp/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/arch/arm/include/stm32f7

LN: arch/arm/src/chip to /Users/kevindsp/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/arch/arm/src/stm32f7

LN: arch/arm/src/board to /Users/kevindsp/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/../../../../boards/px4/fmu-v5/nuttx-config/src

arch/arm/src/imxrt/Kconfig:1806: syntax error

arch/arm/src/imxrt/Kconfig:1805: invalid option

arch/arm/src/rp2040/Kconfig:303: syntax error

arch/arm/src/rp2040/Kconfig:295: missing end statement for this entry

arch/arm/src/rp2040/Kconfig:269: missing end statement for this entry

arch/arm/Kconfig:1250: missing end statement for this entry

arch/arm/Kconfig:7: missing end statement for this entry

Kconfig:1993: missing end statement for this entry

arch/arm/src/rp2040/Kconfig:302: invalid statement

arch/arm/src/rp2040/Kconfig:311: unexpected end statement

arch/arm/src/rp2040/Kconfig:317: unexpected end statement

arch/arm/src/rp2040/Kconfig:336: syntax error

arch/arm/src/rp2040/Kconfig:328: missing end statement for this entry

arch/arm/src/rp2040/Kconfig:335: invalid statement

arch/arm/src/rp2040/Kconfig:344: unexpected end statement

arch/arm/src/rp2040/Kconfig:350: unexpected end statement

arch/arm/src/rp2040/Kconfig:369: syntax error

arch/arm/src/rp2040/Kconfig:361: missing end statement for this entry

arch/arm/src/rp2040/Kconfig:368: invalid statement

arch/arm/src/rp2040/Kconfig:377: unexpected end statement

arch/arm/src/rp2040/Kconfig:383: unexpected end statement

arch/arm/src/rp2040/Kconfig:404: syntax error

arch/arm/src/rp2040/Kconfig:394: missing end statement for this entry

arch/arm/src/rp2040/Kconfig:403: invalid statement

arch/arm/src/rp2040/Kconfig:412: unexpected end statement

arch/arm/src/rp2040/Kconfig:418: unexpected end statement

arch/arm/src/rp2040/Kconfig:437: syntax error

arch/arm/src/rp2040/Kconfig:429: missing end statement for this entry

arch/arm/src/rp2040/Kconfig:436: invalid statement

arch/arm/src/rp2040/Kconfig:445: unexpected end statement

arch/arm/src/rp2040/Kconfig:451: unexpected end statement

arch/arm/src/rp2040/Kconfig:470: syntax error

arch/arm/src/rp2040/Kconfig:462: missing end statement for this entry

arch/arm/src/rp2040/Kconfig:469: invalid statement

arch/arm/src/rp2040/Kconfig:478: unexpected end statement

arch/arm/src/rp2040/Kconfig:484: unexpected end statement

arch/arm/src/rp2040/Kconfig:503: syntax error

arch/arm/src/rp2040/Kconfig:495: missing end statement for this entry

arch/arm/src/rp2040/Kconfig:502: invalid statement

arch/arm/src/rp2040/Kconfig:511: unexpected end statement

arch/arm/src/rp2040/Kconfig:517: unexpected end statement

arch/arm/src/rp2040/Kconfig:536: syntax error

arch/arm/src/rp2040/Kconfig:528: missing end statement for this entry

arch/arm/src/rp2040/Kconfig:535: invalid statement

arch/arm/src/rp2040/Kconfig:546: unexpected end statement

arch/arm/src/rp2040/Kconfig:552: unexpected end statement

arch/arm/src/rp2040/Kconfig:554: unexpected end statement

arch/arm/Kconfig:1251: unexpected end statement

arch/arm/src/stm32l4/Kconfig:5382: syntax error

arch/arm/src/stm32l4/Kconfig:5331: missing end statement for this entry

arch/arm/src/stm32l4/Kconfig:5199: missing end statement for this entry

arch/arm/src/stm32l4/Kconfig:8: missing end statement for this entry

arch/arm/Kconfig:1280: missing end statement for this entry

arch/arm/src/stm32l4/Kconfig:5381: invalid statement

arch/arm/src/stm32l4/Kconfig:5391: unexpected end statement

arch/arm/src/stm32l4/Kconfig:5394: syntax error

arch/arm/src/stm32l4/Kconfig:5393: invalid statement

arch/arm/src/stm32l4/Kconfig:5403: unexpected end statement

arch/arm/src/stm32l4/Kconfig:5406: syntax error

arch/arm/src/stm32l4/Kconfig:5405: invalid statement

arch/arm/src/stm32l4/Kconfig:5415: unexpected end statement

arch/arm/src/stm32l4/Kconfig:5417: unexpected end statement

arch/arm/src/stm32l4/Kconfig:5419: unexpected end statement

arch/arm/src/stm32l4/Kconfig:6294: unexpected end statement

..........

Did you install the Python packages?

Ofcourse. Or it can’t even compile the firmware with command “make px4_fmu-v5_default upload” successfully.

I don’t know why the menuconfig compiling fails since the very same code can work on the system I used before. It seems like that it is the issue about version. However I have tried kconfiglib from 10.0.0 to 13.0.0. They all fail. So do you know who’s the maintainer for this part? Maybe he knows.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.