X-Originating-IP: [200.34.143.5] From: "J. L." To: "Patrick Chen" Cc: Subject: Fw: DJCPP linking errors. Date: Wed, 10 Jul 2002 11:18:49 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: X-OriginalArrivalTime: 10 Jul 2002 16:18:44.0907 (UTC) FILETIME=[76A6AFB0:01C2282D] Reply-To: djgpp AT delorie DOT com ----- Original Message ----- From: "J. L." To: "Patrick Chen" Cc: Sent: Wednesday, July 10, 2002 10:30 AM Subject: Re: DJCPP linking errors. > ----- Original Message ----- > From: "Patrick Chen" > To: > Sent: Tuesday, July 09, 2002 8:12 PM > Subject: DJCPP linking errors. > > > > Hello J.L., > > I am using RHIDE. The files are entered as ADD items in project > > DrawCircle.gpr. > > First I compile: draw_plot.c : No error > > then compile: DrawCircle.c : No error > > Link: drawcircle.c draw_plot.c: Errors: Multiple definitions of > "function > > names" > > Hope you can help in resolving this problem. > > Enclosed are the files. > > > > Thank You, > > > > Patrick Chen > > > > The solution is simple: Drop the file draw_plot.h from the project, and you > see that all works fine. > A common error is add *.o files in project. This cause the "Error: Multiple definitions" message in RHIDE. Lesser common, but ocurrs, is add *.h files in project. And, please, try to include complete info in yours posts. This could be more helpful for you and us. Regards J. L.