【未解决】(.text+0x20): undefined reference to `main‘

我就加了一句printf
咋就是这样了呢?


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

你可能感兴趣的:(【未解决】(.text+0x20): undefined reference to `main‘)