From: Robert Hoehne 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: NNTP-Posting-Host: wega.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 * *****************************************************************