This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Linux 6.2 Problem
- To: "Robert Nail" <robert dot nail at entact dot net>
- Subject: Re: Linux 6.2 Problem
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 24 Oct 2000 17:06:09 -0200
- Cc: <gcc-help at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <001701c03de1$91693120$02c44720@ENTACTNAIL>
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