delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/26/14:26:32

Sender: root AT delorie DOT com
Message-ID: <392EC666.9CADF1DD@inti.gov.ar>
Date: Fri, 26 May 2000 15:45:58 -0300
From: salvador <salvador AT inti DOT gov DOT ar>
Organization: INTI
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.0.38 i686)
X-Accept-Language: es-AR, en, es
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: RHIDE & DISLIN
References: <8glhfn$lka$1 AT saphir DOT jouy DOT inra DOT fr> <392E916B DOT 4BFB2C36 AT inti DOT gov DOT ar> <8gm6id$rm7$1 AT saphir DOT jouy DOT inra DOT fr>
Reply-To: djgpp AT delorie DOT com

Eric Wajnberg wrote:

> Thanks, this is what I've done already but a "run" (ie, Ctrl-F9) leads to a
> whole bunch of lines in the message window. All those lines are like this:
>
> [....blah..] undefined reference to 'GrFilledBoxNC'
>
> I have a hundred of lines like this.
>
> Outside RHIDE, I repeat, everything works OK.
>
> Also, I obtain the same problem if I copy the two libraries is the project
> directory.
>
> Weird!

Not so much. If the libraries are added to the project then they are sorted by name
so I guess you have:
disgrx.a
dislnc.a
test.c

If that's the case then the problem is that dislnc used code from disgrx and they
are in the reverse order (ld is a one pass compiler :-(
Solution:
Rename the files to: libdlnc.a and libdgrx.a then put them in Options|Libraries but
putting:

[X]  dlnc
[X]  dgrx

Be sure both check boxes are checked and don't put the .a nor the lib prefix.

SET

--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
                    set AT ieee DOT org set-soft AT bigfoot DOT com
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013



- Raw text -


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