cancel
Showing results for 
Search instead for 
Did you mean: 

Build terminate with exit code -1.

demir
Senior II

Hi All,

I compiled my code, no error no warning, but I get this code below. Also, when I try to run the code, it is not uploaded to the board.

Could you pls check for me ?

 

**** Incremental Build of configuration Debug for project Boot ****

make -j8 all

arm-none-eabi-size Boot.elf

text data bss dec hex filename

31800 404 8420 40624 9eb0 Boot.elf

Finished building: default.size.stdout

 

"make -j8 all" terminated with exit code -1. Build might be incomplete.

 

 

4 REPLIES 4

It looks like it thinks there's nothing to build.

Try doing a 'Clean' first:

AndrewNeil_1-1706712828037.png 

 

AndrewNeil_2-1706712856547.png

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
demir
Senior II

Thanks for the reply.

I did what you suggested, please see the attachment first. Then, I performed build but I still get the same error as in the second attachment.

Is there a solution already? I ran into the same Problems and my Environment seems to be illformed, whereas other PC's are able to Execute the same binaries....

Bsm01
Associate II

Hi @demir ,

I am getting the same error while clean build and incremental build as well.

 

I am getting the below error & the STM32  DISC1 board is not getting flashed.

During flashing it is getting stuck after 52%. 

"make -j8 all" terminated with exit code -1. Build might be incomplete.

 

I tried removing parallel build as well, but still same issue.

 

But the same board same environment working fine for me, few months back.

Please let me know, if you got any solution.

 

Thank You..