Linux 6.2 Problem

Alexandre Oliva aoliva@redhat.com
Tue Oct 24 12:06:00 GMT 2000


On Oct 24, 2000, "Robert Nail" <robert.nail@entact.net> wrote:

> I am having a problem with compiling a program on Linux 6.2,  The error I receive is:

> /usr/lib/crt1.o    undefined reference to main:

This means your program failed to define the main() function.  Maybe
you meant to just compile, not link?  In this case, use `-c'.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


More information about the Gcc-help mailing list