www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/26/19:01:34

From: michael DOT mauch AT gmx DOT de (Michael Mauch)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem with make
Date: Sat, 25 Jul 1998 07:01:33 +0200
Organization: Gerhard-Mercator-Universitaet -GH- Duisburg
Lines: 28
Message-ID: <6pboog$n9d$1@news-hrz.uni-duisburg.de>
References: <Pine DOT OSF DOT 3 DOT 96 DOT 980723213043 DOT 15169A-100000 AT wpi DOT WPI DOT EDU>
NNTP-Posting-Host: ppp89.uni-duisburg.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Thu, 23 Jul 1998 21:44:06 -0400, Alexander S Ingram <ingram AT wpi DOT edu>
wrote:

> I just downloaded all the files that the zip picker specified on
> www.delorie.com. I figured the first thing i would do would be to complie
> and run one of the test files.Using Rhide, I try to compile the file
> d:/djgpp/test/test.c and get no errors however when I try to make the file
> I get a bunch of error of errors like
> circtest.c (23) Error:undefined reference to 'GrPlot'
> 					     'GrSetMode'
> 					     'GrFilledBox'
> And a  few others, I have not been able to find where these functions are
> declared. Any suggestions??

These functions are in the GRX package, so you have to link in the
libgrx20.a library. RHIDE doesn't do this by default, because you only
need it for graphics things. Go to Options->Libraries and put "grx20"
(without the quotes) into the first line and enable this line by putting
an [X] before it. If you do so, RHIDE will append a -lgrx20 to the gcc
command line, so gcc will try to link in the libgrx20.a. If gcc still
can't find the library, locate your copy of libgrx20.a and put it into
your djgpp/lib directory where all the other libraries are.

Regards...
		Michael

P.S.: The subject you chose is a bit misleading, because there's a
separate program called "make".

- Raw text -


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