Skip to main content
debugging
Lead
Sep 28, 2019 15:01 UTC
Solved

STM32MP1DK2: Developer package - Linux build - error

make ARCH=arm O="$PWD/../build" multi_v7_defconfig fragment*.config

make[1]: Entering directory '<path>/Developer-Package/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/build'

 GEN    ./Makefile

#

# configuration written to .config

#

 GEN    ./Makefile

<path>/Developer-Package/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.9/scripts/kconfig/Makefile:109: *** No configuration exists for this target on this architecture. Stop.

make[2]: *** [<path>/Developer-Package/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.9/Makefile:539: fragment*.config] Error 2

make[1]: *** [<apth>K/Developer-Package/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.9/Makefile:286: __build_one_by_one] Error 2

make[1]: Leaving directory '<path>/Developer-Package/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/build'

make: *** [Makefile:146: sub-make] Error 2

This topic has been closed for replies.
debugging
debuggingBest answer
Lead
Aug 11, 2024 15:18 UTC

Made own build scripts and discarded all ST created ones. Now working great for custom boards..

2 replies

debugging
debuggingAuthor
Lead
Sep 29, 2019 12:15 UTC

Started from scratch. got Bluetooth errror used make menuconfig to disable Bluetooth and ave to .config, started build again but now got at

make ARCH=arm modules O="$PWD/../build"

<path>/Developer-Package/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.9/net/batman-adv/netlink.c:663:1: internal compiler error: Segmentation fault

 }

 ^

Please submit a full bug report,

with preprocessed source if appropriate. 

debugging
debuggingAuthorBest answer
Lead
Aug 11, 2024 15:18 UTC

Made own build scripts and discarded all ST created ones. Now working great for custom boards..