From: Carla Newsgroups: comp.os.msdos.djgpp Subject: Re: Multiple-file problem Date: Fri, 28 Mar 1997 18:19:26 -0800 Organization: Uniserve Lines: 12 Message-ID: <333C7C2E.509F@geocities.com> References: <333C3C43 DOT 7216 AT geocities DOT com> Reply-To: carla AT uniserve DOT com NNTP-Posting-Host: dy2-30.van.tvs.net 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 Deltaman wrote: > when I links it I get the error messages: > > mainprog.c(a number) Error: multiple definition of > somefunc.c(same number) Error: first defined here > > This happens with all functions (even main) in 'mainprog.c'. What should > I do to make it work? Try using the command line. If that works watch the status window in RHIDE wen you link and see if RHIDE is includeing an object file twice. It's happened to me. Why? still trying to find out.