Date: Mon, 19 Jun 2000 17:05:19 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Couperin cc: djgpp AT delorie DOT com Subject: Re: GRX23 configuration : help needed In-Reply-To: <394b9277.6362721@news.free.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 17 Jun 2000, Couperin wrote: > But... I'm still having linking problems with BCC2GRX and BGI2GRX. I > spend a long time wandering through FAQs and Info files, and trying to > change parameters in my configuration (I restored the djgpp.djl file > in DJGPP\lib\, because it seems I need it) : > no results ! > > I can compile all the BCC2GRX demo files except one : bccbgi.c : > > My command : gcc -o bccbgi.exe bccbgi.c -lbcc2 -lgrx20 > The result : > c:/djgpp/tmp\cccyfwgg(.text+0x656):bccbgi.c: undefined reference to > `setrgbdefaults' > c:/djgpp/tmp\cccyfwgg(.text+0x19e6):bccbgi.c: undefined reference to > `_ega_color' When everything else fails, use Grep! The solution was found in the file src/CHANGES in the BCC2GRX distro. It looks like these functions were moved into separate modules, which are bydefault not compiled into libbcc2.a. See the directory test/addons in the distribution.