cancel
Showing results for 
Search instead for 
Did you mean: 

make: *** [makefile:82: STM32f746.elf] Error 1

JKhan.1827
Associate II

Hi every one

When i build project in the STMcubeIDE i have this error :

make: *** [makefile:82: STM32f746.elf] Error 1

what is my problem?

5 REPLIES 5
KnarfB
Principal III

look at line line above: ld returned 1 exit status. There is an error while linking. The line above is not entirely visible. Typicall causes: RAM/Flash overflow, missing/wrong libraries,...

hth

KnarfB

Thanks for your guidance.

HGök.1
Associate II

create a new stm32 Discovery Project and create a Hello main.main c file.I turned it into cpp. Then when I add C library make file:: 80 ....elf error returned 1 error.even though I removed the library, the error was not removed, did you solve it ?

If you create a new STM32 project, select Target Language C++ for it, and rename main.c to main.cpp, it will link and run without errors. "error 1" says not n´much. read and understand the textual output of the linker.

How you resolved this error??