Skip to main content
JKhan.1827
Associate II
January 28, 2020
Question

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

  • January 28, 2020
  • 2 replies
  • 10620 views

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?

This topic has been closed for replies.

2 replies

KnarfB
Super User
January 29, 2020

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

JKhan.1827
Associate II
January 29, 2020

Thanks for your guidance.

VBhat.2
Visitor II
August 30, 2022

How you resolved this error??

HGök.1
Associate
August 20, 2021

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 ?

KnarfB
Super User
August 31, 2021

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.