delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/10/12:22:15

X-Originating-IP: [200.34.143.5]
From: "J. L." <jlsgarrido AT hotmail DOT com>
To: "Patrick Chen" <pck66 AT pd DOT jaring DOT my>
Cc: <djgpp AT delorie DOT com>
Subject: Fw: DJCPP linking errors.
Date: Wed, 10 Jul 2002 11:18:49 -0500
MIME-Version: 1.0
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: <OE753E1ioWwr2UAaTzv000065e3@hotmail.com>
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." <jlsgarrido AT hotmail DOT com>
To: "Patrick Chen" <pck66 AT pd DOT jaring DOT my>
Cc: <djpp AT delorie DOT com>
Sent: Wednesday, July 10, 2002 10:30 AM
Subject: Re: DJCPP linking errors.


> ----- Original Message -----
> From: "Patrick Chen" <pck66 AT pd DOT jaring DOT my>
> To: <jlsgarrido AT hotmail DOT com>
> 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019