Skip to main content
BRich.1
Associate II
May 7, 2020
Question

Keep getting error ""make -j12 all" terminated with exit code 2. Build might be incomplete"

  • May 7, 2020
  • 11 replies
  • 6112 views

Keep getting this error after compiling a new project that only contains one header file. I'm using STM32CubeIDE version 1.3.0 on Linux Ubuntu. I try to use clean project and it cleans it only for this same error to re-appear when starting up the debugging. How do I get around this error?

Full error description:

make: *** [makefile:43: STM32F446RE_Drivers.elf] Error 1

"make -j12 all" terminated with exit code 2. Build might be incomplete.

This topic has been closed for replies.

11 replies

waclawek.jan
Super User
May 8, 2020

>> ....main.o uses VFP register arguments, STM32F446RE_Drivers.elf does not

> This looks weird too. Check that options for compiler match options for linker (floating point type....)

OP may want to try to combine  -mfloat-abi=hard with -mfpu=fpv4-sp-d16

JW