/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: ld returne

用linux编程,当编译时出现这样的错误

/usr/lib/gcc/i686-linux-gnu/4.6/http://www.cnblogs.com/../i386-linux-gnu/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status

最可能的原因是main拼写错误

posted on 2012-11-12 19:31  qiaoshanzi  阅读(4141)  评论(0编辑  收藏  举报

导航