From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: Weird linking errors (long) Date: Wed, 26 Mar 1997 11:36:41 +0100 Organization: TU Chemnitz-Zwickau Lines: 32 Message-ID: <3338FC39.50BD@Mathematik.tu-chemnitz.de> References: <333817FA DOT 77BB AT erols DOT com> NNTP-Posting-Host: env.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 Scarius wrote: > > This morning (Tuesday, the 25th), my latest project stopped linking. All > the files in the project compile okay, but when it starts to create the > exe, thousands of bugs appear. The first 2 errors are something like: > "could not find entry point, substituing (some hex address)" > "undefined function "__main" in grass.c" <- grass.c being the main source > code file, with main() in it. Please use the RHIDE bug report and post the generated file here, because it contains many usefull information for us to help you. At this time I can guess only, that there is something wrong with your 'djgpp.djl' and/or 'specs' file. In addition to the above you can run also RHIDE with the '-dc' switch to get the exact commandlines how RHIDE calls the compiler/linker. redir -e err rhide -dc YOUR_PROJECT and then post here also the file 'err' (of course after you did the link stage). 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 * *****************************************************************