UNIX-LINUX C语言编程->异常收集->undefined reference to `main'
问题:
/usr/lib/gcc/i686-linux-gnu/4.4.5/http://www.cnblogs.com/http://www.cnblogs.com/lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
解决:
你的文件里找不到main函数,可能是main打错了