2020-11-12 02:39 PM
Hello,
I tried to apply the step by step "Modify, rebuild and reload the Linux® kernel" form wiki.st .
Everything works fine from the first step of the "Getting started " until i uncoutered the error bellow.
Unfortunately i am a complete beginner on these tools and don't understand whats happen.
Thank you by advance for any help.
@PC:~/STM32MPU_workspace/STM32MP15-Ecosystem-v2.0.0/Developer-Package/stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.4.31-r0/linux-5.4.31$ make ARCH=arm multi_v7_defconfig "fragment*.config"
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
/bin/sh: 1: flex: not found
scripts/Makefile.host:9: recipe for target 'scripts/kconfig/lexer.lex.c' failed
make[2]: *** [scripts/kconfig/lexer.lex.c] Error 127
Makefile:567: recipe for target 'multi_v7_defconfig' failed
make[1]: *** [multi_v7_defconfig] Error 2
Makefile:326: recipe for target '__build_one_by_one' failed
make: *** [__build_one_by_one] Error 2
Solved! Go to Solution.
2021-06-22 07:15 AM
Did you manage to solve the problem?
2021-06-23 07:00 AM
This part of modifying the kernel did not work, so I decided to ignore it.
2021-06-24 01:32 AM
@MSele.1 How did you solve the problem with "xargs: unrecognized option --strip-debug"? I just increased the size of the rootfs partition and loaded all the kernel modules without reducing their size. It works, but it doesn't seem to be the best solution.