GCC compile err ??

bbaa aaa mccrh at hotmail.com
Wed May 12 19:42:47 UTC 2004


We have Redhar As 2.1 update3.  I tried to use "gcc" to compile a simple C 
program and have error.  Does anyone know why?

Thanks.

%gcc shell.c
/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'
collect2: ld returned 1 exit status

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail





More information about the redhat-list mailing list