-1
Undefined symbols for architecture arm64:
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
dhanushn@ELON DS PROGRAM % 

can anybody pls help me to solve this problem? my program was running well but suddenly now its not compiling

TECH_WIZ
  • 1
  • 2
  • The linker did not find a definition of the `main` function. Do you *have* a `main` function (and it somehow did not end up in the binary), or did you forget to define one? Also, [Q: What is an undefined reference/unresolved external symbol error and how do I fix it?](https://stackoverflow.com/questions/12573816). – DevSolar Apr 07 '22 at 06:30

1 Answers1

-1

It may be that the content in the editor has not been saved

Jsong
  • 1
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Feb 09 '22 at 09:41
  • Also a pretty long shot, given what little information is in the question... – DevSolar Apr 07 '22 at 06:33