www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/24/13:00:52

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [q] Help with undefined reference in main?
Date: Wed, 24 Sep 1997 13:03:16 +0200
Organization: TU Chemnitz-Zwickau
Lines: 19
Message-ID: <3428F374.6D08AE7F@Mathematik.TU-Chemnitz.DE>
References: <daniel_t-2309972348330001 AT 10 DOT 0 DOT 2 DOT 15>
NNTP-Posting-Host: wega.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Daniel T. wrote:
> 
> I have main defined as "void main(void)"... maybe that's the problem? But
Even when this is not correct, this is not the problem.

> when I made my object file (using the -Wall switch) I didn't get any
> errors at all...
ARe you sure that you selectd only -Wall?? Please post here the exact
commandline you used to compile and also the source file (strip it
down to smallest example!).

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


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