This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Erreur crt1.o avec g++


On Jan 19, 2003, "Bechir Bouzakher" <Bechir.Bouzakher@ipeim.rnu.tn> wrote:

> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../crt1.o(.text+0x18): undefined reference to `main'

Looks like your program doesn't define a function named main() nor
main(int,char*[]).  Maybe you didn't mean to link, just to compile
(-c)?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]