Mail Archives: djgpp/2000/06/19/10:06:09
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.
- Raw text -