In function `_start' undefined reference to `main' error: ld returned 1 exit status

                                     粉丝不w

/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status

 注意main是不是写错了,或者 return 写错误

一定不要粗心·,哈哈哈哈

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-29
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-11
  • 2021-11-13
  • 2022-12-23
相关资源
相似解决方案