2025-12-08 1:02 PM
Hello,
I'm trying to modify STM32MP157x-DK2 kernel so that it would use ST ethernet drivers (dwmac-stm32.ko, stmmac.ko et al.) as modules (like on stm32mp257f board we have) and not be included into the kernel uImage. I'm using latest v.25.08.27 package and instructions for building and modifying kernel, and uImage and its default modules are built fine. But when I try to use make menuconfig to modify build configuration, I receive the following errors:
make menuconfig
GEN Makefile
HOSTLD scripts/kconfig/mconf
/home/###/workspace/DeveloperPackage/SDK_MP1/sysroots/x86_64-ostl_sdk-linux/usr/lib/gcc/x86_64-ostl_sdk-linux/13.3.0/../../../../x86_64-ostl_sdk-linux/bin/ld: scripts/kconfig/mconf.o: in function `show_help':
mconf.c:(.text+0x87a): undefined reference to `stdscr'
/home/###/workspace/DeveloperPackage/SDK_MP1/sysroots/x86_64-ostl_sdk-linux/usr/lib/gcc/x86_64-ostl_sdk-linux/13.3.0/../../../../x86_64-ostl_sdk-linux/bin/ld: scripts/kconfig/lxdialog/checklist.o: in function `print_arrows':
checklist.c:(.text+0x2c): undefined reference to `wmove'
.................
I check and all recommended libraries and packages are installed. Previously when I modified kernel configuration for STM32MP2-157F board, I didn't have such problem.
Please advise how this issue could be resolved.
Thank you.