delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/03/10:15:35

Message-ID: <19990603131746.99779.qmail@hotmail.com>
X-Originating-IP: [204.134.208.35]
From: Frank Bean <rizim AT hotmail DOT com>
To: djgpp AT delorie DOT com
Subject: A Linking problem
Date: Thu, 03 Jun 1999 13:17:45 GMT
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Hello,
I am have a bit of trouble linking my *.o files. I am trying to port a mud 
to run at dos. The *.c files compile fine, but when I type "gcc -o 
filename.exe *.o" I get a long list of things that say undefined reference, 
and it seems to be all of the functions. At the end of the linking process 
there is a message....

"c:\djgpp\lib\libc.a(crt1.o)(.text+0x446):crt1.c:undefined reference to 
'main'.

Any help would do a lot of good....

thank you very much!!


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019