delorie.com/archives/browse.cgi | search |
From: | Carla <carla AT uniserve DOT com> |
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 |
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 <function> > 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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |