Skip to main content
Associate II
April 4, 2025
Question

"make -j8 all" terminated with exit code -1

  • April 4, 2025
  • 2 replies
  • 718 views

Hi,

I am trying to build on STM32Cube IDE, it is showing that "make -j8 all" terminated with exit code -1. Build might be incomplete. Then while trying to flash or debug it is not working.

 

I tried to  disable parallel build, but still this issue I am facing. But still the same issue.

I have attached the screenshot of the build output console for an example code.

 

Bsm01_0-1743739701516.png

 

Currently I am using this for STM32F429ZI-DISC1 board.

Could you please support here, if I am missing something for which this build issue is appearing.

 

Thank you for your support.

2 replies

Ozone
Principal
April 4, 2025

Can you enable full console output, or the run make from a command line ?
I suppose you will find more detailed error messages there.


And probably without the "-j8" option, or add '--output-sync' to have the outputs synchronized.

Bsm01Author
Associate II
April 8, 2025

From the command line I tried running, but shows as "'make' is not recognized as an internal or external command,
operable program or batch file".

 

Tried without the "-j8" option, and adding '--output-sync' , 

but getting the same output as ""make --output-sync all" terminated with exit code -1. Build might be incomplete." 

Ozone
Principal
April 9, 2025

My point was to get ALL the console outputs, not just the summary.
And second, synchonized output is easier to read, but not essential in this case.

To do that, you might need to dig deeper into the documentation of your toolcain / IDE.
One of the reasons I personally do not use Cube.