[LCP]gcc problems

Dilli Rajesh Kumar drajesh at pune.tcs.co.in
Tue Dec 18 15:51:16 UTC 2001


Make sure you have your main function does'nt lie within any function.

Regards
DRajesh
  ----- Original Message ----- 
  From: KIRAN 
  To: linuxcprogramming at lists.linux.org.au 
  Sent: Tuesday, December 18, 2001 12:35 AM
  Subject: [LCP]gcc problems


  hello,
              I am getting these errors while compiling my c program what has gone wrong .pls instruct me
  /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function `_start':
  /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): undefined reference to `main'

  Waiting for reply ,thanks in advance
                                                            kiran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux.org.au/pipermail/linuxcprogramming/attachments/20011218/e9abe87a/attachment.htm 


More information about the linuxCprogramming mailing list