Mail Archives: djgpp/2000/05/26/14:26:32
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 -