Xref: news2.mv.net comp.os.msdos.djgpp:5825 From: lolo Newsgroups: comp.os.msdos.djgpp Subject: grx20, other question Date: Wed, 10 Jul 1996 10:15:26 +0200 Organization: Ecole Polytechnique Federale de Lausanne Lines: 17 Message-ID: <31E3669E.6CC8@einev0.einev.ch> NNTP-Posting-Host: sicra009.epfl.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Hello I've unzipped grx20 in my DJGPP directory and done a MAKE. No problem. The news paths (INCLUDE and LIB) are correctly set in DJGPP.INV. The problem : When I use a grx fonction(for ex: GrSetMode) in my source and compile it I get a message of "undefined reference to 'GrSetMode'" But when I give a "gcc myprog.c .../grx20/lib/libgrx20.a" it's compile fine and my .EXE is working. The questions : Why must I give the path and name of the library to use it. And if it's right so, what is the role of the path to the grx library in my DJGPP.ENV Thanks.